@olundot/ui 0.20.0-next.0 → 0.20.0-next.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/CHANGELOG.md +20 -0
- package/dist/index.d.ts +60 -43
- package/dist/index.js +421 -338
- package/dist/tokens.css +6 -0
- package/package.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @olundot/ui
|
|
2
2
|
|
|
3
|
+
## 0.20.0-next.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 48c5a4d: `Tabs` `line`의 선택 표시가 다른 탭을 고를 때 그 탭으로 미끄러진다(`--dur-base`, `--ease-standard`). 처음 그릴 때와 크기가 바뀔 때는 바로 놓이고, 동작 줄이기 설정에서는 움직이지 않는다. 가로와 세로 모두 해당하며 `contained`는 그대로다.
|
|
8
|
+
- 목록 안에 `data-slot="tabs-indicator"` 요소(`aria-hidden`) 하나가 생긴다. 하이드레이션 전에는 기존 `::after` 밑줄이 보이고, 강조선이 자리를 잡으면 숨는다.
|
|
9
|
+
- 선택된 탭 라벨이 굵어져도 탭 폭이 바뀌지 않는다. 라벨에 굵기별 숨은 사본을 두어 폭을 미리 잡는다. 탭을 바꿔도 다른 탭이 밀리지 않는다.
|
|
10
|
+
|
|
11
|
+
## 0.20.0-next.1
|
|
12
|
+
|
|
13
|
+
### Minor Changes
|
|
14
|
+
|
|
15
|
+
- 73da7bd: `Badge`의 모양이 바뀐다. 점과 테두리가 없어지고 `tone`이 채움과 글자색을 함께 정한다. `neutral`은 `--semantic-neutral-*`, `brand`는 `--accent-bg-strong`과 `--accent`를 쓴다. 높이는 24px에서 20px로, 가로 여백은 12px에서 8px로 줄었다. 12px 글자와 `--radius-sm`은 그대로다. props는 그대로다.
|
|
16
|
+
|
|
17
|
+
`StatusDot`을 추가한다. 한 화면에 하나뿐인 현재 상태를 6px 점과 라벨로 그린다. `tone`은 `neutral`, `info`, `success`, `warning`, `error`이고, `pulse`는 진행 중 상태에만 쓰며 모션 감소 설정에서는 멈춘다. 맥동 키프레임은 `@olundot/ui/tokens.css`에 있다.
|
|
18
|
+
|
|
19
|
+
`StatusBadge`는 사용 중단 예정이다. `Badge`로 옮긴다. 안에서 `Badge`로 그리며 `status`는 `tone`으로 바뀐다(`active`·`info` → `info`, `pending`·`warning` → `warning`, `archived` → `neutral`). `emphasis`, `size`, `showDot`, `pulse`는 무시한다. 알약 모양, 점, 인스턴스마다 넣던 `<style>`이 없어지고 `data-slot`은 `badge`가 된다.
|
|
20
|
+
|
|
21
|
+
`Chip`의 `variant="status-filter"`는 사용 중단 예정이다. 읽기만 하는 라벨은 `Badge`로 옮긴다. 모양과 동작은 그대로다.
|
|
22
|
+
|
|
3
23
|
## 0.20.0-next.0
|
|
4
24
|
|
|
5
25
|
### Minor Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -52,10 +52,10 @@ type GhostDefaultActionStyle = {
|
|
|
52
52
|
};
|
|
53
53
|
|
|
54
54
|
declare const buttonCva: (props?: ({
|
|
55
|
-
size?: "
|
|
55
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | "default" | "icon" | "icon-xs" | null | undefined;
|
|
56
56
|
appearance?: "filled" | "outline" | "ghost" | null | undefined;
|
|
57
57
|
tone?: "primary" | "neutral" | "danger" | null | undefined;
|
|
58
|
-
variant?: "
|
|
58
|
+
variant?: "primary" | "secondary" | "destructive" | "default" | "outline" | "ghost" | "danger" | "emergency" | "subtle" | "link" | null | undefined;
|
|
59
59
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
60
60
|
type ButtonVariantsOptions = Parameters<typeof buttonCva>[0];
|
|
61
61
|
declare function buttonVariants(options?: ButtonVariantsOptions): string;
|
|
@@ -96,7 +96,7 @@ type CopyButtonProps = Omit<ButtonProps, 'children' | 'leadingIcon' | 'loading'
|
|
|
96
96
|
variant?: ButtonVariant;
|
|
97
97
|
duration?: number;
|
|
98
98
|
};
|
|
99
|
-
declare const CopyButton: React.ForwardRefExoticComponent<Omit<ButtonProps, "
|
|
99
|
+
declare const CopyButton: React.ForwardRefExoticComponent<Omit<ButtonProps, "variant" | "size" | "children" | "leadingIcon" | "trailingIcon" | "loading"> & {
|
|
100
100
|
value: string;
|
|
101
101
|
label?: React.ReactNode;
|
|
102
102
|
copiedLabel?: React.ReactNode;
|
|
@@ -107,13 +107,13 @@ declare const CopyButton: React.ForwardRefExoticComponent<Omit<ButtonProps, "siz
|
|
|
107
107
|
} & React.RefAttributes<HTMLButtonElement>>;
|
|
108
108
|
|
|
109
109
|
declare const inputVariants: (props?: ({
|
|
110
|
-
size?: "
|
|
110
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
111
111
|
fullWidth?: boolean | null | undefined;
|
|
112
112
|
surface?: SurfaceLevel | null | undefined;
|
|
113
113
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
114
114
|
declare const inputMessageVariants: (props?: ({
|
|
115
|
-
state?: "
|
|
116
|
-
size?: "
|
|
115
|
+
state?: "error" | "success" | "default" | null | undefined;
|
|
116
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
117
117
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
118
118
|
type InputState = NonNullable<VariantProps<typeof inputMessageVariants>["state"]>;
|
|
119
119
|
/** Canonical size type (0.2.0+). Use `size` prop with these values. */
|
|
@@ -161,11 +161,11 @@ interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "
|
|
|
161
161
|
declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
|
|
162
162
|
|
|
163
163
|
declare const fileUploadZoneVariants: (props?: ({
|
|
164
|
-
size?: "
|
|
164
|
+
size?: "compact" | "default" | null | undefined;
|
|
165
165
|
surface?: SurfaceLevel | null | undefined;
|
|
166
166
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
167
167
|
declare const fileUploadIconVariants: (props?: ({
|
|
168
|
-
size?: "
|
|
168
|
+
size?: "compact" | "default" | null | undefined;
|
|
169
169
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
170
170
|
interface FileUploadZoneProps extends Omit<React.LabelHTMLAttributes<HTMLLabelElement>, "onChange">, VariantProps<typeof fileUploadZoneVariants> {
|
|
171
171
|
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. */
|
|
@@ -1438,27 +1438,44 @@ interface TwoTierBadgeProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
|
1438
1438
|
declare const TwoTierBadge: React.ForwardRefExoticComponent<TwoTierBadgeProps & React.RefAttributes<HTMLSpanElement>>;
|
|
1439
1439
|
|
|
1440
1440
|
type StatusBadgeStatus = 'active' | 'archived' | 'success' | 'warning' | 'error' | 'info' | 'pending';
|
|
1441
|
+
/** @deprecated Ignored. Badge has one look. */
|
|
1441
1442
|
type StatusBadgeEmphasis = 'subtle' | 'strong';
|
|
1443
|
+
/** @deprecated Ignored. Badge has one size. */
|
|
1442
1444
|
type StatusBadgeSize = 'xs' | 'sm' | 'md';
|
|
1443
1445
|
type SemanticRole = 'error' | 'warning' | 'info' | 'success' | 'neutral';
|
|
1444
1446
|
interface StatusBadgeProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
1445
1447
|
status?: StatusBadgeStatus;
|
|
1448
|
+
/** @deprecated Ignored. Badge has one look. */
|
|
1446
1449
|
emphasis?: StatusBadgeEmphasis;
|
|
1450
|
+
/** @deprecated Ignored. Badge has one size. */
|
|
1447
1451
|
size?: StatusBadgeSize;
|
|
1452
|
+
/** @deprecated Ignored. Badge has no dot; use StatusDot for a page's single current state. */
|
|
1448
1453
|
showDot?: boolean;
|
|
1454
|
+
/** @deprecated Ignored. Use StatusDot `pulse` for a live state. */
|
|
1449
1455
|
pulse?: boolean;
|
|
1450
1456
|
}
|
|
1451
1457
|
/**
|
|
1452
|
-
*
|
|
1453
|
-
*
|
|
1454
|
-
*
|
|
1455
|
-
* semantic tinted fill — reserve for must-notice cases. The text label is
|
|
1456
|
-
* mandatory (WCAG 1.4.1); terminal/neutral states use a hollow ring dot.
|
|
1458
|
+
* @deprecated Use Badge (or StatusDot for a page's single current state). StatusBadge draws a
|
|
1459
|
+
* Badge: `status` maps to `tone` (active·info → info, pending·warning → warning, success →
|
|
1460
|
+
* success, error → error, archived → neutral). `emphasis`, `size`, `showDot`, `pulse` are ignored.
|
|
1457
1461
|
*/
|
|
1458
1462
|
declare const StatusBadge: React.ForwardRefExoticComponent<StatusBadgeProps & React.RefAttributes<HTMLSpanElement>>;
|
|
1459
1463
|
|
|
1464
|
+
type StatusDotTone = 'error' | 'warning' | 'info' | 'success' | 'neutral';
|
|
1465
|
+
interface StatusDotProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, 'children'> {
|
|
1466
|
+
tone: StatusDotTone;
|
|
1467
|
+
label: React.ReactNode;
|
|
1468
|
+
/** Live (in-progress) state only. Stops under `prefers-reduced-motion`. */
|
|
1469
|
+
pulse?: boolean;
|
|
1470
|
+
}
|
|
1471
|
+
/**
|
|
1472
|
+
* A page's single current state: a 6px dot in the tone's color and a label in body color, no
|
|
1473
|
+
* container. Header status and the current step of a step list. Repeated rows use Badge.
|
|
1474
|
+
*/
|
|
1475
|
+
declare const StatusDot: React.ForwardRefExoticComponent<StatusDotProps & React.RefAttributes<HTMLSpanElement>>;
|
|
1476
|
+
|
|
1460
1477
|
declare const notificationBadgeVariants: (props?: ({
|
|
1461
|
-
size?: "
|
|
1478
|
+
size?: "sm" | "md" | null | undefined;
|
|
1462
1479
|
placement?: "none" | "inline" | "corner" | null | undefined;
|
|
1463
1480
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1464
1481
|
type NotificationBadgeSize = NonNullable<VariantProps<typeof notificationBadgeVariants>['size']>;
|
|
@@ -1471,13 +1488,13 @@ declare const NotificationBadge: React.ForwardRefExoticComponent<NotificationBad
|
|
|
1471
1488
|
|
|
1472
1489
|
declare const chipVariants: (props?: ({
|
|
1473
1490
|
variant?: "filter" | "choice" | "removable" | "status-filter" | null | undefined;
|
|
1474
|
-
tone?: "
|
|
1475
|
-
size?: "
|
|
1491
|
+
tone?: "muted" | "accent" | "warning" | "success" | "neutral" | "danger" | null | undefined;
|
|
1492
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
1476
1493
|
pressed?: boolean | null | undefined;
|
|
1477
1494
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1478
1495
|
declare const chipCountVariants: (props?: ({
|
|
1479
|
-
tone?: "
|
|
1480
|
-
size?: "
|
|
1496
|
+
tone?: "muted" | "accent" | "warning" | "success" | "neutral" | "danger" | null | undefined;
|
|
1497
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
1481
1498
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1482
1499
|
type ChipVariant = NonNullable<VariantProps<typeof chipVariants>["variant"]>;
|
|
1483
1500
|
type ChipTone = NonNullable<VariantProps<typeof chipVariants>["tone"]>;
|
|
@@ -1491,7 +1508,7 @@ interface ChipProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>,
|
|
|
1491
1508
|
declare const Chip: React.ForwardRefExoticComponent<ChipProps & React.RefAttributes<HTMLButtonElement>>;
|
|
1492
1509
|
|
|
1493
1510
|
declare const emptyStateBaseVariants: (props?: ({
|
|
1494
|
-
size?: "
|
|
1511
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
1495
1512
|
bordered?: boolean | null | undefined;
|
|
1496
1513
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1497
1514
|
type EmptyStateTone = "neutral" | "muted" | "raised";
|
|
@@ -1502,7 +1519,7 @@ interface EmptyStateVariantOptions extends VariantProps<typeof emptyStateBaseVar
|
|
|
1502
1519
|
}
|
|
1503
1520
|
declare function emptyStateVariants({ size, tone, surface, bordered, className, }?: EmptyStateVariantOptions): string;
|
|
1504
1521
|
declare const emptyStateIconVariants: (props?: ({
|
|
1505
|
-
size?: "
|
|
1522
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
1506
1523
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1507
1524
|
type EmptyStateSize = NonNullable<VariantProps<typeof emptyStateBaseVariants>["size"]>;
|
|
1508
1525
|
interface EmptyStateProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title">, VariantProps<typeof emptyStateBaseVariants> {
|
|
@@ -1521,7 +1538,7 @@ interface EmptyStateProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "ti
|
|
|
1521
1538
|
declare const EmptyState: React.ForwardRefExoticComponent<EmptyStateProps & React.RefAttributes<HTMLDivElement>>;
|
|
1522
1539
|
|
|
1523
1540
|
declare const errorStateVariants: (props?: ({
|
|
1524
|
-
size?: "
|
|
1541
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
1525
1542
|
surface?: SurfaceLevel | null | undefined;
|
|
1526
1543
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1527
1544
|
interface ErrorStateProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title">, VariantProps<typeof errorStateVariants> {
|
|
@@ -1541,7 +1558,7 @@ declare const skeletonVariants: (props?: ({
|
|
|
1541
1558
|
shape?: "text" | "block" | "circle" | null | undefined;
|
|
1542
1559
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1543
1560
|
declare const spinnerVariants: (props?: ({
|
|
1544
|
-
size?: "
|
|
1561
|
+
size?: "sm" | "md" | "lg" | 16 | 24 | 32 | null | undefined;
|
|
1545
1562
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1546
1563
|
interface SkeletonProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof skeletonVariants> {
|
|
1547
1564
|
}
|
|
@@ -1574,7 +1591,7 @@ interface SpinnerProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
|
1574
1591
|
declare const Spinner: React.ForwardRefExoticComponent<SpinnerProps & React.RefAttributes<HTMLSpanElement>>;
|
|
1575
1592
|
|
|
1576
1593
|
declare const iconButtonCva: (props?: ({
|
|
1577
|
-
size?: "
|
|
1594
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
1578
1595
|
pressed?: boolean | null | undefined;
|
|
1579
1596
|
appearance?: "filled" | "outline" | "ghost" | null | undefined;
|
|
1580
1597
|
tone?: "primary" | "neutral" | "danger" | null | undefined;
|
|
@@ -1764,7 +1781,7 @@ interface ActionFooterProps extends Omit<React.HTMLAttributes<HTMLDivElement>, '
|
|
|
1764
1781
|
declare const ActionFooter: React.ForwardRefExoticComponent<ActionFooterProps & React.RefAttributes<HTMLDivElement>>;
|
|
1765
1782
|
|
|
1766
1783
|
declare const toastVariants: (props?: ({
|
|
1767
|
-
variant?: "
|
|
1784
|
+
variant?: "error" | "warning" | "info" | "success" | "default" | null | undefined;
|
|
1768
1785
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1769
1786
|
declare const toastViewportVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
1770
1787
|
type ToastVariant = NonNullable<VariantProps<typeof toastVariants>['variant']>;
|
|
@@ -1818,19 +1835,19 @@ interface ToastProviderProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
1818
1835
|
declare function ToastProvider({ children, maxToasts, className, ...props }: ToastProviderProps): react_jsx_runtime.JSX.Element;
|
|
1819
1836
|
|
|
1820
1837
|
declare const otpFieldVariants: (props?: ({
|
|
1821
|
-
size?: "
|
|
1838
|
+
size?: "compact" | "default" | null | undefined;
|
|
1822
1839
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1823
1840
|
declare const otpFieldGroupVariants: (props?: ({
|
|
1824
|
-
size?: "
|
|
1841
|
+
size?: "compact" | "default" | null | undefined;
|
|
1825
1842
|
fluid?: boolean | null | undefined;
|
|
1826
1843
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1827
1844
|
declare const otpCellVariants: (props?: ({
|
|
1828
|
-
size?: "
|
|
1845
|
+
size?: "compact" | "default" | null | undefined;
|
|
1829
1846
|
fluid?: boolean | null | undefined;
|
|
1830
1847
|
surface?: SurfaceLevel | null | undefined;
|
|
1831
1848
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1832
1849
|
declare const otpFieldMessageVariants: (props?: ({
|
|
1833
|
-
state?: "
|
|
1850
|
+
state?: "error" | "default" | null | undefined;
|
|
1834
1851
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1835
1852
|
type OTPFieldSize = NonNullable<VariantProps<typeof otpCellVariants>["size"]>;
|
|
1836
1853
|
interface OTPFieldProps extends Omit<React.FieldsetHTMLAttributes<HTMLFieldSetElement>, "onChange" | "children" | "defaultValue" | "value">, VariantProps<typeof otpFieldVariants> {
|
|
@@ -1857,10 +1874,10 @@ interface OTPFieldProps extends Omit<React.FieldsetHTMLAttributes<HTMLFieldSetEl
|
|
|
1857
1874
|
declare const OTPField: React.ForwardRefExoticComponent<OTPFieldProps & React.RefAttributes<HTMLFieldSetElement>>;
|
|
1858
1875
|
|
|
1859
1876
|
declare const searchFieldVariants: (props?: ({
|
|
1860
|
-
size?: "
|
|
1877
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
1861
1878
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1862
1879
|
declare const searchFieldInputVariants: (props?: ({
|
|
1863
|
-
size?: "
|
|
1880
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
1864
1881
|
hasClear?: boolean | null | undefined;
|
|
1865
1882
|
surface?: SurfaceLevel | null | undefined;
|
|
1866
1883
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
@@ -1884,14 +1901,14 @@ declare const checkboxVariants: (props?: ({
|
|
|
1884
1901
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1885
1902
|
declare const checkboxRootVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
1886
1903
|
declare const checkboxBoxVariants: (props?: ({
|
|
1887
|
-
size?: "
|
|
1904
|
+
size?: "sm" | "md" | null | undefined;
|
|
1888
1905
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1889
1906
|
declare const checkboxGroupItemVariants: (props?: ({
|
|
1890
|
-
appearance?: "
|
|
1907
|
+
appearance?: "card" | "plain" | null | undefined;
|
|
1891
1908
|
density?: "compact" | "comfortable" | null | undefined;
|
|
1892
1909
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1893
1910
|
declare const checkboxGroupBoxVariants: (props?: ({
|
|
1894
|
-
appearance?: "
|
|
1911
|
+
appearance?: "card" | "plain" | null | undefined;
|
|
1895
1912
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1896
1913
|
type CheckboxSize = NonNullable<VariantProps<typeof checkboxBoxVariants>["size"]>;
|
|
1897
1914
|
type CheckboxCheckedState = React.ComponentProps<typeof Checkbox$1.Root>["checked"];
|
|
@@ -1916,7 +1933,7 @@ interface CheckboxProps extends Omit<React.ComponentPropsWithoutRef<typeof Check
|
|
|
1916
1933
|
declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLButtonElement>>;
|
|
1917
1934
|
|
|
1918
1935
|
declare const checkboxGroupVariants: (props?: ({
|
|
1919
|
-
appearance?: "
|
|
1936
|
+
appearance?: "card" | "plain" | null | undefined;
|
|
1920
1937
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
1921
1938
|
columns?: "one" | "two" | "three" | null | undefined;
|
|
1922
1939
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
@@ -1937,16 +1954,16 @@ interface CheckboxGroupProps extends Omit<React.HTMLAttributes<HTMLDivElement>,
|
|
|
1937
1954
|
declare const CheckboxGroup: React.ForwardRefExoticComponent<CheckboxGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
1938
1955
|
|
|
1939
1956
|
declare const radioGroupVariants: (props?: ({
|
|
1940
|
-
appearance?: "
|
|
1957
|
+
appearance?: "card" | "plain" | null | undefined;
|
|
1941
1958
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
1942
1959
|
columns?: "one" | "two" | "three" | null | undefined;
|
|
1943
1960
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1944
1961
|
declare const radioVariants: (props?: ({
|
|
1945
|
-
appearance?: "
|
|
1962
|
+
appearance?: "card" | "plain" | null | undefined;
|
|
1946
1963
|
density?: "compact" | "comfortable" | null | undefined;
|
|
1947
1964
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1948
1965
|
declare const radioControlVariants: (props?: ({
|
|
1949
|
-
appearance?: "
|
|
1966
|
+
appearance?: "card" | "plain" | null | undefined;
|
|
1950
1967
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1951
1968
|
type RadioGroupAppearance = NonNullable<VariantProps<typeof radioGroupVariants>["appearance"]>;
|
|
1952
1969
|
type RadioGroupColumns = NonNullable<VariantProps<typeof radioGroupVariants>["columns"]>;
|
|
@@ -2084,4 +2101,4 @@ interface OrganizationLogoProps extends Omit<SVGProps<SVGSVGElement>, "width" |
|
|
|
2084
2101
|
}
|
|
2085
2102
|
declare function OrganizationLogo({ organization, size, className, style, role, "aria-label": ariaLabel, "aria-hidden": ariaHidden, ...props }: OrganizationLogoProps): react_jsx_runtime.JSX.Element;
|
|
2086
2103
|
|
|
2087
|
-
export { ActionFooter, type ActionFooterAction, type ActionFooterProps, type ActionFooterStatus, ActionMenu, type ActionMenuGroup, type ActionMenuItem, type ActionMenuProps, ActionSheet, type ActionSheetIconProps, type ActionSheetItem, type ActionSheetProps, Alert, AlertDialog, type AlertDialogProps, type AlertDialogTone, type AlertEmphasis, type AlertProps, type AlertVariant, Avatar, AvatarFallback, type AvatarFallbackProps, AvatarImage, Badge, type BadgeProps, type BadgeTone, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, BulkActionBar, type BulkActionBarAction, type BulkActionBarProps, Button, type ButtonProps, type ButtonSize, type ButtonVariant, Card, CardContent, CardDescription, CardFooter, CardHeader, type CardProps, CardProse, CardTitle, type CardVariant, type CardVariantOptions, Checkbox, type CheckboxCheckedState, CheckboxGroup, type CheckboxGroupAppearance, type CheckboxGroupColumns, CheckboxGroupContext, type CheckboxGroupContextValue, type CheckboxGroupDensity, type CheckboxGroupOrientation, type CheckboxGroupProps, type CheckboxProps, type CheckboxSize, Chip, type ChipProps, type ChipSize, type ChipTone, type ChipVariant, ConfirmDialog, type ConfirmDialogProps, ContextMenu, type ContextMenuPosition, type ContextMenuProps, CopyButton, type CopyButtonProps, DataLayout, type DataLayoutProps, DataTable, type DataTableColumn, type DataTableLinkProps, type DataTableProps, type DataTableSort, type DataTableVirtualHandle, type DataTableVirtualOptions, type DataTableVirtualRange, DetailLayout, type DetailLayoutProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogEyebrow, DialogFooter, DialogHeader, type DialogMobilePresentation, DialogOverlay, DialogPortal, type DialogProps, DialogRawContent, type DialogSize, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, type EmptyStateProps, type EmptyStateSize, type EmptyStateTone, type EmptyStateVariantOptions, ErrorState, type ErrorStateProps, FileUploadZone, type FileUploadZoneProps, FilterToolbar, type FilterToolbarCollapseBelow, type FilterToolbarProps, FormField, type FormFieldProps, type FormFieldRenderProps, FormLayout, type FormLayoutProps, type FormLayoutSection, FormModal, type FormModalProps, IconButton, type IconButtonBadgeTone, type IconButtonProps, type IconButtonSize, type IconButtonVariant, InfoModal, type InfoModalProps, InlineAlert, type InlineAlertProps, type InlineAlertSurface, Input, type InputProps, type InputSize, type InputSizeLegacy, type InputState, Label, type LabelProps, ModeToggle, type ModeToggleOption, type ModeToggleProps, NotificationBadge, type NotificationBadgePlacement, type NotificationBadgeProps, type NotificationBadgeSize, OTPField, type OTPFieldProps, type OTPFieldSize, OlunLogo, OlunSymbol, type OlunTheme, type OlunThemeDuration, type OlunThemeState, OrganizationLogo, type OrganizationLogoId, type OrganizationLogoProps, type OverlayScrim, PageHeader, type PageHeaderProps, PageSizeSelect, type PageSizeSelectProps, type PageSizeSelectSize, Pagination, type PaginationProps, type PaginationSize, PermissionContext, type PermissionEvaluator, type PermissionFallback, PermissionGuard, type PermissionGuardProps, PermissionProvider, type PermissionProviderProps, type PermissionScope, type PermissionState, Popover, PopoverAnchor, PopoverArrow, PopoverClose, PopoverContent, type PopoverContentProps, type PopoverProps, PopoverTrigger, Progress, type ProgressProps, type ProgressStatus, Radio, RadioGroup, type RadioGroupAppearance, type RadioGroupColumns, type RadioGroupDensity, type RadioGroupOrientation, type RadioGroupProps, type RadioProps, ScrollArea, ScrollBar, SearchField, type SearchFieldProps, type SearchFieldSize, Select, type SelectAppearance, type SelectOption, type SelectProps, type SelectSize, type SelectState, type SelectVariant, type SemanticRole, Separator, type SetOlunThemeOptions, Sheet, SheetBody, SheetClose, SheetContent, SheetDescription, SheetDrawer, type SheetDrawerProps, SheetFooter, SheetHeader, type SheetMotionConfig, type SheetMotionDuration, type SheetMotionEasing, type SheetMotionType, type SheetProps, type SheetSize, SheetTitle, SheetTrigger, Skeleton, type SkeletonProps, SkeletonRow, type SkeletonRowColumn, type SkeletonRowProps, SkeletonText, type SkeletonTextProps, Spinner, type SpinnerProps, StatusBadge, type StatusBadgeEmphasis, type StatusBadgeProps, type StatusBadgeSize, type StatusBadgeStatus, type SurfaceLevel, Switch, type SwitchProps, type TabItem, Tabs, TabsContent, type TabsProps, type TabsVariant, Textarea, type TextareaProps, type TextareaSize, type TextareaSizeLegacy, type TextareaState, ThemeFab, type ThemeFabProps, ThemeToggle, Toast, type ToastAction, type ToastItem, type ToastOptions, ToastProvider, ToastRoot, type ToastVariant, ToastViewport, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type TreeItemRowVariantProps, type TreeItemState, type TreeNode, TreeView, type TreeViewProps, TwoTierBadge, type TwoTierBadgeEmphasis, type TwoTierBadgeProps, type TwoTierBadgeSize, type TwoTierBadgeTone, type UseOlunThemeValue, WizardLayout, type WizardLayoutProps, type WizardStep, type WizardStepState, actionFooterStatusVariants, actionFooterVariants, buttonVariants, cardVariants, checkboxBoxVariants, checkboxFieldVariants, checkboxGroupBoxVariants, checkboxGroupItemVariants, checkboxGroupVariants, checkboxRootVariants, checkboxVariants, chipCountVariants, chipVariants, cn, dataTableRowVariants, dataTableVariants, emptyStateIconVariants, emptyStateVariants, errorStateVariants, evaluatePermission, fileUploadIconVariants, fileUploadZoneVariants, formFieldControlStackClassName, formFieldDescriptionClassName, formFieldErrorClassName, formFieldLabelClassName, formFieldRequiredClassName, formFieldVariants, getOlunThemeState, getToastDuration, iconButtonBadgeVariants, iconButtonVariants, inputMessageVariants, inputVariants, limitToasts, modeToggleItemVariants, modeToggleVariants, notificationBadgeVariants, otpCellVariants, otpFieldGroupVariants, otpFieldMessageVariants, otpFieldVariants, paginationControlVariants, paginationVariants, radioControlVariants, radioGroupVariants, radioVariants, searchFieldInputVariants, searchFieldVariants, selectMessageVariants, selectVariants, setOlunTheme, skeletonVariants, spinnerVariants, tabsBadgeVariants, tabsListVariants, tabsRootVariants, tabsTriggerVariants, textareaMessageVariants, textareaVariants, toast, toastVariants, toastViewportVariants, treeItemRowVariants, treeViewVariants, useOlunTheme, usePermission };
|
|
2104
|
+
export { ActionFooter, type ActionFooterAction, type ActionFooterProps, type ActionFooterStatus, ActionMenu, type ActionMenuGroup, type ActionMenuItem, type ActionMenuProps, ActionSheet, type ActionSheetIconProps, type ActionSheetItem, type ActionSheetProps, Alert, AlertDialog, type AlertDialogProps, type AlertDialogTone, type AlertEmphasis, type AlertProps, type AlertVariant, Avatar, AvatarFallback, type AvatarFallbackProps, AvatarImage, Badge, type BadgeProps, type BadgeTone, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, BulkActionBar, type BulkActionBarAction, type BulkActionBarProps, Button, type ButtonProps, type ButtonSize, type ButtonVariant, Card, CardContent, CardDescription, CardFooter, CardHeader, type CardProps, CardProse, CardTitle, type CardVariant, type CardVariantOptions, Checkbox, type CheckboxCheckedState, CheckboxGroup, type CheckboxGroupAppearance, type CheckboxGroupColumns, CheckboxGroupContext, type CheckboxGroupContextValue, type CheckboxGroupDensity, type CheckboxGroupOrientation, type CheckboxGroupProps, type CheckboxProps, type CheckboxSize, Chip, type ChipProps, type ChipSize, type ChipTone, type ChipVariant, ConfirmDialog, type ConfirmDialogProps, ContextMenu, type ContextMenuPosition, type ContextMenuProps, CopyButton, type CopyButtonProps, DataLayout, type DataLayoutProps, DataTable, type DataTableColumn, type DataTableLinkProps, type DataTableProps, type DataTableSort, type DataTableVirtualHandle, type DataTableVirtualOptions, type DataTableVirtualRange, DetailLayout, type DetailLayoutProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogEyebrow, DialogFooter, DialogHeader, type DialogMobilePresentation, DialogOverlay, DialogPortal, type DialogProps, DialogRawContent, type DialogSize, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, type EmptyStateProps, type EmptyStateSize, type EmptyStateTone, type EmptyStateVariantOptions, ErrorState, type ErrorStateProps, FileUploadZone, type FileUploadZoneProps, FilterToolbar, type FilterToolbarCollapseBelow, type FilterToolbarProps, FormField, type FormFieldProps, type FormFieldRenderProps, FormLayout, type FormLayoutProps, type FormLayoutSection, FormModal, type FormModalProps, IconButton, type IconButtonBadgeTone, type IconButtonProps, type IconButtonSize, type IconButtonVariant, InfoModal, type InfoModalProps, InlineAlert, type InlineAlertProps, type InlineAlertSurface, Input, type InputProps, type InputSize, type InputSizeLegacy, type InputState, Label, type LabelProps, ModeToggle, type ModeToggleOption, type ModeToggleProps, NotificationBadge, type NotificationBadgePlacement, type NotificationBadgeProps, type NotificationBadgeSize, OTPField, type OTPFieldProps, type OTPFieldSize, OlunLogo, OlunSymbol, type OlunTheme, type OlunThemeDuration, type OlunThemeState, OrganizationLogo, type OrganizationLogoId, type OrganizationLogoProps, type OverlayScrim, PageHeader, type PageHeaderProps, PageSizeSelect, type PageSizeSelectProps, type PageSizeSelectSize, Pagination, type PaginationProps, type PaginationSize, PermissionContext, type PermissionEvaluator, type PermissionFallback, PermissionGuard, type PermissionGuardProps, PermissionProvider, type PermissionProviderProps, type PermissionScope, type PermissionState, Popover, PopoverAnchor, PopoverArrow, PopoverClose, PopoverContent, type PopoverContentProps, type PopoverProps, PopoverTrigger, Progress, type ProgressProps, type ProgressStatus, Radio, RadioGroup, type RadioGroupAppearance, type RadioGroupColumns, type RadioGroupDensity, type RadioGroupOrientation, type RadioGroupProps, type RadioProps, ScrollArea, ScrollBar, SearchField, type SearchFieldProps, type SearchFieldSize, Select, type SelectAppearance, type SelectOption, type SelectProps, type SelectSize, type SelectState, type SelectVariant, type SemanticRole, Separator, type SetOlunThemeOptions, Sheet, SheetBody, SheetClose, SheetContent, SheetDescription, SheetDrawer, type SheetDrawerProps, SheetFooter, SheetHeader, type SheetMotionConfig, type SheetMotionDuration, type SheetMotionEasing, type SheetMotionType, type SheetProps, type SheetSize, SheetTitle, SheetTrigger, Skeleton, type SkeletonProps, SkeletonRow, type SkeletonRowColumn, type SkeletonRowProps, SkeletonText, type SkeletonTextProps, Spinner, type SpinnerProps, StatusBadge, type StatusBadgeEmphasis, type StatusBadgeProps, type StatusBadgeSize, type StatusBadgeStatus, StatusDot, type StatusDotProps, type StatusDotTone, type SurfaceLevel, Switch, type SwitchProps, type TabItem, Tabs, TabsContent, type TabsProps, type TabsVariant, Textarea, type TextareaProps, type TextareaSize, type TextareaSizeLegacy, type TextareaState, ThemeFab, type ThemeFabProps, ThemeToggle, Toast, type ToastAction, type ToastItem, type ToastOptions, ToastProvider, ToastRoot, type ToastVariant, ToastViewport, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type TreeItemRowVariantProps, type TreeItemState, type TreeNode, TreeView, type TreeViewProps, TwoTierBadge, type TwoTierBadgeEmphasis, type TwoTierBadgeProps, type TwoTierBadgeSize, type TwoTierBadgeTone, type UseOlunThemeValue, WizardLayout, type WizardLayoutProps, type WizardStep, type WizardStepState, actionFooterStatusVariants, actionFooterVariants, buttonVariants, cardVariants, checkboxBoxVariants, checkboxFieldVariants, checkboxGroupBoxVariants, checkboxGroupItemVariants, checkboxGroupVariants, checkboxRootVariants, checkboxVariants, chipCountVariants, chipVariants, cn, dataTableRowVariants, dataTableVariants, emptyStateIconVariants, emptyStateVariants, errorStateVariants, evaluatePermission, fileUploadIconVariants, fileUploadZoneVariants, formFieldControlStackClassName, formFieldDescriptionClassName, formFieldErrorClassName, formFieldLabelClassName, formFieldRequiredClassName, formFieldVariants, getOlunThemeState, getToastDuration, iconButtonBadgeVariants, iconButtonVariants, inputMessageVariants, inputVariants, limitToasts, modeToggleItemVariants, modeToggleVariants, notificationBadgeVariants, otpCellVariants, otpFieldGroupVariants, otpFieldMessageVariants, otpFieldVariants, paginationControlVariants, paginationVariants, radioControlVariants, radioGroupVariants, radioVariants, searchFieldInputVariants, searchFieldVariants, selectMessageVariants, selectVariants, setOlunTheme, skeletonVariants, spinnerVariants, tabsBadgeVariants, tabsListVariants, tabsRootVariants, tabsTriggerVariants, textareaMessageVariants, textareaVariants, toast, toastVariants, toastViewportVariants, treeItemRowVariants, treeViewVariants, useOlunTheme, usePermission };
|