@olundot/ui 0.16.0 → 0.17.1

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 CHANGED
@@ -1,5 +1,38 @@
1
1
  # @olundot/ui
2
2
 
3
+ ## 0.17.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 6d9f93c: 연속 로드 목록(#1746) 준비물과 버그 수정. 새 prop은 모두 선택 사항이라, 주지 않으면 기존 화면의 마크업과 동작이 0.17.0과 같습니다. 기존 화면에서 달라지는 것은 아래 "수정" 항목뿐입니다.
8
+
9
+ - `BulkActionBar` `trailing`: 선택 해제(✕) 뒤에 붙는 자리입니다. 편집 모드의 [완료]처럼 선택과 별개인 컨트롤을 둡니다. inline 띠와 floating pill 모두 ✕ 바로 뒤이고, 선택 전 상태 줄(`idleContent`)에서는 오른쪽 끝입니다. 상태 줄에 `trailing`이 있으면 `role="status"`는 개수 텍스트에만 붙고 버튼은 라이브 영역 밖에 둡니다(불러올 때마다 개수만 다시 읽힙니다).
10
+ - `DataTable` `virtual.onRangeChange({ start, end })`: 보이는 행 범위(overscan 제외, `end` 제외)를 범위나 불러온 행 수가 바뀔 때 알립니다. 빠르게 스크롤해 지나친 행은 보고되지 않지만 `end`는 도착한 위치를 그대로 반영하므로, 미리 요청은 `end >= data.length - 30` 같은 문턱 비교로 씁니다.
11
+ - `DataTable` `virtual.handleRef` → `scrollToIndex(index)`: 그 행을 스크롤 컨테이너 맨 위(데스크톱은 sticky 열 머리 바로 아래)로 옮깁니다. 새로고침 복원용입니다. `DataTableVirtualRange`·`DataTableVirtualHandle` 타입을 export합니다.
12
+ - `DataTable` `selectionUnit`(기본 "개")·`announceSelection`(기본 `true`): sr-only 선택 안내의 단위를 바꾸거나 끕니다. inline `BulkActionBar`가 개수를 이미 읽어 줄 때, 또는 불러오지 않은 행까지 선택할 때(내장 안내는 불러온 행만 셉니다) 끕니다.
13
+ - 수정 — `BulkActionBar` inline `summary` 칸: 긴 문구를 자르는 칸이 28px 높이·좌우 3px 여백이라, 좁은 띠에서 `compactSummary`로 둔 `IconButton`의 44px 터치 영역이 위아래·왼쪽으로 잘렸습니다. 칸을 터치 영역 높이(44px)로 두고 왼쪽 여백을 8px로 넓혔습니다. 띠 높이 40px, 텍스트 잘림, `compactSummary` 전환은 그대로입니다.
14
+
15
+ ## 0.17.0
16
+
17
+ ### Minor Changes
18
+
19
+ - cf4bcb3: 연속 로드(100개씩 이어 붙이는 목록) 대응. 새 prop은 모두 선택 사항이라, 주지 않으면 기존 화면의 마크업과 동작이 그대로입니다. 기존 화면에서 달라지는 것은 아래 "보정" 항목뿐입니다.
20
+
21
+ - `DataTable` `virtual`(opt-in): 가상 스크롤. 행 높이가 모두 같다는 전제로, 보이는 레이아웃(표 또는 카드)에서 화면 근처 행만 그리고 행을 memo합니다. 스크롤 컨테이너는 window든 앱 셸의 `overflow-y-auto` 영역이든 상관없고, 헤더 체크는 계속 불러온 행 전체를 고릅니다. 열 머리는 스크롤 컨테이너 안에 sticky로 남고, 앞에 inline `BulkActionBar` 띠가 떠 있으면 그 아래(top 40px)에 붙습니다. 이를 위해 가상 모드의 루트는 `overflow: clip`을 씁니다. `columns`는 모듈 상수나 `useMemo`로 고정해야 memo가 효과를 냅니다. 외부 의존성은 추가하지 않았습니다.
22
+ - `DataTable` `linkComponent`·`onRowClick`: `rowHref`를 Next `Link` 같은 라우터 링크로 렌더하거나(첫 열 링크가 행 전체를 덮음), 행 클릭을 직접 받습니다. `rowHref`만 쓰면 종전처럼 `window.location.assign`입니다. `DataTableLinkProps`·`DataTableVirtualOptions` 타입을 export합니다.
23
+ - `BulkActionBar` `placement="inline"`(툴바 아래 sticky top 띠, 기본값은 `floating`으로 현행 그대로), `unit`(예: "12명 선택됨", 기본 "개"), `summary`(개수 옆 제안 자리), `idleContent`(선택 전 개수 표시), `compactSummary`(폭이 모자랄 때 summary 대신 보여 줄 짧은 문구·아이콘)를 추가했습니다. inline 상태 줄과 띠는 같은 40px 한 줄이라 선택해도 목록이 밀리지 않고, 좁은 폭에서도 두 줄로 늘지 않습니다(summary는 잘리거나 compactSummary로 바뀝니다).
24
+ - `ConfirmDialog` 본문 슬롯 `children`과 `confirmDisabled`: 인원 수를 입력해야 [삭제]가 켜지는 확인을 만들 수 있습니다.
25
+ - 보정 — `IconButton` 터치 영역: 테두리 1px을 계산에 넣어 sm·md·lg 모두 실제 44px이 되도록 인셋을 1px씩 늘렸습니다(0.16은 42px). 보이는 크기는 그대로이고, 촘촘하게 붙은 IconButton은 이웃과 터치 영역이 1px씩 더 겹칩니다.
26
+ - 보정 — `Skeleton`: 채움 색을 `--bg-raised`에서 `--bg-inset`으로 바꿨습니다(DataTable 로딩 막대 포함). 라이트에서 흰 표면 위에서도 보이고(#FFFFFF → #F1F2F4), 다크 값은 같아서 다크 화면은 달라지지 않습니다.
27
+ - 보정 — 회색 웰: 라이트에서 흰색(#FFFFFF)이 되어 사라진 채움을 `--bg-raised`에서 `--bg-inset`(#F1F2F4)으로 바꿨습니다. `ModeToggle` 트랙, `Tabs` contained 목록·탭 배지, `Avatar` 루트·fallback, `Chip` pressed muted·count neutral·muted, `Input`·`Textarea`·`OTPField` 읽기 전용, `IconButton` subtle. 다크 값은 같아서 다크 화면은 달라지지 않습니다.
28
+ - 보정 — 입력류 모서리: `Input`·`Textarea`·`Select` 트리거·`SearchField`·`OTPField` 칸을 `--radius-sm`(6)에서 `--radius-md`(8)로 바꿨습니다. 버튼·메뉴 등 나머지 컨트롤은 그대로입니다.
29
+ - 보정 — `Button` 세로 패딩: 높이를 `h-*`로만 정하고 세로 패딩을 없앴습니다(md는 32px 안의 12px 패딩으로 content box가 6px였음). 보이는 크기와 라벨 위치는 같습니다. 단, `className`으로 `h-auto`를 줘 높이를 풀어 쓰던 곳은 세로 패딩이 사라지므로 `py-*`를 직접 줘야 합니다.
30
+
31
+ ### Patch Changes
32
+
33
+ - Updated dependencies [0e34f79]
34
+ - @olundot/tokens@0.16.0
35
+
3
36
  ## 0.16.0
4
37
 
5
38
  ### Minor Changes
package/dist/index.d.ts CHANGED
@@ -32,8 +32,8 @@ declare function useOlunTheme(): UseOlunThemeValue;
32
32
  type SurfaceLevel = "surface" | "canvas" | "raised";
33
33
 
34
34
  declare const buttonVariants: (props?: ({
35
- variant?: "default" | "primary" | "outline" | "ghost" | "danger" | "emergency" | "subtle" | "destructive" | "secondary" | "link" | null | undefined;
36
- size?: "default" | "xs" | "sm" | "md" | "lg" | "xl" | "icon" | "icon-xs" | null | undefined;
35
+ variant?: "primary" | "secondary" | "destructive" | "default" | "outline" | "ghost" | "danger" | "emergency" | "subtle" | "link" | null | undefined;
36
+ size?: "xs" | "sm" | "md" | "lg" | "xl" | "default" | "icon" | "icon-xs" | null | undefined;
37
37
  } & class_variance_authority_types.ClassProp) | undefined) => string;
38
38
  type ButtonVariant = NonNullable<VariantProps<typeof buttonVariants>['variant']>;
39
39
  type ButtonSize = NonNullable<VariantProps<typeof buttonVariants>['size']>;
@@ -54,7 +54,7 @@ type CopyButtonProps = Omit<ButtonProps, 'children' | 'leadingIcon' | 'loading'
54
54
  variant?: ButtonVariant;
55
55
  duration?: number;
56
56
  };
57
- declare const CopyButton: React.ForwardRefExoticComponent<Omit<ButtonProps, "size" | "variant" | "leadingIcon" | "trailingIcon" | "loading" | "children"> & {
57
+ declare const CopyButton: React.ForwardRefExoticComponent<Omit<ButtonProps, "variant" | "size" | "leadingIcon" | "trailingIcon" | "loading" | "children"> & {
58
58
  value: string;
59
59
  label?: React.ReactNode;
60
60
  copiedLabel?: React.ReactNode;
@@ -70,7 +70,7 @@ declare const inputVariants: (props?: ({
70
70
  surface?: SurfaceLevel | null | undefined;
71
71
  } & class_variance_authority_types.ClassProp) | undefined) => string;
72
72
  declare const inputMessageVariants: (props?: ({
73
- state?: "default" | "error" | "success" | null | undefined;
73
+ state?: "error" | "success" | "default" | null | undefined;
74
74
  size?: "sm" | "md" | "lg" | null | undefined;
75
75
  } & class_variance_authority_types.ClassProp) | undefined) => string;
76
76
  type InputState = NonNullable<VariantProps<typeof inputMessageVariants>["state"]>;
@@ -119,11 +119,11 @@ interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "
119
119
  declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
120
120
 
121
121
  declare const fileUploadZoneVariants: (props?: ({
122
- size?: "default" | "compact" | null | undefined;
122
+ size?: "compact" | "default" | null | undefined;
123
123
  surface?: SurfaceLevel | null | undefined;
124
124
  } & class_variance_authority_types.ClassProp) | undefined) => string;
125
125
  declare const fileUploadIconVariants: (props?: ({
126
- size?: "default" | "compact" | null | undefined;
126
+ size?: "compact" | "default" | null | undefined;
127
127
  } & class_variance_authority_types.ClassProp) | undefined) => string;
128
128
  interface FileUploadZoneProps extends Omit<React.LabelHTMLAttributes<HTMLLabelElement>, "onChange">, VariantProps<typeof fileUploadZoneVariants> {
129
129
  accept?: string;
@@ -166,7 +166,7 @@ declare const textareaVariants: (props?: ({
166
166
  surface?: SurfaceLevel | null | undefined;
167
167
  } & class_variance_authority_types.ClassProp) | undefined) => string;
168
168
  declare const textareaMessageVariants: (props?: ({
169
- state?: "default" | "error" | "success" | null | undefined;
169
+ state?: "error" | "success" | "default" | null | undefined;
170
170
  } & class_variance_authority_types.ClassProp) | undefined) => string;
171
171
  type TextareaState = NonNullable<VariantProps<typeof textareaMessageVariants>["state"]>;
172
172
  /** Canonical size type (0.2.0+). Use `size` prop with these values. */
@@ -221,7 +221,7 @@ declare const selectVariants: (props?: ({
221
221
  surface?: SurfaceLevel | null | undefined;
222
222
  } & class_variance_authority_types.ClassProp) | undefined) => string;
223
223
  declare const selectMessageVariants: (props?: ({
224
- state?: "default" | "error" | "success" | null | undefined;
224
+ state?: "error" | "success" | "default" | null | undefined;
225
225
  size?: "sm" | "md" | "lg" | null | undefined;
226
226
  } & class_variance_authority_types.ClassProp) | undefined) => string;
227
227
  type SelectState = NonNullable<VariantProps<typeof selectMessageVariants>["state"]>;
@@ -700,6 +700,37 @@ interface DataTableColumn<T> {
700
700
  tabular?: boolean;
701
701
  sortable?: boolean;
702
702
  }
703
+ interface DataTableLinkProps {
704
+ href: string;
705
+ className?: string;
706
+ children?: React.ReactNode;
707
+ 'data-slot'?: string;
708
+ }
709
+ /** Visible rows as `data` indexes: `start` inclusive, `end` exclusive (like `slice`). */
710
+ interface DataTableVirtualRange {
711
+ start: number;
712
+ end: number;
713
+ }
714
+ interface DataTableVirtualHandle {
715
+ /**
716
+ * Scrolls the list's scroll container so row `index` (clamped to the loaded rows)
717
+ * sits at its top — under the sticky header on desktop. For restoring a position.
718
+ */
719
+ scrollToIndex: (index: number) => void;
720
+ }
721
+ interface DataTableVirtualOptions {
722
+ /** Rows rendered past each viewport edge. Default 8. */
723
+ overscan?: number;
724
+ /**
725
+ * Called with the rows actually visible (not the overscan) whenever that range or
726
+ * the number of loaded rows changes. Scrolling is sampled once per frame, so a fast
727
+ * scroll can skip rows — compare with a threshold (`end >= data.length - 30`), not
728
+ * equality with one row.
729
+ */
730
+ onRangeChange?: (range: DataTableVirtualRange) => void;
731
+ /** Receives `{ scrollToIndex }`. */
732
+ handleRef?: React.Ref<DataTableVirtualHandle>;
733
+ }
703
734
  interface DataTableSort {
704
735
  key: string;
705
736
  dir: 'asc' | 'desc';
@@ -711,6 +742,15 @@ interface DataTableProps<T> extends Omit<React.HTMLAttributes<HTMLDivElement>, '
711
742
  selectable?: boolean;
712
743
  selectedIds?: Set<string>;
713
744
  onSelectionChange?: (ids: Set<string>) => void;
745
+ /** Unit in the screen-reader selection message — `12명 선택됨`. Defaults to `개`. */
746
+ selectionUnit?: string;
747
+ /**
748
+ * `false` drops the built-in screen-reader selection message — when a
749
+ * `BulkActionBar placement="inline"` already announces the count (it is a status
750
+ * region), or when the real selection includes rows that are not loaded (the
751
+ * built-in message only counts loaded rows). Default `true`.
752
+ */
753
+ announceSelection?: boolean;
714
754
  activeRowId?: string;
715
755
  onRowContextMenu?: (rowId: string, event: React.MouseEvent) => void;
716
756
  sortBy?: DataTableSort;
@@ -718,7 +758,29 @@ interface DataTableProps<T> extends Omit<React.HTMLAttributes<HTMLDivElement>, '
718
758
  loading?: boolean;
719
759
  emptyState?: React.ReactNode;
720
760
  rowHref?: (row: T) => string;
761
+ /**
762
+ * Renders `rowHref` as a real link — e.g. Next `Link` — instead of
763
+ * `window.location.assign`. The first column's content becomes the link and its
764
+ * ::after overlay covers the whole row, so the router navigates without a full
765
+ * reload and cmd/middle-click open a new tab. Controls inside cells stay on top.
766
+ * With a link, row-level `onRowClick` is not used.
767
+ */
768
+ linkComponent?: React.ElementType<DataTableLinkProps>;
769
+ /**
770
+ * Row activation (click, Enter/Space on the row). When given, it replaces the
771
+ * `rowHref` full-page `window.location.assign` — e.g. `router.push`.
772
+ */
773
+ onRowClick?: (row: T, event: React.MouseEvent<HTMLElement> | React.KeyboardEvent<HTMLElement>) => void;
721
774
  skeletonRowCount?: number;
775
+ /**
776
+ * Virtual scrolling for long, continuously loaded lists (opt-in). Rows must
777
+ * share one fixed height (measured from the first rendered row). Only the
778
+ * visible layout — table or cards — renders rows, and only those near the
779
+ * viewport; rows are memoized. Works with any scroll container (window or an
780
+ * app-shell `overflow-y-auto` main). Header "select all" still covers every
781
+ * loaded row. Browser find (Ctrl+F) cannot see rows outside the window.
782
+ */
783
+ virtual?: boolean | DataTableVirtualOptions;
722
784
  /**
723
785
  * Background level for the table container. Header, selected rows, loading,
724
786
  * and empty states keep their own state styling.
@@ -784,9 +846,43 @@ interface BulkActionBarProps extends React.HTMLAttributes<HTMLDivElement> {
784
846
  actions: BulkActionBarAction[];
785
847
  onClear: () => void;
786
848
  emptyHint?: React.ReactNode;
849
+ /**
850
+ * `floating` (default) — pill stuck to the bottom of the list, as before.
851
+ * `inline` — full-width band stuck to the top, placed where the status line sits
852
+ * under the toolbar. Render it BEFORE the list so it comes first in tab order.
853
+ */
854
+ placement?: "floating" | "inline";
855
+ /** Count unit — `12명 선택됨`. Defaults to `개`. */
856
+ unit?: string;
857
+ /** Next to the count — e.g. an "이 조건의 3,214명 모두 선택" link or a cap notice. */
858
+ summary?: React.ReactNode;
859
+ /**
860
+ * Inline only: a shorter `summary` (e.g. "모두 선택") swapped in when the band is too
861
+ * narrow to show `summary` on one line. Without it, `summary` is clipped, never wrapped.
862
+ */
863
+ compactSummary?: React.ReactNode;
864
+ /**
865
+ * Shown instead of the bar while nothing is selected (e.g. `100 / 3,214명`).
866
+ * Takes precedence over `emptyHint`; with neither, the bar hides at count 0.
867
+ */
868
+ idleContent?: React.ReactNode;
869
+ /**
870
+ * After the clear (✕) button — e.g. an edit-mode "완료" button. On the idle line it
871
+ * sits at the right end, outside the `role="status"` region, so it is not re-read
872
+ * whenever `idleContent` changes. Same spot in both placements.
873
+ */
874
+ trailing?: React.ReactNode;
787
875
  }
788
876
  /**
789
- * OLUN BulkActionBar — floating pill for multi-select table/list actions.
877
+ * OLUN BulkActionBar — multi-select table/list actions.
878
+ *
879
+ * placement="floating" (default) is the bottom pill; placement="inline" is a
880
+ * top-sticky band that replaces the status line under the toolbar, so it comes
881
+ * before the rows in tab order. `unit` sets the count unit, `summary` holds a
882
+ * suggestion next to the count, `idleContent` shows while nothing is selected,
883
+ * `trailing` follows the clear button (right end of the idle line).
884
+ * Inline, the band and the idle line are one 40px line: a long `summary` is
885
+ * clipped or swapped for `compactSummary`, never wrapped.
790
886
  *
791
887
  * Low-chrome by design: actions are borderless text/icon buttons separated by
792
888
  * hairline dividers — not filled Button components. Destructive actions read as
@@ -800,7 +896,7 @@ interface BulkActionBarProps extends React.HTMLAttributes<HTMLDivElement> {
800
896
  * { key: "del", label: "삭제", variant: "destructive", onClick: confirmDelete },
801
897
  * ]} />
802
898
  */
803
- declare function BulkActionBar({ count, actions, onClear, emptyHint, className, style, ...props }: BulkActionBarProps): react_jsx_runtime.JSX.Element | null;
899
+ declare function BulkActionBar({ count, actions, onClear, emptyHint, placement, unit, summary, compactSummary, idleContent, trailing, className, style, ...props }: BulkActionBarProps): react_jsx_runtime.JSX.Element | null;
804
900
 
805
901
  declare const Dialog: React.FC<Dialog$1.DialogProps>;
806
902
  declare const DialogTrigger: React.ForwardRefExoticComponent<Dialog$1.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
@@ -843,8 +939,15 @@ interface ConfirmDialogProps {
843
939
  cancelLabel?: string;
844
940
  onConfirm: () => void | Promise<void>;
845
941
  loading?: boolean;
942
+ /**
943
+ * Body slot between the description and the footer — e.g. a "type the count to
944
+ * confirm" input. Focus moves to its first focusable element when the dialog opens.
945
+ */
946
+ children?: React.ReactNode;
947
+ /** Keeps the confirm button disabled (e.g. until the typed count matches). */
948
+ confirmDisabled?: boolean;
846
949
  }
847
- declare function ConfirmDialog({ open, onOpenChange, title, description, tone, confirmLabel, cancelLabel, onConfirm, loading, }: ConfirmDialogProps): react_jsx_runtime.JSX.Element;
950
+ declare function ConfirmDialog({ open, onOpenChange, title, description, tone, confirmLabel, cancelLabel, onConfirm, loading, children, confirmDisabled, }: ConfirmDialogProps): react_jsx_runtime.JSX.Element;
848
951
 
849
952
  declare function Separator({ className, orientation, decorative, ...props }: React.ComponentProps<typeof Separator$1.Root>): react_jsx_runtime.JSX.Element;
850
953
 
@@ -1026,12 +1129,12 @@ declare const NotificationBadge: React.ForwardRefExoticComponent<NotificationBad
1026
1129
 
1027
1130
  declare const chipVariants: (props?: ({
1028
1131
  variant?: "filter" | "choice" | "removable" | "status-filter" | null | undefined;
1029
- tone?: "accent" | "danger" | "success" | "warning" | "neutral" | "muted" | null | undefined;
1132
+ tone?: "muted" | "accent" | "warning" | "success" | "neutral" | "danger" | null | undefined;
1030
1133
  size?: "sm" | "md" | "lg" | null | undefined;
1031
1134
  pressed?: boolean | null | undefined;
1032
1135
  } & class_variance_authority_types.ClassProp) | undefined) => string;
1033
1136
  declare const chipCountVariants: (props?: ({
1034
- tone?: "accent" | "danger" | "success" | "warning" | "neutral" | "muted" | null | undefined;
1137
+ tone?: "muted" | "accent" | "warning" | "success" | "neutral" | "danger" | null | undefined;
1035
1138
  size?: "sm" | "md" | "lg" | null | undefined;
1036
1139
  } & class_variance_authority_types.ClassProp) | undefined) => string;
1037
1140
  type ChipVariant = NonNullable<VariantProps<typeof chipVariants>["variant"]>;
@@ -1114,7 +1217,7 @@ interface SkeletonRowProps extends React.HTMLAttributes<HTMLDivElement> {
1114
1217
  columns: SkeletonRowColumn[];
1115
1218
  count?: number;
1116
1219
  /**
1117
- * Background level for the row group container. Shimmer bars remain raised.
1220
+ * Background level for the row group container. Shimmer bars stay bg-inset.
1118
1221
  */
1119
1222
  surface?: SurfaceLevel;
1120
1223
  }
@@ -1270,7 +1373,7 @@ interface ActionFooterProps extends Omit<React.HTMLAttributes<HTMLDivElement>, '
1270
1373
  declare const ActionFooter: React.ForwardRefExoticComponent<ActionFooterProps & React.RefAttributes<HTMLDivElement>>;
1271
1374
 
1272
1375
  declare const toastVariants: (props?: ({
1273
- variant?: "default" | "error" | "success" | "info" | "warning" | null | undefined;
1376
+ variant?: "error" | "warning" | "info" | "success" | "default" | null | undefined;
1274
1377
  } & class_variance_authority_types.ClassProp) | undefined) => string;
1275
1378
  declare const toastViewportVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
1276
1379
  type ToastVariant = NonNullable<VariantProps<typeof toastVariants>['variant']>;
@@ -1324,19 +1427,19 @@ interface ToastProviderProps extends React.HTMLAttributes<HTMLDivElement> {
1324
1427
  declare function ToastProvider({ children, maxToasts, className, ...props }: ToastProviderProps): react_jsx_runtime.JSX.Element;
1325
1428
 
1326
1429
  declare const otpFieldVariants: (props?: ({
1327
- size?: "default" | "compact" | null | undefined;
1430
+ size?: "compact" | "default" | null | undefined;
1328
1431
  } & class_variance_authority_types.ClassProp) | undefined) => string;
1329
1432
  declare const otpFieldGroupVariants: (props?: ({
1330
- size?: "default" | "compact" | null | undefined;
1433
+ size?: "compact" | "default" | null | undefined;
1331
1434
  fluid?: boolean | null | undefined;
1332
1435
  } & class_variance_authority_types.ClassProp) | undefined) => string;
1333
1436
  declare const otpCellVariants: (props?: ({
1334
- size?: "default" | "compact" | null | undefined;
1437
+ size?: "compact" | "default" | null | undefined;
1335
1438
  fluid?: boolean | null | undefined;
1336
1439
  surface?: SurfaceLevel | null | undefined;
1337
1440
  } & class_variance_authority_types.ClassProp) | undefined) => string;
1338
1441
  declare const otpFieldMessageVariants: (props?: ({
1339
- state?: "default" | "error" | null | undefined;
1442
+ state?: "error" | "default" | null | undefined;
1340
1443
  } & class_variance_authority_types.ClassProp) | undefined) => string;
1341
1444
  type OTPFieldSize = NonNullable<VariantProps<typeof otpCellVariants>["size"]>;
1342
1445
  interface OTPFieldProps extends Omit<React.FieldsetHTMLAttributes<HTMLFieldSetElement>, "onChange" | "children" | "defaultValue" | "value">, VariantProps<typeof otpFieldVariants> {
@@ -1393,11 +1496,11 @@ declare const checkboxBoxVariants: (props?: ({
1393
1496
  size?: "sm" | "md" | null | undefined;
1394
1497
  } & class_variance_authority_types.ClassProp) | undefined) => string;
1395
1498
  declare const checkboxGroupItemVariants: (props?: ({
1396
- appearance?: "plain" | "card" | null | undefined;
1499
+ appearance?: "card" | "plain" | null | undefined;
1397
1500
  density?: "compact" | "comfortable" | null | undefined;
1398
1501
  } & class_variance_authority_types.ClassProp) | undefined) => string;
1399
1502
  declare const checkboxGroupBoxVariants: (props?: ({
1400
- appearance?: "plain" | "card" | null | undefined;
1503
+ appearance?: "card" | "plain" | null | undefined;
1401
1504
  } & class_variance_authority_types.ClassProp) | undefined) => string;
1402
1505
  type CheckboxSize = NonNullable<VariantProps<typeof checkboxBoxVariants>["size"]>;
1403
1506
  type CheckboxCheckedState = React.ComponentProps<typeof Checkbox$1.Root>["checked"];
@@ -1422,7 +1525,7 @@ interface CheckboxProps extends Omit<React.ComponentPropsWithoutRef<typeof Check
1422
1525
  declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLButtonElement>>;
1423
1526
 
1424
1527
  declare const checkboxGroupVariants: (props?: ({
1425
- appearance?: "plain" | "card" | null | undefined;
1528
+ appearance?: "card" | "plain" | null | undefined;
1426
1529
  orientation?: "horizontal" | "vertical" | null | undefined;
1427
1530
  columns?: "one" | "two" | "three" | null | undefined;
1428
1531
  } & class_variance_authority_types.ClassProp) | undefined) => string;
@@ -1443,16 +1546,16 @@ interface CheckboxGroupProps extends Omit<React.HTMLAttributes<HTMLDivElement>,
1443
1546
  declare const CheckboxGroup: React.ForwardRefExoticComponent<CheckboxGroupProps & React.RefAttributes<HTMLDivElement>>;
1444
1547
 
1445
1548
  declare const radioGroupVariants: (props?: ({
1446
- appearance?: "plain" | "card" | null | undefined;
1549
+ appearance?: "card" | "plain" | null | undefined;
1447
1550
  orientation?: "horizontal" | "vertical" | null | undefined;
1448
1551
  columns?: "one" | "two" | "three" | null | undefined;
1449
1552
  } & class_variance_authority_types.ClassProp) | undefined) => string;
1450
1553
  declare const radioVariants: (props?: ({
1451
- appearance?: "plain" | "card" | null | undefined;
1554
+ appearance?: "card" | "plain" | null | undefined;
1452
1555
  density?: "compact" | "comfortable" | null | undefined;
1453
1556
  } & class_variance_authority_types.ClassProp) | undefined) => string;
1454
1557
  declare const radioControlVariants: (props?: ({
1455
- appearance?: "plain" | "card" | null | undefined;
1558
+ appearance?: "card" | "plain" | null | undefined;
1456
1559
  } & class_variance_authority_types.ClassProp) | undefined) => string;
1457
1560
  type RadioGroupAppearance = NonNullable<VariantProps<typeof radioGroupVariants>["appearance"]>;
1458
1561
  type RadioGroupColumns = NonNullable<VariantProps<typeof radioGroupVariants>["columns"]>;
@@ -1589,4 +1692,4 @@ interface OrganizationLogoProps extends Omit<SVGProps<SVGSVGElement>, "width" |
1589
1692
  }
1590
1693
  declare function OrganizationLogo({ organization, size, className, style, role, "aria-label": ariaLabel, "aria-hidden": ariaHidden, ...props }: OrganizationLogoProps): react_jsx_runtime.JSX.Element;
1591
1694
 
1592
- export { ActionFooter, type ActionFooterAction, type ActionFooterProps, type ActionFooterStatus, Alert, 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 DataTableProps, type DataTableSort, DetailLayout, type DetailLayoutProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogEyebrow, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogRawContent, 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, 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, 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 };
1695
+ export { ActionFooter, type ActionFooterAction, type ActionFooterProps, type ActionFooterStatus, Alert, 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, DialogOverlay, DialogPortal, DialogRawContent, 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, 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, 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 };