@olundot/ui 0.21.1 → 0.22.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/CHANGELOG.md +34 -0
- package/dist/index.d.ts +51 -34
- package/dist/index.js +812 -261
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,39 @@
|
|
|
1
1
|
# @olundot/ui
|
|
2
2
|
|
|
3
|
+
## 0.22.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 7bb0419: `BulkActionBar`에 고른 항목이 있으면 Ctrl+Period로 목록과 카드 사이를 오가고, 카드 안에 키보드 포커스가 있으면 작업 줄 왼쪽에 목록으로 돌아가는 버튼이 보인다. Mac은 Control+Period다. 작업 줄은 줄을 바꾸지 않고, 넘치면 끝 작업부터 더보기 메뉴로 옮긴다.
|
|
8
|
+
|
|
9
|
+
- 목록에서 누르면 첫 번째 켜진 작업 버튼으로, 카드에서 누르면 마지막으로 포커스가 있던 행으로 간다. 그 행이 없으면 같은 순번의 행, 그다음 목록으로 간다. 카드에 포커스가 있을 때 카드가 사라져도 같은 규칙으로 돌아간다.
|
|
10
|
+
- 입력란, 편집 가능한 칸, 글자 조합 중에는 동작하지 않는다.
|
|
11
|
+
- 이동 버튼 라벨은 「목록으로」이고 누르면 목록으로 돌아간다. 라벨 뒤에 키 표시 `Ctrl` `.`(Mac `⌃` `.`)가 붙고, 버튼에 `aria-keyshortcuts="Control+."`가 붙는다. 카드 안 포커스가 `:focus-visible`이 아니고 버튼 자신에도 없으면 건너뛰기 링크처럼 시각적으로만 숨어 이름과 Tab 순서는 남는다. 보일 때는 늘 라벨과 키 표시를 함께 보이고, 그만큼 작업이 더 접힐 수 있다. 카드에서 연 더보기 메뉴, 확인 창, 다이얼로그가 떠 있는 동안, 그리고 포인터를 누르고 있는 동안에는 보이던 상태를 바꾸지 않는다. 터치 전용 기기에서는 숨는다.
|
|
12
|
+
- 단축키 범위는 가장 가까운 `DataLayout` 영역, 없으면 카드의 부모다. 새 prop `shortcutScope`로 범위를 바꾸고, `shortcut={false}`로 단축키와 이동 버튼을 함께 끈다.
|
|
13
|
+
- DataTable 밖 목록은 행 요소에 `data-row-id`를 달아야 돌아갈 행을 기억한다.
|
|
14
|
+
- 카드는 이름 있는 영역(`section`)이 되고 안쪽 `role="toolbar"`와 이름을 함께 쓴다. `aria-label`은 둘에 같이 붙는다. `getByRole("toolbar", { name })`는 그대로 찾는다.
|
|
15
|
+
- 접힌 작업은 메뉴에서 라벨, 아이콘, 위험 색, 비활성을 그대로 가진다. 비활성 작업의 `title`은 메뉴에서 라벨 아래 사유로, 켜진 작업의 `title`은 드롭다운 항목의 툴팁과 아래쪽 시트 메뉴의 라벨 아래 줄로 보인다. 노드 라벨은 메뉴에서 그 글자로 보이고, 라벨 글자가 바뀌면 메뉴도 따라 바뀐다.
|
|
16
|
+
- 포커스가 있던 작업이 접히면 더보기 버튼으로, 다시 펼쳐지면 그 작업으로 포커스가 간다. 열린 더보기 메뉴 항목에 포커스가 있을 때 펼쳐지면 메뉴가 닫히고 그 항목의 작업으로 간다.
|
|
17
|
+
- `ActionMenuItem`에 `title`이 생긴다. 드롭다운 명령 행의 브라우저 툴팁이고 메뉴 시트에는 붙지 않는다.
|
|
18
|
+
- 단축키는 소비자의 React `onKeyDown`이 먼저 받는다. 거기서 `preventDefault()`하면 이동하지 않는다.
|
|
19
|
+
- 서버 렌더와 하이드레이션 전에는 작업 줄이 전처럼 줄을 바꾸고, 클라이언트에서 폭을 잰 뒤 한 줄로 접는다.
|
|
20
|
+
- `idleContent`, `emptyHint`, `summary`, `unit`, `--olun-bulk-bar-offset`은 그대로다.
|
|
21
|
+
|
|
22
|
+
### Patch Changes
|
|
23
|
+
|
|
24
|
+
- 6fba6b6: `ErrorState`에 `message`로 `null`이나 빈 문자열을 주면 빈 메시지 문단을 그리지 않습니다. `message`를 생략하면 기본 문구가 나오는 것은 그대로입니다.
|
|
25
|
+
- 6fba6b6: `FileUploadZone`을 `FormField` 안에 두면 FormField 라벨이 숨은 파일 입력을 가리킵니다. 업로드 영역과 숨은 파일 입력에는 `aria-describedby`로 직접 준 값, `error` 문구, FormField의 안내 문구와 오류가 차례로 이어집니다. `error`를 주면 숨은 파일 입력에 `aria-invalid`도 켭니다. FormField 밖에서는 그대로입니다.
|
|
26
|
+
- 6fba6b6: `IconButton`의 `tooltip`이 iframe 안에서도 Tab으로 포커스를 옮기면 열립니다. 바깥 문서에서 Tab으로 iframe에 들어올 때도 열립니다. Tab 감지 리스너를 버튼이 속한 문서와 그 바깥의 같은 출처 문서에 겁니다.
|
|
27
|
+
- 6fba6b6: `FormField` 함수 자식에서 `SearchField`에 `controlProps`를 펼쳐도 `description`, `message`, `state`가 `<input>` 속성으로 새어 나가지 않습니다.
|
|
28
|
+
- Updated dependencies [6fba6b6]
|
|
29
|
+
- @olundot/tokens@0.19.0
|
|
30
|
+
|
|
31
|
+
## 0.21.2
|
|
32
|
+
|
|
33
|
+
### Patch Changes
|
|
34
|
+
|
|
35
|
+
- 0fbced9: `FilterToolbar`에서 칩 제거가 툴바가 640px 아래로 좁아진 뒤 반영돼도 포커스를 잃지 않고 접힌 필터 버튼으로 갑니다. 접힌 필터 버튼에 있던 포커스도 640px을 넘나들 때 유지됩니다.
|
|
36
|
+
|
|
3
37
|
## 0.21.1
|
|
4
38
|
|
|
5
39
|
### Patch Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -66,7 +66,7 @@ type GhostDefaultActionStyle = {
|
|
|
66
66
|
declare const buttonCva: (props?: ({
|
|
67
67
|
appearance?: "filled" | "outline" | "ghost" | "link" | null | undefined;
|
|
68
68
|
tone?: "primary" | "neutral" | "danger" | null | undefined;
|
|
69
|
-
size?: "
|
|
69
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | "default" | null | undefined;
|
|
70
70
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
71
71
|
type ButtonVariantsOptions = Parameters<typeof buttonCva>[0];
|
|
72
72
|
declare function buttonVariants(options?: ButtonVariantsOptions): string;
|
|
@@ -101,13 +101,13 @@ type CopyButtonProps = Omit<ButtonProps, 'appearance' | 'children' | 'loading' |
|
|
|
101
101
|
declare const CopyButton: React.ForwardRefExoticComponent<CopyButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
102
102
|
|
|
103
103
|
declare const inputVariants: (props?: ({
|
|
104
|
-
size?: "
|
|
104
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
105
105
|
fullWidth?: boolean | null | undefined;
|
|
106
106
|
surface?: SurfaceLevel | null | undefined;
|
|
107
107
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
108
108
|
declare const inputMessageVariants: (props?: ({
|
|
109
|
-
state?: "
|
|
110
|
-
size?: "
|
|
109
|
+
state?: "error" | "success" | "default" | null | undefined;
|
|
110
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
111
111
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
112
112
|
type InputState = NonNullable<VariantProps<typeof inputMessageVariants>["state"]>;
|
|
113
113
|
/** Canonical size type (0.2.0+). Use `size` prop with these values. */
|
|
@@ -155,11 +155,11 @@ interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "
|
|
|
155
155
|
declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
|
|
156
156
|
|
|
157
157
|
declare const fileUploadZoneVariants: (props?: ({
|
|
158
|
-
size?: "
|
|
158
|
+
size?: "compact" | "default" | null | undefined;
|
|
159
159
|
surface?: SurfaceLevel | null | undefined;
|
|
160
160
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
161
161
|
declare const fileUploadIconVariants: (props?: ({
|
|
162
|
-
size?: "
|
|
162
|
+
size?: "compact" | "default" | null | undefined;
|
|
163
163
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
164
164
|
interface FileUploadZoneProps extends Omit<React.LabelHTMLAttributes<HTMLLabelElement>, "onChange">, VariantProps<typeof fileUploadZoneVariants> {
|
|
165
165
|
accept?: string;
|
|
@@ -203,12 +203,12 @@ interface InlineAlertProps extends Omit<HTMLAttributes<HTMLDivElement>, 'childre
|
|
|
203
203
|
declare const InlineAlert: React.ForwardRefExoticComponent<InlineAlertProps & React.RefAttributes<HTMLDivElement>>;
|
|
204
204
|
|
|
205
205
|
declare const textareaVariants: (props?: ({
|
|
206
|
-
size?: "
|
|
206
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
207
207
|
fullWidth?: boolean | null | undefined;
|
|
208
208
|
surface?: SurfaceLevel | null | undefined;
|
|
209
209
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
210
210
|
declare const textareaMessageVariants: (props?: ({
|
|
211
|
-
state?: "
|
|
211
|
+
state?: "error" | "success" | "default" | null | undefined;
|
|
212
212
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
213
213
|
type TextareaState = NonNullable<VariantProps<typeof textareaMessageVariants>["state"]>;
|
|
214
214
|
/** Canonical size type (0.2.0+). Use `size` prop with these values. */
|
|
@@ -257,14 +257,14 @@ interface TextareaProps extends Omit<React.TextareaHTMLAttributes<HTMLTextAreaEl
|
|
|
257
257
|
declare const Textarea: React.ForwardRefExoticComponent<TextareaProps & React.RefAttributes<HTMLTextAreaElement>>;
|
|
258
258
|
|
|
259
259
|
declare const selectVariants: (props?: ({
|
|
260
|
-
size?: "
|
|
260
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
261
261
|
fullWidth?: boolean | null | undefined;
|
|
262
262
|
appearance?: "inline" | "field" | null | undefined;
|
|
263
263
|
surface?: SurfaceLevel | null | undefined;
|
|
264
264
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
265
265
|
declare const selectMessageVariants: (props?: ({
|
|
266
|
-
state?: "
|
|
267
|
-
size?: "
|
|
266
|
+
state?: "error" | "success" | "default" | null | undefined;
|
|
267
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
268
268
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
269
269
|
type SelectState = NonNullable<VariantProps<typeof selectMessageVariants>["state"]>;
|
|
270
270
|
/** Canonical size type (0.2.0+). Use `size` prop with these values. */
|
|
@@ -930,6 +930,8 @@ interface ActionMenuItem {
|
|
|
930
930
|
icon?: React.ComponentType<ActionMenuIconProps>;
|
|
931
931
|
/** Secondary line under the label (menu sheet only). */
|
|
932
932
|
description?: string;
|
|
933
|
+
/** Native tooltip on the dropdown item (not on a `disabledReason` item, not in the menu sheet). */
|
|
934
|
+
title?: string;
|
|
933
935
|
/** Danger color (DropdownMenuItem `variant="destructive"`, the sheet row's error color). */
|
|
934
936
|
destructive?: boolean;
|
|
935
937
|
/** Not focusable and runs nothing. */
|
|
@@ -1307,6 +1309,16 @@ interface BulkActionBarBaseProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
1307
1309
|
* Takes precedence over `emptyHint`; with neither, the bar hides at count 0.
|
|
1308
1310
|
*/
|
|
1309
1311
|
idleContent?: React.ReactNode;
|
|
1312
|
+
/**
|
|
1313
|
+
* `false` drops the Ctrl+. (Mac Control+.) shortcut between the list and the card, and the
|
|
1314
|
+
* button that shows it.
|
|
1315
|
+
*/
|
|
1316
|
+
shortcut?: boolean;
|
|
1317
|
+
/**
|
|
1318
|
+
* Where the shortcut listens and which rows it returns to. Defaults to the nearest DataLayout
|
|
1319
|
+
* region (`[data-slot="data-layout-region"]`), else the card's parent.
|
|
1320
|
+
*/
|
|
1321
|
+
shortcutScope?: React.RefObject<HTMLElement | null>;
|
|
1310
1322
|
}
|
|
1311
1323
|
interface BulkActionBarProps extends BulkActionBarBaseProps {
|
|
1312
1324
|
/** `floating` (default) — card stuck to the bottom of the list. */
|
|
@@ -1317,11 +1329,16 @@ interface BulkActionBarProps extends BulkActionBarBaseProps {
|
|
|
1317
1329
|
*
|
|
1318
1330
|
* placement="floating" (default) is a card at the bottom of the list: the count
|
|
1319
1331
|
* with the clear (✕) button on its right, `summary` under it at full width, then
|
|
1320
|
-
*
|
|
1321
|
-
*
|
|
1332
|
+
* one line of outline sm Buttons: the move button back to the list at the left (shown
|
|
1333
|
+
* only while keyboard focus is in the card), the actions at the right. A line that does
|
|
1334
|
+
* not fit folds actions into a ⋯ menu from the end. `variant: "destructive"` is outline danger. The card is
|
|
1322
1335
|
* min(360px, its slot − 32px) wide; while it is near the viewport bottom the document root
|
|
1323
1336
|
* carries `--olun-bulk-bar-offset` (viewport bottom → card top) for toasts to clear it.
|
|
1324
|
-
* DOM order
|
|
1337
|
+
* The card is a named region around a toolbar; DOM order is count → move → actions → ⋯ → ✕.
|
|
1338
|
+
*
|
|
1339
|
+
* While count ≥ 1, Ctrl+. (Mac Control+.) in its scope moves focus from the list to the
|
|
1340
|
+
* first action and from the card back to the last focused row; the move button goes back
|
|
1341
|
+
* too. `shortcut={false}` drops both, `shortcutScope` sets the scope.
|
|
1325
1342
|
*
|
|
1326
1343
|
* `unit` sets the count unit, `idleContent` shows while nothing is selected.
|
|
1327
1344
|
*
|
|
@@ -1332,7 +1349,7 @@ interface BulkActionBarProps extends BulkActionBarBaseProps {
|
|
|
1332
1349
|
* { key: "del", label: "삭제", variant: "destructive", onClick: confirmDelete },
|
|
1333
1350
|
* ]} />
|
|
1334
1351
|
*/
|
|
1335
|
-
declare function BulkActionBar({ count, actions, onClear, emptyHint, placement: _placement, compactSummary: _compactSummary, trailing: _trailing, unit, summary, idleContent, className, style, ...props }: BulkActionBarProps): react_jsx_runtime.JSX.Element | null;
|
|
1352
|
+
declare function BulkActionBar({ count, actions, onClear, emptyHint, placement: _placement, compactSummary: _compactSummary, trailing: _trailing, unit, summary, idleContent, shortcut, shortcutScope, className, style, "aria-label": ariaLabelProp, ...props }: BulkActionBarProps): react_jsx_runtime.JSX.Element | null;
|
|
1336
1353
|
|
|
1337
1354
|
interface ConfirmDialogProps {
|
|
1338
1355
|
open: boolean;
|
|
@@ -1691,7 +1708,7 @@ interface StatusDotProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, 'ch
|
|
|
1691
1708
|
declare const StatusDot: React.ForwardRefExoticComponent<StatusDotProps & React.RefAttributes<HTMLSpanElement>>;
|
|
1692
1709
|
|
|
1693
1710
|
declare const notificationBadgeVariants: (props?: ({
|
|
1694
|
-
size?: "
|
|
1711
|
+
size?: "sm" | "md" | null | undefined;
|
|
1695
1712
|
placement?: "none" | "inline" | "corner" | null | undefined;
|
|
1696
1713
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1697
1714
|
type NotificationBadgeSize = NonNullable<VariantProps<typeof notificationBadgeVariants>['size']>;
|
|
@@ -1704,13 +1721,13 @@ declare const NotificationBadge: React.ForwardRefExoticComponent<NotificationBad
|
|
|
1704
1721
|
|
|
1705
1722
|
declare const chipVariants: (props?: ({
|
|
1706
1723
|
variant?: "filter" | "choice" | "removable" | "status-filter" | null | undefined;
|
|
1707
|
-
tone?: "
|
|
1708
|
-
size?: "
|
|
1724
|
+
tone?: "muted" | "accent" | "warning" | "success" | "neutral" | "danger" | null | undefined;
|
|
1725
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
1709
1726
|
pressed?: boolean | null | undefined;
|
|
1710
1727
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1711
1728
|
declare const chipCountVariants: (props?: ({
|
|
1712
|
-
tone?: "
|
|
1713
|
-
size?: "
|
|
1729
|
+
tone?: "muted" | "accent" | "warning" | "success" | "neutral" | "danger" | null | undefined;
|
|
1730
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
1714
1731
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1715
1732
|
type ChipVariant = NonNullable<VariantProps<typeof chipVariants>["variant"]>;
|
|
1716
1733
|
type ChipTone = NonNullable<VariantProps<typeof chipVariants>["tone"]>;
|
|
@@ -1724,7 +1741,7 @@ interface ChipProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>,
|
|
|
1724
1741
|
declare const Chip: React.ForwardRefExoticComponent<ChipProps & React.RefAttributes<HTMLButtonElement>>;
|
|
1725
1742
|
|
|
1726
1743
|
declare const emptyStateBaseVariants: (props?: ({
|
|
1727
|
-
size?: "
|
|
1744
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
1728
1745
|
bordered?: boolean | null | undefined;
|
|
1729
1746
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1730
1747
|
type EmptyStateTone = "neutral" | "muted" | "raised";
|
|
@@ -1736,7 +1753,7 @@ interface EmptyStateVariantOptions extends VariantProps<typeof emptyStateBaseVar
|
|
|
1736
1753
|
}
|
|
1737
1754
|
declare function emptyStateVariants({ size, tone, surface, bordered, className, }?: EmptyStateVariantOptions): string;
|
|
1738
1755
|
declare const emptyStateIconVariants: (props?: ({
|
|
1739
|
-
size?: "
|
|
1756
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
1740
1757
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1741
1758
|
type EmptyStateSize = NonNullable<VariantProps<typeof emptyStateBaseVariants>["size"]>;
|
|
1742
1759
|
interface EmptyStateProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title">, VariantProps<typeof emptyStateBaseVariants> {
|
|
@@ -1762,7 +1779,7 @@ interface EmptyStateProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "ti
|
|
|
1762
1779
|
declare const EmptyState: React.ForwardRefExoticComponent<EmptyStateProps & React.RefAttributes<HTMLDivElement>>;
|
|
1763
1780
|
|
|
1764
1781
|
declare const errorStateVariants: (props?: ({
|
|
1765
|
-
size?: "
|
|
1782
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
1766
1783
|
surface?: SurfaceLevel | null | undefined;
|
|
1767
1784
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1768
1785
|
interface ErrorStateProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title">, VariantProps<typeof errorStateVariants> {
|
|
@@ -1782,7 +1799,7 @@ declare const skeletonVariants: (props?: ({
|
|
|
1782
1799
|
shape?: "text" | "block" | "circle" | null | undefined;
|
|
1783
1800
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1784
1801
|
declare const spinnerVariants: (props?: ({
|
|
1785
|
-
size?: "
|
|
1802
|
+
size?: "sm" | "md" | "lg" | 16 | 24 | 32 | null | undefined;
|
|
1786
1803
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1787
1804
|
interface SkeletonProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof skeletonVariants> {
|
|
1788
1805
|
}
|
|
@@ -1815,7 +1832,7 @@ interface SpinnerProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
|
1815
1832
|
declare const Spinner: React.ForwardRefExoticComponent<SpinnerProps & React.RefAttributes<HTMLSpanElement>>;
|
|
1816
1833
|
|
|
1817
1834
|
declare const iconButtonCva: (props?: ({
|
|
1818
|
-
size?: "
|
|
1835
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
1819
1836
|
pressed?: boolean | null | undefined;
|
|
1820
1837
|
appearance?: "filled" | "outline" | "ghost" | null | undefined;
|
|
1821
1838
|
tone?: "primary" | "neutral" | "danger" | null | undefined;
|
|
@@ -1824,7 +1841,7 @@ type IconButtonSize = NonNullable<VariantProps<typeof iconButtonCva>["size"]>;
|
|
|
1824
1841
|
type IconButtonVariantsOptions = NonNullable<Parameters<typeof iconButtonCva>[0]>;
|
|
1825
1842
|
declare function iconButtonVariants(options?: IconButtonVariantsOptions): string;
|
|
1826
1843
|
declare const iconButtonBadgeVariants: (props?: ({
|
|
1827
|
-
tone?: "error" | "
|
|
1844
|
+
tone?: "error" | "info" | "success" | null | undefined;
|
|
1828
1845
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1829
1846
|
type IconButtonBadgeTone = NonNullable<VariantProps<typeof iconButtonBadgeVariants>["tone"]>;
|
|
1830
1847
|
type IconButtonIcon = React.ComponentType<React.SVGProps<SVGSVGElement> & {
|
|
@@ -2061,7 +2078,7 @@ interface ActionFooterProps extends Omit<React.HTMLAttributes<HTMLDivElement>, '
|
|
|
2061
2078
|
declare const ActionFooter: React.ForwardRefExoticComponent<ActionFooterProps & React.RefAttributes<HTMLDivElement>>;
|
|
2062
2079
|
|
|
2063
2080
|
declare const toastVariants: (props?: ({
|
|
2064
|
-
variant?: "
|
|
2081
|
+
variant?: "error" | "warning" | "info" | "success" | "default" | null | undefined;
|
|
2065
2082
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2066
2083
|
declare const toastViewportVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
2067
2084
|
type ToastVariant = NonNullable<VariantProps<typeof toastVariants>['variant']>;
|
|
@@ -2115,19 +2132,19 @@ interface ToastProviderProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
2115
2132
|
declare function ToastProvider({ children, maxToasts, className, ...props }: ToastProviderProps): react_jsx_runtime.JSX.Element;
|
|
2116
2133
|
|
|
2117
2134
|
declare const otpFieldVariants: (props?: ({
|
|
2118
|
-
size?: "
|
|
2135
|
+
size?: "compact" | "default" | null | undefined;
|
|
2119
2136
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2120
2137
|
declare const otpFieldGroupVariants: (props?: ({
|
|
2121
|
-
size?: "
|
|
2138
|
+
size?: "compact" | "default" | null | undefined;
|
|
2122
2139
|
fluid?: boolean | null | undefined;
|
|
2123
2140
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2124
2141
|
declare const otpCellVariants: (props?: ({
|
|
2125
|
-
size?: "
|
|
2142
|
+
size?: "compact" | "default" | null | undefined;
|
|
2126
2143
|
fluid?: boolean | null | undefined;
|
|
2127
2144
|
surface?: SurfaceLevel | null | undefined;
|
|
2128
2145
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2129
2146
|
declare const otpFieldMessageVariants: (props?: ({
|
|
2130
|
-
state?: "
|
|
2147
|
+
state?: "error" | "default" | null | undefined;
|
|
2131
2148
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2132
2149
|
type OTPFieldSize = NonNullable<VariantProps<typeof otpCellVariants>["size"]>;
|
|
2133
2150
|
interface OTPFieldProps extends Omit<React.FieldsetHTMLAttributes<HTMLFieldSetElement>, "onChange" | "children" | "defaultValue" | "value">, VariantProps<typeof otpFieldVariants> {
|
|
@@ -2154,10 +2171,10 @@ interface OTPFieldProps extends Omit<React.FieldsetHTMLAttributes<HTMLFieldSetEl
|
|
|
2154
2171
|
declare const OTPField: React.ForwardRefExoticComponent<OTPFieldProps & React.RefAttributes<HTMLFieldSetElement>>;
|
|
2155
2172
|
|
|
2156
2173
|
declare const searchFieldVariants: (props?: ({
|
|
2157
|
-
size?: "
|
|
2174
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
2158
2175
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2159
2176
|
declare const searchFieldInputVariants: (props?: ({
|
|
2160
|
-
size?: "
|
|
2177
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
2161
2178
|
hasClear?: boolean | null | undefined;
|
|
2162
2179
|
surface?: SurfaceLevel | null | undefined;
|
|
2163
2180
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
@@ -2181,7 +2198,7 @@ declare const checkboxVariants: (props?: ({
|
|
|
2181
2198
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2182
2199
|
declare const checkboxRootVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
2183
2200
|
declare const checkboxBoxVariants: (props?: ({
|
|
2184
|
-
size?: "
|
|
2201
|
+
size?: "sm" | "md" | null | undefined;
|
|
2185
2202
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2186
2203
|
declare const checkboxGroupItemVariants: (props?: ({
|
|
2187
2204
|
appearance?: "card" | "plain" | null | undefined;
|