@bigtablet/design-system 3.30.2 → 3.31.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/README.md +2 -2
- package/dist/index.css +569 -222
- package/dist/index.d.ts +388 -10
- package/dist/index.js +968 -385
- package/dist/styles/a11y/_index.scss +9 -0
- package/docs/AGENT_GUIDE.md +12 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -80,6 +80,47 @@ type PolymorphicRef<T extends React$1.ElementType> = React$1.ComponentPropsWithR
|
|
|
80
80
|
*/
|
|
81
81
|
type SafeHTMLProps<P> = Omit<P, "dangerouslySetInnerHTML">;
|
|
82
82
|
|
|
83
|
+
/**
|
|
84
|
+
* 텍스트를 클립보드에 쓴다. 실패하면 reject.
|
|
85
|
+
*
|
|
86
|
+
* 1. `navigator.clipboard.writeText` - 보안 컨텍스트(HTTPS · localhost)에서만 있다.
|
|
87
|
+
* 2. 폴백 `document.execCommand("copy")` - 인앱 브라우저 · HTTP 사내망처럼 Clipboard API 가 없거나
|
|
88
|
+
* 거부될 때. deprecated 지만 아직 이 경로밖에 없는 환경이 있다. 임시 textarea 를 쓰고 원래
|
|
89
|
+
* 선택 영역과 포커스를 되돌린다 - 안 그러면 사용자가 잡아 둔 선택이 사라진다.
|
|
90
|
+
*/
|
|
91
|
+
declare function copyText(text: string): Promise<void>;
|
|
92
|
+
type ClipboardStatus = "idle" | "copying" | "copied" | "error";
|
|
93
|
+
interface UseClipboardOptions {
|
|
94
|
+
/** `copied`·`error` 를 `idle` 로 되돌리기까지(ms). 0 이면 되돌리지 않는다 (기본값: 2000) */
|
|
95
|
+
resetAfter?: number;
|
|
96
|
+
/** 성공할 때마다 - 복사한 텍스트를 받는다 */
|
|
97
|
+
onCopy?: (text: string) => void;
|
|
98
|
+
/**
|
|
99
|
+
* 실패할 때마다 (권한 거부 · API 없음 · 폴백 실패 · 함수 text 의 throw). 같은 오류가 연달아
|
|
100
|
+
* 나도 매번 불린다 - 상태(`error`)를 effect 로 지켜보면 값이 같아 두 번째를 놓친다.
|
|
101
|
+
*/
|
|
102
|
+
onError?: (error: unknown) => void;
|
|
103
|
+
}
|
|
104
|
+
interface UseClipboardResult {
|
|
105
|
+
/**
|
|
106
|
+
* 복사 - 성공하면 true. 실패해도 throw 하지 않는다 (`status`·`error` 로 본다).
|
|
107
|
+
* 함수를 주면 그 자리에서 계산하고, 그 함수가 throw 해도 실패(`error`)로 처리한다.
|
|
108
|
+
*/
|
|
109
|
+
copy: (text: string | (() => string)) => Promise<boolean>;
|
|
110
|
+
status: ClipboardStatus;
|
|
111
|
+
/** 마지막 실패의 원인 (`NotAllowedError` 등) */
|
|
112
|
+
error: unknown;
|
|
113
|
+
/** 즉시 `idle` 로 */
|
|
114
|
+
reset: () => void;
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* 복사 + 상태(`idle → copying → copied | error → idle`). Toast 등 피드백 방식에는 의존하지 않는다.
|
|
118
|
+
*
|
|
119
|
+
* 연속 클릭하면 마지막 복사만 상태에 반영하고, 되돌림 타이머는 새로 시작한다. 언마운트하면
|
|
120
|
+
* 타이머를 지우고 이후 결과를 무시한다.
|
|
121
|
+
*/
|
|
122
|
+
declare function useClipboard({ resetAfter, onCopy, onError, }?: UseClipboardOptions): UseClipboardResult;
|
|
123
|
+
|
|
83
124
|
interface FocusTrapOptions {
|
|
84
125
|
/**
|
|
85
126
|
* 초기 포커스를 **먼저 찾을** 영역. 여기 안에 포커스 가능한 컨트롤이 있으면 그 첫 번째로
|
|
@@ -526,6 +567,42 @@ interface ErrorStateProps extends Omit<SafeHTMLProps<React$1.HTMLAttributes<HTML
|
|
|
526
567
|
*/
|
|
527
568
|
declare const ErrorState: ({ title: titleProp, description, icon, action, variant, className, ...props }: ErrorStateProps) => React$1.JSX.Element;
|
|
528
569
|
|
|
570
|
+
type InlineAlertTone = "neutral" | "info" | "success" | "warning" | "error";
|
|
571
|
+
interface InlineAlertProps extends Omit<SafeHTMLProps<React$1.HTMLAttributes<HTMLDivElement>>, "title"> {
|
|
572
|
+
/** 톤 (기본값: "info") */
|
|
573
|
+
tone?: InlineAlertTone;
|
|
574
|
+
/** 굵은 한 줄 제목 */
|
|
575
|
+
title?: React$1.ReactNode;
|
|
576
|
+
/** 본문 설명 */
|
|
577
|
+
children?: React$1.ReactNode;
|
|
578
|
+
/** 앞 아이콘. 미지정 시 톤 기본 아이콘, `null` 이면 숨긴다 */
|
|
579
|
+
icon?: React$1.ReactNode;
|
|
580
|
+
/** 본문 아래 액션 (버튼·링크) */
|
|
581
|
+
action?: React$1.ReactNode;
|
|
582
|
+
/** 주면 닫기 버튼이 생긴다. 실제로 지우는 건 부모다 (보통 상태를 false 로) */
|
|
583
|
+
onDismiss?: () => void;
|
|
584
|
+
/** 닫기 버튼의 접근성 이름 (기본값: 로케일 `inlineAlert.dismiss`) */
|
|
585
|
+
dismissLabel?: string;
|
|
586
|
+
}
|
|
587
|
+
/**
|
|
588
|
+
* 페이지 안에 **계속 남는** 안내·경고 블록. 사라지는 알림은 `Toast`, 확인을 받아야 하면
|
|
589
|
+
* `AlertProvider`, 화면·위젯 전체가 비었거나 실패했으면 `EmptyState`/`ErrorState`.
|
|
590
|
+
*
|
|
591
|
+
* 라이브 리전을 강제하지 않는다 - 처음부터 있는 안내를 스크린리더가 끼어들어 읽으면 소음이다.
|
|
592
|
+
* 나중에 나타나는 알림은 `role="status"`(정보·성공), 즉시 알아야 하는 오류만 `role="alert"` 를 준다.
|
|
593
|
+
*
|
|
594
|
+
* @example
|
|
595
|
+
* ```tsx
|
|
596
|
+
* <InlineAlert tone="warning" title="구독이 7일 뒤 만료됩니다" action={<Button size="sm">갱신</Button>}>
|
|
597
|
+
* 만료되면 팀원 초대가 막힙니다.
|
|
598
|
+
* </InlineAlert>
|
|
599
|
+
* ```
|
|
600
|
+
*/
|
|
601
|
+
declare const InlineAlert: {
|
|
602
|
+
({ tone, title, children, icon, action, onDismiss, dismissLabel: dismissLabelProp, className, ...props }: InlineAlertProps): React$1.JSX.Element;
|
|
603
|
+
displayName: string;
|
|
604
|
+
};
|
|
605
|
+
|
|
529
606
|
interface BottomNavProps extends Omit<SafeHTMLProps<React$1.HTMLAttributes<HTMLElement>>, "onChange"> {
|
|
530
607
|
/** 스크린 리더 레이블 (기본 "주요 메뉴") */
|
|
531
608
|
ariaLabel?: string;
|
|
@@ -875,7 +952,7 @@ interface TabsProps extends Omit<SafeHTMLProps<React$1.HTMLAttributes<HTMLDivEle
|
|
|
875
952
|
defaultValue?: string;
|
|
876
953
|
/** value 변경 콜백 */
|
|
877
954
|
onValueChange?: (value: string) => void;
|
|
878
|
-
/** 시각 스타일 (기본값: "line"). line=하단 underline,
|
|
955
|
+
/** 시각 스타일 (기본값: "line"). line=하단 underline, fills=활성 탭을 채운 둥근 박스 그룹 */
|
|
879
956
|
variant?: TabsVariant;
|
|
880
957
|
/** 크기 (기본값: "md") */
|
|
881
958
|
size?: TabsSize;
|
|
@@ -986,8 +1063,8 @@ declare const Tooltip: ({ content, placement, delay, disabled, children, }: Tool
|
|
|
986
1063
|
|
|
987
1064
|
declare const a11y: {
|
|
988
1065
|
readonly focusRing: "0 0 0 3px rgba(0, 0, 0, 0.15)";
|
|
989
|
-
readonly focusRingError: "0 0 0 3px rgba(239, 68, 68, 0.
|
|
990
|
-
readonly focusRingSuccess: "0 0 0 3px rgba(16, 185, 129, 0.
|
|
1066
|
+
readonly focusRingError: "0 0 0 3px rgba(239, 68, 68, 0.30)";
|
|
1067
|
+
readonly focusRingSuccess: "0 0 0 3px rgba(16, 185, 129, 0.30)";
|
|
991
1068
|
readonly tapMinSize: "44px";
|
|
992
1069
|
readonly tapTarget: {
|
|
993
1070
|
readonly dense: "32px";
|
|
@@ -996,6 +1073,13 @@ declare const a11y: {
|
|
|
996
1073
|
readonly spacious: "56px";
|
|
997
1074
|
};
|
|
998
1075
|
};
|
|
1076
|
+
/** 크기 단계가 있는 컨트롤·아바타의 높이 - SCSS `$control_height_*` 와 같다 (값은 `a11y.tapTarget`) */
|
|
1077
|
+
declare const controlHeight: {
|
|
1078
|
+
readonly sm: "32px";
|
|
1079
|
+
readonly md: "40px";
|
|
1080
|
+
readonly lg: "48px";
|
|
1081
|
+
readonly xl: "56px";
|
|
1082
|
+
};
|
|
999
1083
|
|
|
1000
1084
|
declare const baseBorderWidth: {
|
|
1001
1085
|
readonly "0": "0px";
|
|
@@ -1033,10 +1117,30 @@ declare const baseColors: {
|
|
|
1033
1117
|
readonly neutral925: "#141414";
|
|
1034
1118
|
readonly neutral950: "#0A0A0A";
|
|
1035
1119
|
readonly textCaptionLight: "#6F6F6F";
|
|
1120
|
+
readonly textCaptionDark: "#808080";
|
|
1036
1121
|
readonly statusError: "#B91C1C";
|
|
1037
1122
|
readonly statusSuccess: "#047857";
|
|
1038
1123
|
readonly statusWarning: "#B45309";
|
|
1039
1124
|
readonly statusInfo: "#1D4ED8";
|
|
1125
|
+
readonly statusErrorDarkText: "#F87171";
|
|
1126
|
+
readonly statusSuccessDarkText: "#4ADE80";
|
|
1127
|
+
readonly statusWarningDarkText: "#FBBF24";
|
|
1128
|
+
readonly statusInfoDarkText: "#60A5FA";
|
|
1129
|
+
readonly statusErrorContainerLight: "#FEE2E2";
|
|
1130
|
+
readonly statusSuccessContainerLight: "#DCFCE7";
|
|
1131
|
+
readonly statusWarningContainerLight: "#FEF3C7";
|
|
1132
|
+
readonly statusInfoContainerLight: "#DBEAFE";
|
|
1133
|
+
readonly statusErrorContainerDark: "rgba(127, 29, 29, 0.35)";
|
|
1134
|
+
readonly statusSuccessContainerDark: "rgba(6, 78, 59, 0.35)";
|
|
1135
|
+
readonly statusWarningContainerDark: "rgba(120, 53, 15, 0.35)";
|
|
1136
|
+
readonly statusInfoContainerDark: "rgba(30, 58, 138, 0.35)";
|
|
1137
|
+
readonly statusErrorOnContainerDark: "#FCA5A5";
|
|
1138
|
+
readonly statusSuccessOnContainerDark: "#86EFAC";
|
|
1139
|
+
readonly statusWarningOnContainerDark: "#FCD34D";
|
|
1140
|
+
readonly statusInfoOnContainerDark: "#93C5FD";
|
|
1141
|
+
readonly skeletonBase: "#F3F3F3";
|
|
1142
|
+
readonly skeletonWave: "#F0F0F0";
|
|
1143
|
+
readonly skeletonHighlight: "#FAFAFA";
|
|
1040
1144
|
readonly alphaBlack5: "rgba(0, 0, 0, 0.05)";
|
|
1041
1145
|
readonly alphaBlack8: "rgba(0, 0, 0, 0.08)";
|
|
1042
1146
|
readonly alphaBlack12: "rgba(26, 26, 26, 0.12)";
|
|
@@ -1045,11 +1149,13 @@ declare const baseColors: {
|
|
|
1045
1149
|
readonly alphaWhite5: "rgba(255, 255, 255, 0.05)";
|
|
1046
1150
|
readonly alphaWhite8: "rgba(255, 255, 255, 0.08)";
|
|
1047
1151
|
readonly alphaWhite12: "rgba(255, 255, 255, 0.12)";
|
|
1152
|
+
readonly alphaWhite38: "rgba(255, 255, 255, 0.38)";
|
|
1048
1153
|
};
|
|
1049
1154
|
declare const colors: {
|
|
1050
1155
|
readonly brand: {
|
|
1051
1156
|
readonly primary: "#121212";
|
|
1052
1157
|
readonly onPrimary: "#FFFFFF";
|
|
1158
|
+
readonly primaryContainer: "rgba(0, 0, 0, 0.05)";
|
|
1053
1159
|
};
|
|
1054
1160
|
readonly text: {
|
|
1055
1161
|
readonly heading: "#121212";
|
|
@@ -1070,8 +1176,10 @@ declare const colors: {
|
|
|
1070
1176
|
readonly state: {
|
|
1071
1177
|
readonly hoverOnLight: "rgba(0, 0, 0, 0.05)";
|
|
1072
1178
|
readonly pressedOnLight: "rgba(26, 26, 26, 0.12)";
|
|
1179
|
+
readonly focusOnLight: "rgba(0, 0, 0, 0.08)";
|
|
1073
1180
|
readonly hoverOnDark: "rgba(255, 255, 255, 0.05)";
|
|
1074
1181
|
readonly pressedOnDark: "rgba(255, 255, 255, 0.12)";
|
|
1182
|
+
readonly focusOnDark: "rgba(255, 255, 255, 0.08)";
|
|
1075
1183
|
};
|
|
1076
1184
|
readonly border: {
|
|
1077
1185
|
readonly default: "#E5E5E5";
|
|
@@ -1085,6 +1193,22 @@ declare const colors: {
|
|
|
1085
1193
|
readonly success: "#047857";
|
|
1086
1194
|
readonly warning: "#B45309";
|
|
1087
1195
|
readonly info: "#1D4ED8";
|
|
1196
|
+
readonly errorOnDefault: "#FFFFFF";
|
|
1197
|
+
readonly successOnDefault: "#FFFFFF";
|
|
1198
|
+
readonly warningOnDefault: "#FFFFFF";
|
|
1199
|
+
readonly infoOnDefault: "#FFFFFF";
|
|
1200
|
+
readonly errorContainer: "#FEE2E2";
|
|
1201
|
+
readonly successContainer: "#DCFCE7";
|
|
1202
|
+
readonly warningContainer: "#FEF3C7";
|
|
1203
|
+
readonly infoContainer: "#DBEAFE";
|
|
1204
|
+
readonly errorOnContainer: "#B91C1C";
|
|
1205
|
+
readonly successOnContainer: "#047857";
|
|
1206
|
+
readonly warningOnContainer: "#B45309";
|
|
1207
|
+
readonly infoOnContainer: "#1D4ED8";
|
|
1208
|
+
readonly errorOnSurface: "#B91C1C";
|
|
1209
|
+
readonly successOnSurface: "#047857";
|
|
1210
|
+
readonly warningOnSurface: "#B45309";
|
|
1211
|
+
readonly infoOnSurface: "#1D4ED8";
|
|
1088
1212
|
};
|
|
1089
1213
|
readonly accent: {
|
|
1090
1214
|
readonly subtle: "rgba(0, 0, 0, 0.05)";
|
|
@@ -1094,6 +1218,42 @@ declare const colors: {
|
|
|
1094
1218
|
readonly strong: "#121212";
|
|
1095
1219
|
readonly onSurface: "#FFFFFF";
|
|
1096
1220
|
};
|
|
1221
|
+
readonly skeleton: {
|
|
1222
|
+
readonly base: "#F3F3F3";
|
|
1223
|
+
readonly wave: "#F0F0F0";
|
|
1224
|
+
readonly highlight: "#FAFAFA";
|
|
1225
|
+
};
|
|
1226
|
+
};
|
|
1227
|
+
|
|
1228
|
+
type VarsOf<T> = {
|
|
1229
|
+
readonly [K in keyof T]: string;
|
|
1230
|
+
};
|
|
1231
|
+
/**
|
|
1232
|
+
* 테마를 따라가는 토큰 - 값 대신 `var(--bt-*)` 문자열이다.
|
|
1233
|
+
*
|
|
1234
|
+
* `colors` · `elevation` · `a11y.focusRing*` 는 light 고정값이라 인라인 스타일에 넣으면 dark 테마에서도
|
|
1235
|
+
* light 색이 남는다. 같은 키로 이쪽을 쓰면 브라우저가 현재 테마의 값을 고른다. `style.css` 가 로드돼
|
|
1236
|
+
* 있어야 변수가 정의된다.
|
|
1237
|
+
*
|
|
1238
|
+
* @example
|
|
1239
|
+
* ```tsx
|
|
1240
|
+
* <div style={{ color: cssVars.colors.text.caption, boxShadow: cssVars.elevation.level2 }} />
|
|
1241
|
+
* ```
|
|
1242
|
+
*/
|
|
1243
|
+
declare const cssVars: {
|
|
1244
|
+
readonly colors: { readonly [G in keyof typeof colors]: VarsOf<(typeof colors)[G]>; };
|
|
1245
|
+
readonly elevation: VarsOf<{
|
|
1246
|
+
readonly level1: "0 1px 1px -1px rgba(0, 0, 0, 0.20), 0 3px 3px 0px rgba(0, 0, 0, 0.12)";
|
|
1247
|
+
readonly level2: "0 2px 2px -2px rgba(0, 0, 0, 0.20), 0 6px 6px 0px rgba(0, 0, 0, 0.12)";
|
|
1248
|
+
readonly level3: "0 3px 3px -3px rgba(0, 0, 0, 0.20), 0 9px 9px 0px rgba(0, 0, 0, 0.12)";
|
|
1249
|
+
readonly level4: "0 5px 5px -5px rgba(0, 0, 0, 0.20), 0 15px 15px 0px rgba(0, 0, 0, 0.12)";
|
|
1250
|
+
readonly level5: "0 8px 10px -5px rgba(0, 0, 0, 0.20), 0 20px 20px 0px rgba(0, 0, 0, 0.12)";
|
|
1251
|
+
}>;
|
|
1252
|
+
readonly a11y: {
|
|
1253
|
+
focusRing: string;
|
|
1254
|
+
focusRingError: string;
|
|
1255
|
+
focusRingSuccess: string;
|
|
1256
|
+
};
|
|
1097
1257
|
};
|
|
1098
1258
|
|
|
1099
1259
|
declare const elevation: {
|
|
@@ -1159,11 +1319,11 @@ declare const radius: {
|
|
|
1159
1319
|
|
|
1160
1320
|
declare const skeleton: {
|
|
1161
1321
|
readonly color: {
|
|
1162
|
-
readonly base: "#
|
|
1163
|
-
readonly wave: "#
|
|
1164
|
-
readonly highlight: "#
|
|
1322
|
+
readonly base: "#F3F3F3";
|
|
1323
|
+
readonly wave: "#F0F0F0";
|
|
1324
|
+
readonly highlight: "#FAFAFA";
|
|
1165
1325
|
};
|
|
1166
|
-
readonly gradient: "linear-gradient(90deg, #
|
|
1326
|
+
readonly gradient: "linear-gradient(90deg, #F3F3F3 25%, #FAFAFA 37%, #F0F0F0 63%)";
|
|
1167
1327
|
readonly radius: {
|
|
1168
1328
|
readonly sm: "6px";
|
|
1169
1329
|
readonly md: "8px";
|
|
@@ -2088,8 +2248,11 @@ interface AlertOptions {
|
|
|
2088
2248
|
actionsAlign?: AlertActionsAlign;
|
|
2089
2249
|
/** 변형 아이콘 표시 여부 (기본값: false). 원하면 명시적으로 켜기 */
|
|
2090
2250
|
showIcon?: boolean;
|
|
2091
|
-
/**
|
|
2092
|
-
|
|
2251
|
+
/**
|
|
2252
|
+
* 확인 버튼 클릭 시 호출되는 콜백. Promise 를 돌려주면 끝날 때까지 알림이 열린 채 확인 버튼에
|
|
2253
|
+
* 스피너가 돌고 중복 클릭 · 취소 · Escape 가 막힌다. 실패(reject)하면 열린 채 다시 시도할 수 있다.
|
|
2254
|
+
*/
|
|
2255
|
+
onConfirm?: () => unknown;
|
|
2093
2256
|
/** 취소 버튼 클릭 시 호출되는 콜백 */
|
|
2094
2257
|
onCancel?: () => void;
|
|
2095
2258
|
/**
|
|
@@ -2098,9 +2261,29 @@ interface AlertOptions {
|
|
|
2098
2261
|
*/
|
|
2099
2262
|
closeOnOverlay?: boolean;
|
|
2100
2263
|
}
|
|
2264
|
+
/** `useConfirm()` 옵션 - 취소 버튼은 항상 있고 결과는 Promise 로 받는다 */
|
|
2265
|
+
interface ConfirmOptions extends Omit<AlertOptions, "onConfirm" | "onCancel" | "showCancel"> {
|
|
2266
|
+
/** 확인 직후 실행할 작업. Promise 면 끝날 때까지 pending - 성공해야 `true` 로 끝난다 */
|
|
2267
|
+
onConfirm?: () => unknown;
|
|
2268
|
+
}
|
|
2101
2269
|
interface AlertContextValue {
|
|
2102
2270
|
showAlert: (options: AlertOptions) => void;
|
|
2271
|
+
confirm: (options: ConfirmOptions) => Promise<boolean>;
|
|
2103
2272
|
}
|
|
2273
|
+
/**
|
|
2274
|
+
* Promise 로 받는 확인 대화상자. 확인하면 `true`, 취소 · Escape · 오버레이로 닫으면 `false` -
|
|
2275
|
+
* 어느 경로든 정확히 한 번 resolve 된다. 열려 있는 동안 다시 부르면 앞의 것은 `false` 로 끝나고
|
|
2276
|
+
* 새 것으로 바뀐다(교체). `AlertProvider` 를 그대로 쓰므로 애니메이션 · 포커스 트랩이 같다.
|
|
2277
|
+
*
|
|
2278
|
+
* @example
|
|
2279
|
+
* ```tsx
|
|
2280
|
+
* const confirm = useConfirm();
|
|
2281
|
+
* if (await confirm({ variant: "warning", title: "변경사항을 버릴까요?", confirmText: "버리기", destructive: true })) {
|
|
2282
|
+
* discard();
|
|
2283
|
+
* }
|
|
2284
|
+
* ```
|
|
2285
|
+
*/
|
|
2286
|
+
declare const useConfirm: () => (options: ConfirmOptions) => Promise<boolean>;
|
|
2104
2287
|
declare const useAlert: () => AlertContextValue;
|
|
2105
2288
|
declare const AlertProvider: React$1.FC<{
|
|
2106
2289
|
children: React$1.ReactNode;
|
|
@@ -2320,6 +2503,60 @@ interface ComboboxProps extends Omit<SafeHTMLProps<React$1.HTMLAttributes<HTMLDi
|
|
|
2320
2503
|
*/
|
|
2321
2504
|
declare const Combobox: ({ value, onValueChange, onSearch, defaultOptions, debounceMs, placeholder: placeholderProp, emptyMessage: emptyMessageProp, idleMessage: idleMessageProp, size, disabled, fullWidth, renderOption, ariaLabel, loadingLabel: loadingLabelProp, className, ...props }: ComboboxProps) => React$1.JSX.Element;
|
|
2322
2505
|
|
|
2506
|
+
/** 요일 번호 - 0 일요일 … 6 토요일 (`Date#getDay` 와 같다) */
|
|
2507
|
+
type Weekday = 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
2508
|
+
interface DateCalendarDayInfo {
|
|
2509
|
+
selected: boolean;
|
|
2510
|
+
today: boolean;
|
|
2511
|
+
disabled: boolean;
|
|
2512
|
+
}
|
|
2513
|
+
interface DateCalendarProps extends Omit<SafeHTMLProps<React$1.HTMLAttributes<HTMLDivElement>>, "onChange" | "defaultValue"> {
|
|
2514
|
+
/** 제어형: 고른 날 `"YYYY-MM-DD"`. 없으면 null */
|
|
2515
|
+
value?: string | null;
|
|
2516
|
+
/** 비제어형: 처음 고른 날 */
|
|
2517
|
+
defaultValue?: string;
|
|
2518
|
+
/** 날을 고를 때 `"YYYY-MM-DD"` */
|
|
2519
|
+
onValueChange?: (value: string) => void;
|
|
2520
|
+
/** 제어형: 보이는 달 `"YYYY-MM"` */
|
|
2521
|
+
month?: string;
|
|
2522
|
+
/** 비제어형: 처음 보이는 달 (기본값: 고른 날 → 오늘의 달) */
|
|
2523
|
+
defaultMonth?: string;
|
|
2524
|
+
/** 보이는 달이 바뀔 때 `"YYYY-MM"` (넘김 버튼 · PageUp/Down · 방향키로 달을 넘을 때) */
|
|
2525
|
+
onMonthChange?: (month: string) => void;
|
|
2526
|
+
/** 고를 수 있는 첫날 `"YYYY-MM-DD"` - 그 앞 달로는 넘어가지 않는다 */
|
|
2527
|
+
min?: string;
|
|
2528
|
+
/** 고를 수 있는 마지막 날 `"YYYY-MM-DD"` */
|
|
2529
|
+
max?: string;
|
|
2530
|
+
/** 그 밖에 고를 수 없는 날 (휴일 · 마감) */
|
|
2531
|
+
isDateDisabled?: (date: string) => boolean;
|
|
2532
|
+
/** 오늘 `"YYYY-MM-DD"` (기본값: 기기의 오늘). 서버 기준 날짜를 쓰려면 넘긴다 */
|
|
2533
|
+
today?: string;
|
|
2534
|
+
/** 주의 첫 요일 (기본값: 0 일요일) */
|
|
2535
|
+
weekStartsOn?: Weekday;
|
|
2536
|
+
/** 날짜 칸 장식 (일정 점 · 배지). 숫자 아래에 그려지고 보조기기에는 숨겨진다 - 뜻은 `describeDay` 로 */
|
|
2537
|
+
renderDay?: (date: string, info: DateCalendarDayInfo) => React$1.ReactNode;
|
|
2538
|
+
/** 날짜 이름 뒤에 붙일 설명 ("일정 2개") - 장식의 뜻을 스크린리더에 전한다 */
|
|
2539
|
+
describeDay?: (date: string) => string | undefined;
|
|
2540
|
+
/** 이전 달 버튼 이름 (기본값: 로케일 `datePicker.prevMonth`) */
|
|
2541
|
+
prevMonthLabel?: string;
|
|
2542
|
+
/** 다음 달 버튼 이름 (기본값: 로케일 `datePicker.nextMonth`) */
|
|
2543
|
+
nextMonthLabel?: string;
|
|
2544
|
+
}
|
|
2545
|
+
/**
|
|
2546
|
+
* 월 달력 - 날짜 하나를 고른다. `DatePicker variant="calendar"` 의 팝오버도 이 컴포넌트다.
|
|
2547
|
+
*
|
|
2548
|
+
* 값은 **`"YYYY-MM-DD"` 문자열**이다 - 시간대가 없어 `new Date("2026-10-16")`(UTC 자정 해석)로
|
|
2549
|
+
* 하루 밀리는 버그가 생기지 않는다. Date 가 필요하면 앱에서 `new Date(y, m - 1, d)` 로 만든다.
|
|
2550
|
+
*
|
|
2551
|
+
* WAI-ARIA APG "Date Picker Dialog" 의 키보드 규칙을 따른다 - ←→ 하루, ↑↓ 한 주, Home/End 주의
|
|
2552
|
+
* 처음 · 끝, PageUp/PageDown 한 달(Shift 와 함께면 한 해), Enter/Space 선택. 포커스는 한 칸만
|
|
2553
|
+
* 받는다(roving tabindex) - Tab 한 번에 달력을 빠져나간다.
|
|
2554
|
+
*/
|
|
2555
|
+
declare const DateCalendar: {
|
|
2556
|
+
({ value: valueProp, defaultValue, onValueChange, month: monthProp, defaultMonth, onMonthChange, min: minProp, max: maxProp, isDateDisabled, today: todayProp, weekStartsOn, renderDay, describeDay, prevMonthLabel, nextMonthLabel, className, ...props }: DateCalendarProps): React$1.JSX.Element;
|
|
2557
|
+
displayName: string;
|
|
2558
|
+
};
|
|
2559
|
+
|
|
2323
2560
|
type DatePickerMode = "year-month" | "year-month-day";
|
|
2324
2561
|
type DatePickerVariant = "dropdown" | "calendar";
|
|
2325
2562
|
type SelectableRange = "all" | "until-today";
|
|
@@ -2655,6 +2892,45 @@ interface FileInputProps extends SafeHTMLProps<React$1.InputHTMLAttributes<HTMLI
|
|
|
2655
2892
|
*/
|
|
2656
2893
|
declare const FileInput: ({ label: labelProp, onFiles, supportingText, preview, variant, previewSize, className, disabled, accept, onChange, ...props }: FileInputProps) => React$1.JSX.Element;
|
|
2657
2894
|
|
|
2895
|
+
interface FilterBarProps extends Omit<SafeHTMLProps<React$1.FormHTMLAttributes<HTMLFormElement>>, "onSubmit" | "onReset"> {
|
|
2896
|
+
/** 필터 입력들 (TextField · Dropdown · DatePicker 등). 반응형 grid 로 배치된다 */
|
|
2897
|
+
children: React$1.ReactNode;
|
|
2898
|
+
/** 검색 - Enter 또는 검색 버튼. 기본 폼 제출(페이지 이동)은 막는다 */
|
|
2899
|
+
onSubmit: () => void;
|
|
2900
|
+
/** 주면 초기화 버튼이 생긴다. 값을 비우는 건 소비자 몫이다 */
|
|
2901
|
+
onReset?: () => void;
|
|
2902
|
+
/** 검색할 수 있는 상태인가 (기본값: true). false 면 검색 버튼과 Enter 제출이 막힌다 */
|
|
2903
|
+
canSubmit?: boolean;
|
|
2904
|
+
/** 초기화할 것이 있는가 (기본값: true). 이미 비어 있으면 false 로 */
|
|
2905
|
+
canReset?: boolean;
|
|
2906
|
+
/** 검색 중 - 검색 버튼에 스피너, 중복 제출을 막는다 */
|
|
2907
|
+
loading?: boolean;
|
|
2908
|
+
/** 버튼 전체 비활성화 */
|
|
2909
|
+
disabled?: boolean;
|
|
2910
|
+
/** 검색 버튼 문구 (기본값: 로케일 `filterBar.submit`) */
|
|
2911
|
+
submitLabel?: string;
|
|
2912
|
+
/** 초기화 버튼 문구 (기본값: 로케일 `filterBar.reset`) */
|
|
2913
|
+
resetLabel?: string;
|
|
2914
|
+
/** 필드 한 칸의 최소 폭 - 이보다 좁아지면 줄을 바꾼다 (기본값: 200) */
|
|
2915
|
+
fieldMinWidth?: number | string;
|
|
2916
|
+
}
|
|
2917
|
+
/**
|
|
2918
|
+
* 목록 화면 상단의 필터 묶음 - 필드 배치 · Enter 제출 · 검색/초기화 버튼만 담당한다.
|
|
2919
|
+
* 필터 값과 URL·쿼리 상태는 소비자가 그대로 가진다. `DataView` 의 `toolbar.filters` 에도 넣을 수 있다.
|
|
2920
|
+
*
|
|
2921
|
+
* @example
|
|
2922
|
+
* ```tsx
|
|
2923
|
+
* <FilterBar onSubmit={() => setQuery(draft)} onReset={() => setDraft(EMPTY)} canReset={!isEmpty(draft)}>
|
|
2924
|
+
* <TextField label="이름" value={draft.name} onChange={(e) => setDraft({ ...draft, name: e.target.value })} />
|
|
2925
|
+
* <Dropdown label="상태" options={STATUS} value={draft.status} onChange={(v) => setDraft({ ...draft, status: v })} />
|
|
2926
|
+
* </FilterBar>
|
|
2927
|
+
* ```
|
|
2928
|
+
*/
|
|
2929
|
+
declare const FilterBar: {
|
|
2930
|
+
({ children, onSubmit, onReset, canSubmit, canReset, loading, disabled, submitLabel: submitLabelProp, resetLabel: resetLabelProp, fieldMinWidth, className, style, ...props }: FilterBarProps): React$1.JSX.Element;
|
|
2931
|
+
displayName: string;
|
|
2932
|
+
};
|
|
2933
|
+
|
|
2658
2934
|
interface FormProps extends Omit<SafeHTMLProps<React$1.FormHTMLAttributes<HTMLFormElement>>, "onSubmit"> {
|
|
2659
2935
|
/**
|
|
2660
2936
|
* 필드 이름 → 에러 메시지. 해당 `Field` 가 자기 이름으로 찾아 표시한다.
|
|
@@ -2900,6 +3176,64 @@ declare const RadioGroup: {
|
|
|
2900
3176
|
displayName: string;
|
|
2901
3177
|
};
|
|
2902
3178
|
|
|
3179
|
+
type SegmentedControlSize = "sm" | "md";
|
|
3180
|
+
interface SegmentedControlItem<T extends string = string> {
|
|
3181
|
+
/** 이 칸의 값 */
|
|
3182
|
+
value: T;
|
|
3183
|
+
/** 칸에 보이는 라벨. 아이콘만 둘 때는 `ariaLabel` 을 함께 준다 */
|
|
3184
|
+
label?: React$1.ReactNode;
|
|
3185
|
+
/** 라벨 앞 아이콘 (장식 - 보조기기에는 숨긴다) */
|
|
3186
|
+
icon?: React$1.ReactNode;
|
|
3187
|
+
/** 접근성 이름. 라벨이 없거나 라벨만으로 뜻이 모자랄 때 */
|
|
3188
|
+
ariaLabel?: string;
|
|
3189
|
+
/** 이 칸만 비활성화 */
|
|
3190
|
+
disabled?: boolean;
|
|
3191
|
+
}
|
|
3192
|
+
interface SegmentedControlProps<T extends string = string> extends Omit<SafeHTMLProps<React$1.HTMLAttributes<HTMLDivElement>>, "onChange" | "defaultValue" | "children"> {
|
|
3193
|
+
/** 칸 목록 (2~5개 권장) */
|
|
3194
|
+
items: SegmentedControlItem<T>[];
|
|
3195
|
+
/** 제어형: 선택된 값 */
|
|
3196
|
+
value?: T;
|
|
3197
|
+
/** 비제어형: 초기 선택 값 */
|
|
3198
|
+
defaultValue?: T;
|
|
3199
|
+
/** 선택이 바뀔 때 */
|
|
3200
|
+
onValueChange?: (value: T) => void;
|
|
3201
|
+
/** 폼 제출용 name (미지정 시 자동 생성) */
|
|
3202
|
+
name?: string;
|
|
3203
|
+
/** 크기 (기본값: "md") */
|
|
3204
|
+
size?: SegmentedControlSize;
|
|
3205
|
+
/** 부모 폭을 채우고 칸을 균등 분배 */
|
|
3206
|
+
fullWidth?: boolean;
|
|
3207
|
+
/** 전체 비활성화 */
|
|
3208
|
+
disabled?: boolean;
|
|
3209
|
+
/** 필수 - 폼 제출 시 선택이 없으면 막는다 */
|
|
3210
|
+
required?: boolean;
|
|
3211
|
+
}
|
|
3212
|
+
/**
|
|
3213
|
+
* 서로 배타적인 짧은 옵션 중 **값 하나를 고르는** 컨트롤 (통화 USD/KRW, 로케일 KO/EN 등).
|
|
3214
|
+
*
|
|
3215
|
+
* 콘텐츠 패널을 바꾸면 `Tabs`, 입력 토큰·필터 칩이면 `Chip`, 긴 라벨·많은 옵션이면 `RadioGroup`.
|
|
3216
|
+
* native `input[type=radio]` 를 쓰므로 방향키 이동·선택과 폼 제출은 브라우저가 처리하고,
|
|
3217
|
+
* Home/End 만 더한다. 선택된 칸은 색과 함께 떠오른 표면(그림자)으로도 구분된다.
|
|
3218
|
+
*
|
|
3219
|
+
* @example
|
|
3220
|
+
* ```tsx
|
|
3221
|
+
* <SegmentedControl
|
|
3222
|
+
* aria-label="통화"
|
|
3223
|
+
* value={currency}
|
|
3224
|
+
* onValueChange={setCurrency}
|
|
3225
|
+
* items={[
|
|
3226
|
+
* { value: "USD", label: "USD" },
|
|
3227
|
+
* { value: "KRW", label: "KRW" },
|
|
3228
|
+
* ]}
|
|
3229
|
+
* />
|
|
3230
|
+
* ```
|
|
3231
|
+
*/
|
|
3232
|
+
declare const SegmentedControl: {
|
|
3233
|
+
<T extends string = string>({ items, value: controlledValue, defaultValue, onValueChange, name: nameProp, size, fullWidth, disabled, required, className, onKeyDown: onKeyDownProp, ...props }: SegmentedControlProps<T>): React$1.JSX.Element;
|
|
3234
|
+
displayName: string;
|
|
3235
|
+
};
|
|
3236
|
+
|
|
2903
3237
|
type TagInputSize = "sm" | "md" | "lg";
|
|
2904
3238
|
interface TagInputProps extends Omit<SafeHTMLProps<React$1.HTMLAttributes<HTMLDivElement>>, "onChange" | "defaultValue"> {
|
|
2905
3239
|
/** 태그 목록 (제어형). 주지 않으면 내부 상태로 동작한다 */
|
|
@@ -3252,6 +3586,44 @@ type ButtonAsAnchor = ButtonProps<"a">;
|
|
|
3252
3586
|
*/
|
|
3253
3587
|
declare const Button: <T extends React$1.ElementType = "button">(props: ButtonProps<T>) => React$1.JSX.Element;
|
|
3254
3588
|
|
|
3589
|
+
interface CopyButtonProps extends Omit<SafeHTMLProps<React$1.ButtonHTMLAttributes<HTMLButtonElement>>, "children" | "onClick" | "onCopy" | "onError" | "type" | "aria-label"> {
|
|
3590
|
+
/** 복사할 텍스트. 누를 때 계산하려면 함수로 */
|
|
3591
|
+
text: string | (() => string);
|
|
3592
|
+
/** 버튼 문구 · 아이콘만일 때는 접근성 이름 (기본값: 로케일 `copyButton.copy`) */
|
|
3593
|
+
label?: string;
|
|
3594
|
+
/** 복사 직후 문구 (기본값: 로케일 `copyButton.copied`) */
|
|
3595
|
+
copiedLabel?: string;
|
|
3596
|
+
/** 실패 시 스크린리더에 알릴 문구 (기본값: 로케일 `copyButton.failed`) */
|
|
3597
|
+
failedLabel?: string;
|
|
3598
|
+
/** 아이콘만 (IconButton) */
|
|
3599
|
+
iconOnly?: boolean;
|
|
3600
|
+
/** 크기 (기본값: "sm") */
|
|
3601
|
+
size?: "sm" | "md";
|
|
3602
|
+
/** 문구 버튼의 variant (기본값: "outline") */
|
|
3603
|
+
variant?: ButtonVariant;
|
|
3604
|
+
/** 복사됨 표시를 유지하는 시간(ms) (기본값: 2000) */
|
|
3605
|
+
resetAfter?: number;
|
|
3606
|
+
/** 성공 - Toast 를 띄우려면 여기서 */
|
|
3607
|
+
onCopy?: (text: string) => void;
|
|
3608
|
+
/** 실패 (권한 거부 · API 없음 · 폴백 실패) */
|
|
3609
|
+
onError?: (error: unknown) => void;
|
|
3610
|
+
ref?: React$1.Ref<HTMLButtonElement>;
|
|
3611
|
+
}
|
|
3612
|
+
/**
|
|
3613
|
+
* 텍스트 복사 버튼. 복사되면 2초간 체크 아이콘·"복사됨" 으로 바뀌고, 결과를 스크린리더에도
|
|
3614
|
+
* 알린다(숨긴 `role="status"`). 성공·실패 피드백을 Toast 로 더 하려면 `onCopy`·`onError` 에서.
|
|
3615
|
+
*
|
|
3616
|
+
* @example
|
|
3617
|
+
* ```tsx
|
|
3618
|
+
* <CopyButton text={inviteUrl} onCopy={() => toast.success("링크를 복사했습니다")} />
|
|
3619
|
+
* <CopyButton text={apiKey} iconOnly label="API 키 복사" />
|
|
3620
|
+
* ```
|
|
3621
|
+
*/
|
|
3622
|
+
declare const CopyButton: {
|
|
3623
|
+
({ text, label: labelProp, copiedLabel: copiedLabelProp, failedLabel: failedLabelProp, iconOnly, size, variant, resetAfter, onCopy, onError, className, ...props }: CopyButtonProps): React$1.JSX.Element;
|
|
3624
|
+
displayName: string;
|
|
3625
|
+
};
|
|
3626
|
+
|
|
3255
3627
|
type IconButtonVariant = "standard" | "filled" | "tonal" | "outlined";
|
|
3256
3628
|
type IconButtonSize = "sm" | "md";
|
|
3257
3629
|
/** 접근성 이름을 제외한 IconButton 공통 props */
|
|
@@ -3464,6 +3836,9 @@ declare const Modal: ({ open, onClose, closeOnOverlay, dismissible, width, title
|
|
|
3464
3836
|
*/
|
|
3465
3837
|
interface LocaleMessages {
|
|
3466
3838
|
"chip.remove": string;
|
|
3839
|
+
"copyButton.copied": string;
|
|
3840
|
+
"copyButton.copy": string;
|
|
3841
|
+
"copyButton.failed": string;
|
|
3467
3842
|
"dataView.clearSelection": string;
|
|
3468
3843
|
"dataView.empty": string;
|
|
3469
3844
|
"dataView.errorTitle": string;
|
|
@@ -3477,6 +3852,7 @@ interface LocaleMessages {
|
|
|
3477
3852
|
"alert.cancel": string;
|
|
3478
3853
|
"alert.confirm": string;
|
|
3479
3854
|
"errorState.title": string;
|
|
3855
|
+
"inlineAlert.dismiss": string;
|
|
3480
3856
|
"spinner.label": string;
|
|
3481
3857
|
"toast.close": string;
|
|
3482
3858
|
"toast.region": string;
|
|
@@ -3502,6 +3878,8 @@ interface LocaleMessages {
|
|
|
3502
3878
|
"dropdown.selectedSummary": string;
|
|
3503
3879
|
"fileInput.label": string;
|
|
3504
3880
|
"fileInput.removeImage": string;
|
|
3881
|
+
"filterBar.reset": string;
|
|
3882
|
+
"filterBar.submit": string;
|
|
3505
3883
|
"imageCropper.hint": string;
|
|
3506
3884
|
"imageCropper.label": string;
|
|
3507
3885
|
"imageCropper.noPanHint": string;
|
|
@@ -3868,4 +4246,4 @@ type StackProps<T extends React$1.ElementType = "div"> = PolymorphicProps<T, Sta
|
|
|
3868
4246
|
*/
|
|
3869
4247
|
declare const Stack: <T extends React$1.ElementType = "div">({ direction, gap, align, justify, wrap, as, ref, className, children, style, ...props }: StackProps<T>) => React$1.JSX.Element;
|
|
3870
4248
|
|
|
3871
|
-
export { Accordion, type AccordionItem, type AccordionProps, type AlertActionsAlign, type AlertOptions, AlertProvider, type AlertVariant, AppShell, type AppShellProps, Avatar, type AvatarProps, type AvatarShape, type AvatarSize, Badge, type BadgeAppearance, type BadgeProps, type BadgeShape, type BadgeSize, type BadgeVariant, BottomNav, BottomNavItem, type BottomNavItemProps, type BottomNavProps, BottomNavSpacer, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, Button, type ButtonAsAnchor, type ButtonAsButton, type ButtonProps, type ButtonSize, type ButtonVariant, Card, type CardFooterAlign, type CardProps, type CardVariant, Checkbox, type CheckboxProps, Chip, type ChipProps, type ChipSize, type ChipTone, type ChipType, Combobox, type ComboboxOption, type ComboboxProps, type ComboboxSize, Container, type ContainerProps, type ContainerSize, type CropImageSize, type CropOffset, type CropRect, DataView, type DataViewPagination, type DataViewProps, type DataViewQuery, type DataViewSelectionAction, type DataViewToolbar, DatePicker, type DatePickerProps, type DateRange, DateRangePicker, type DateRangePickerProps, DescriptionList, type DescriptionListItem, type DescriptionListLayout, type DescriptionListProps, Divider, type DividerProps, Drawer, type DrawerPlacement, type DrawerProps, Dropdown, type DropdownMultipleProps, type DropdownOption, type DropdownProps, type DropdownSingleProps, type DropdownSize, type DropdownVariant, EmptyState, type EmptyStateProps, ErrorState, type ErrorStateProps, type ErrorStateVariant, Field, type FieldControl, type FieldProps, FileInput, type FileInputProps, type FileInputVariant, type FocusTrapOptions, Form, type FormActionsProps, type FormProps, Grid, type GridCols, type GridGap, type GridProps, Hero, type HeroAction, type HeroAlign, type HeroHeight, type HeroOverlay, type HeroProps, Icon, IconButton, type IconButtonProps, type IconButtonSize, type IconButtonVariant, type IconProps, ImageCropper, type ImageCropperHandle, type ImageCropperProps, type ImeStrategy, LinearProgress, type LinearProgressProps, ListItem, type ListItemProps, type ListboxItem, type LocaleKey, type LocaleMessages, type LocaleName, LocaleProvider, type LocaleProviderProps, type LocaleText, MediaCard, type MediaCardImage, type MediaCardImagePosition, type MediaCardProps, type MediaCardShadow, Menu, type MenuItem, type MenuProps, Modal, type ModalFooterAlign, type ModalProps, NavBar, type NavBarLayout, type NavBarLocaleConfig, type NavBarLocaleOption, type NavBarProps, type NavBarVariant, NavLink, type NavLinkProps, OtpInput, type OtpInputProps, PageHeader, type PageHeaderProps, Pagination, type PaginationProps, type PolymorphicProps, type PolymorphicRef, Popover, type PopoverPlacement, type PopoverProps, Prose, type ProseProps, type ProseSize, Radio, RadioGroup, type RadioGroupContextValue, type RadioGroupOrientation, type RadioGroupProps, type RadioGroupSize, type RadioProps, type ResolvedTheme, Section, type SectionBg, type SectionProps, type SectionSpacing, Sidebar, SidebarItem, type SidebarItemProps, type SidebarMode, type SidebarProps, SidebarSection, type SidebarSectionProps, Skeleton, type SkeletonProps, type SkeletonVariant, Spinner, type SpinnerProps, Stack, type StackAlign, type StackDirection, type StackGap, type StackJustify, type StackProps, type StackWrap, Stat, type StatDeltaTone, type StatProps, Stepper, type StepperOrientation, type StepperProps, type StepperStatus, type StepperStep, Tab, TabList, type TabListProps, TabPanel, type TabPanelProps, type TabProps, Table, type TableColumn, type TableProps, type TableSize, type TableSort, type TableSortDirection, Tabs, type TabsProps, type TabsSize, type TabsVariant, TagInput, type TagInputProps, type TagInputSize, TextField, type TextFieldProps, type TextFieldSize, type TextFieldVariant, Textarea, type TextareaProps, type TextareaResize, type TextareaSize, type ThemeMode, ThemeProvider, type ThemeProviderProps, TimePicker, type TimePickerProps, Timeline, type TimelineItem, type TimelineProps, type TimelineStatus, type ToastAction, type ToastOptions, type ToastPatch, ToastProvider, type ToastProviderProps, type ToastVariant, Toggle, type ToggleProps, Tooltip, type TooltipPlacement, type TooltipProps, TopLoading, type TopLoadingProps, type UseListboxPopupArgs, type UseListboxPopupResult, a11y, baseBorderWidth, baseColors, baseTypography, borderWidth, breakpoints, catalogs, cn, colors, elevation, en, iconSize, ko, motion, opacity, radius, skeleton, spacing, typography, useAlert, useFieldControl, useFocusTrap, useListboxPopup, useLocaleName, useLocaleText, useRadioGroupContext, useReducedMotion, useSpringHover, useSpringPresence, useTheme, useToast, zIndex };
|
|
4249
|
+
export { Accordion, type AccordionItem, type AccordionProps, type AlertActionsAlign, type AlertOptions, AlertProvider, type AlertVariant, AppShell, type AppShellProps, Avatar, type AvatarProps, type AvatarShape, type AvatarSize, Badge, type BadgeAppearance, type BadgeProps, type BadgeShape, type BadgeSize, type BadgeVariant, BottomNav, BottomNavItem, type BottomNavItemProps, type BottomNavProps, BottomNavSpacer, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, Button, type ButtonAsAnchor, type ButtonAsButton, type ButtonProps, type ButtonSize, type ButtonVariant, Card, type CardFooterAlign, type CardProps, type CardVariant, Checkbox, type CheckboxProps, Chip, type ChipProps, type ChipSize, type ChipTone, type ChipType, type ClipboardStatus, Combobox, type ComboboxOption, type ComboboxProps, type ComboboxSize, type ConfirmOptions, Container, type ContainerProps, type ContainerSize, CopyButton, type CopyButtonProps, type CropImageSize, type CropOffset, type CropRect, DataView, type DataViewPagination, type DataViewProps, type DataViewQuery, type DataViewSelectionAction, type DataViewToolbar, DateCalendar, type DateCalendarDayInfo, type DateCalendarProps, DatePicker, type DatePickerProps, type DateRange, DateRangePicker, type DateRangePickerProps, DescriptionList, type DescriptionListItem, type DescriptionListLayout, type DescriptionListProps, Divider, type DividerProps, Drawer, type DrawerPlacement, type DrawerProps, Dropdown, type DropdownMultipleProps, type DropdownOption, type DropdownProps, type DropdownSingleProps, type DropdownSize, type DropdownVariant, EmptyState, type EmptyStateProps, ErrorState, type ErrorStateProps, type ErrorStateVariant, Field, type FieldControl, type FieldProps, FileInput, type FileInputProps, type FileInputVariant, FilterBar, type FilterBarProps, type FocusTrapOptions, Form, type FormActionsProps, type FormProps, Grid, type GridCols, type GridGap, type GridProps, Hero, type HeroAction, type HeroAlign, type HeroHeight, type HeroOverlay, type HeroProps, Icon, IconButton, type IconButtonProps, type IconButtonSize, type IconButtonVariant, type IconProps, ImageCropper, type ImageCropperHandle, type ImageCropperProps, type ImeStrategy, InlineAlert, type InlineAlertProps, type InlineAlertTone, LinearProgress, type LinearProgressProps, ListItem, type ListItemProps, type ListboxItem, type LocaleKey, type LocaleMessages, type LocaleName, LocaleProvider, type LocaleProviderProps, type LocaleText, MediaCard, type MediaCardImage, type MediaCardImagePosition, type MediaCardProps, type MediaCardShadow, Menu, type MenuItem, type MenuProps, Modal, type ModalFooterAlign, type ModalProps, NavBar, type NavBarLayout, type NavBarLocaleConfig, type NavBarLocaleOption, type NavBarProps, type NavBarVariant, NavLink, type NavLinkProps, OtpInput, type OtpInputProps, PageHeader, type PageHeaderProps, Pagination, type PaginationProps, type PolymorphicProps, type PolymorphicRef, Popover, type PopoverPlacement, type PopoverProps, Prose, type ProseProps, type ProseSize, Radio, RadioGroup, type RadioGroupContextValue, type RadioGroupOrientation, type RadioGroupProps, type RadioGroupSize, type RadioProps, type ResolvedTheme, Section, type SectionBg, type SectionProps, type SectionSpacing, SegmentedControl, type SegmentedControlItem, type SegmentedControlProps, type SegmentedControlSize, Sidebar, SidebarItem, type SidebarItemProps, type SidebarMode, type SidebarProps, SidebarSection, type SidebarSectionProps, Skeleton, type SkeletonProps, type SkeletonVariant, Spinner, type SpinnerProps, Stack, type StackAlign, type StackDirection, type StackGap, type StackJustify, type StackProps, type StackWrap, Stat, type StatDeltaTone, type StatProps, Stepper, type StepperOrientation, type StepperProps, type StepperStatus, type StepperStep, Tab, TabList, type TabListProps, TabPanel, type TabPanelProps, type TabProps, Table, type TableColumn, type TableProps, type TableSize, type TableSort, type TableSortDirection, Tabs, type TabsProps, type TabsSize, type TabsVariant, TagInput, type TagInputProps, type TagInputSize, TextField, type TextFieldProps, type TextFieldSize, type TextFieldVariant, Textarea, type TextareaProps, type TextareaResize, type TextareaSize, type ThemeMode, ThemeProvider, type ThemeProviderProps, TimePicker, type TimePickerProps, Timeline, type TimelineItem, type TimelineProps, type TimelineStatus, type ToastAction, type ToastOptions, type ToastPatch, ToastProvider, type ToastProviderProps, type ToastVariant, Toggle, type ToggleProps, Tooltip, type TooltipPlacement, type TooltipProps, TopLoading, type TopLoadingProps, type UseClipboardOptions, type UseClipboardResult, type UseListboxPopupArgs, type UseListboxPopupResult, type Weekday, a11y, baseBorderWidth, baseColors, baseTypography, borderWidth, breakpoints, catalogs, cn, colors, controlHeight, copyText, cssVars, elevation, en, iconSize, ko, motion, opacity, radius, skeleton, spacing, typography, useAlert, useClipboard, useConfirm, useFieldControl, useFocusTrap, useListboxPopup, useLocaleName, useLocaleText, useRadioGroupContext, useReducedMotion, useSpringHover, useSpringPresence, useTheme, useToast, zIndex };
|