@reopt-ai/opt-ui 1.12.5 → 1.13.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 +236 -0
- package/COMPONENT_CATALOG.md +290 -111
- package/dist/core/index.cjs +13 -13
- package/dist/core/index.d.cts +2 -2
- package/dist/core/index.d.ts +2 -2
- package/dist/core/index.js +2 -2
- package/dist/docs/02-components/01-core.md +49 -49
- package/dist/docs/02-components/02-visuals.md +1 -1
- package/dist/docs/02-components/03-shells.md +260 -63
- package/dist/docs/02-components/04-surfaces.md +1 -1
- package/dist/docs/02-components/index.md +4 -4
- package/dist/{field-sidebar-Ben7MQD4.js → field-sidebar-CRdToHRO.js} +3975 -235
- package/dist/{field-sidebar-DwtrYSSt.cjs → field-sidebar-CxxSK4JO.cjs} +4338 -244
- package/dist/{field-sidebar-Ct8c9L4V.d.cts → field-sidebar-D-rwuN_w.d.cts} +824 -2
- package/dist/{field-sidebar-YaWHfLLW.d.ts → field-sidebar-Dz7J4ett.d.ts} +824 -2
- package/dist/id-registry.cjs +72 -0
- package/dist/id-registry.js +72 -0
- package/dist/id-registry.json +153 -0
- package/dist/index.cjs +334 -1419
- package/dist/index.d.cts +51 -86
- package/dist/index.d.ts +51 -86
- package/dist/index.js +248 -1356
- package/dist/{key-pad-menu-BpQebDyw.cjs → key-pad-menu-0KWOnELe.cjs} +51 -481
- package/dist/{key-pad-menu-CwcY_Vps.d.cts → key-pad-menu-BOVu97bj.d.cts} +4 -55
- package/dist/{key-pad-menu-CYYtS_Tl.js → key-pad-menu-DMmbQ1jF.js} +52 -416
- package/dist/{key-pad-menu-WBJShCJn.d.ts → key-pad-menu-NlZ9zNF8.d.ts} +4 -55
- package/dist/meta.cjs +896 -7
- package/dist/meta.js +896 -7
- package/dist/shells/index.cjs +20 -1
- package/dist/shells/index.d.cts +2 -2
- package/dist/shells/index.d.ts +2 -2
- package/dist/shells/index.js +2 -2
- package/dist/{text-truncate-Dlm7JwDf.js → text-truncate-Bd-0WkSP.js} +461 -97
- package/dist/{text-truncate-CqdiQuj8.cjs → text-truncate-BeYW6XZu.cjs} +523 -99
- package/dist/{text-truncate-CQyfUZvq.d.cts → text-truncate-eMzvU_7k.d.cts} +52 -1
- package/dist/{text-truncate-CQyfUZvq.d.ts → text-truncate-eMzvU_7k.d.ts} +52 -1
- package/dist/theme/server.cjs +2 -2
- package/dist/theme/server.js +2 -2
- package/package.json +6 -2
package/dist/core/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const require_text_truncate = require("../text-truncate-
|
|
4
|
-
const require_key_pad_menu = require("../key-pad-menu-
|
|
3
|
+
const require_text_truncate = require("../text-truncate-BeYW6XZu.cjs");
|
|
4
|
+
const require_key_pad_menu = require("../key-pad-menu-0KWOnELe.cjs");
|
|
5
5
|
let _reopt_ai_opt_ui_primitives = require("@reopt-ai/opt-ui-primitives");
|
|
6
6
|
exports.AccordionContent = require_key_pad_menu.AccordionContent;
|
|
7
7
|
exports.AccordionItem = require_key_pad_menu.AccordionItem;
|
|
@@ -43,7 +43,7 @@ exports.ConditionBuilder = require_key_pad_menu.ConditionBuilder;
|
|
|
43
43
|
exports.Container = require_key_pad_menu.Container;
|
|
44
44
|
exports.DEFAULT_PRESETS = require_text_truncate.DEFAULT_PRESETS;
|
|
45
45
|
exports.DateRangePicker = require_text_truncate.DateRangePicker;
|
|
46
|
-
exports.DescriptionList =
|
|
46
|
+
exports.DescriptionList = require_text_truncate.DescriptionList;
|
|
47
47
|
exports.DialogBody = require_text_truncate.DialogBody;
|
|
48
48
|
exports.DialogDescription = require_text_truncate.DialogDescription;
|
|
49
49
|
exports.DialogDisclosure = require_text_truncate.DialogDisclosure;
|
|
@@ -59,11 +59,11 @@ exports.DisclosureTrigger = require_text_truncate.DisclosureTrigger;
|
|
|
59
59
|
exports.DrawerClose = require_key_pad_menu.DrawerClose;
|
|
60
60
|
exports.DrawerPanel = require_key_pad_menu.DrawerPanel;
|
|
61
61
|
exports.DrawerRoot = require_key_pad_menu.DrawerRoot;
|
|
62
|
-
exports.DropdownContent =
|
|
63
|
-
exports.DropdownItem =
|
|
64
|
-
exports.DropdownMenu =
|
|
65
|
-
exports.DropdownSeparator =
|
|
66
|
-
exports.DropdownTrigger =
|
|
62
|
+
exports.DropdownContent = require_text_truncate.DropdownContent;
|
|
63
|
+
exports.DropdownItem = require_text_truncate.DropdownItem;
|
|
64
|
+
exports.DropdownMenu = require_text_truncate.DropdownMenu;
|
|
65
|
+
exports.DropdownSeparator = require_text_truncate.DropdownSeparator;
|
|
66
|
+
exports.DropdownTrigger = require_text_truncate.DropdownTrigger;
|
|
67
67
|
exports.EmptyState = require_text_truncate.EmptyState;
|
|
68
68
|
exports.Expression = require_key_pad_menu.Expression;
|
|
69
69
|
exports.ExpressionGroup = require_key_pad_menu.ExpressionGroup;
|
|
@@ -125,9 +125,9 @@ exports.PopoverTrigger = require_text_truncate.PopoverTrigger;
|
|
|
125
125
|
exports.Progress = require_key_pad_menu.Progress;
|
|
126
126
|
exports.Radio = require_key_pad_menu.Radio;
|
|
127
127
|
exports.RadioGroup = require_key_pad_menu.RadioGroup;
|
|
128
|
-
exports.ResizableHandle =
|
|
129
|
-
exports.ResizablePanel =
|
|
130
|
-
exports.ResizablePanelGroup =
|
|
128
|
+
exports.ResizableHandle = require_text_truncate.ResizableHandle;
|
|
129
|
+
exports.ResizablePanel = require_text_truncate.ResizablePanel;
|
|
130
|
+
exports.ResizablePanelGroup = require_text_truncate.ResizablePanelGroup;
|
|
131
131
|
exports.SHADER_OVERLAY_PARAM_KEYS = require_key_pad_menu.SHADER_OVERLAY_PARAM_KEYS;
|
|
132
132
|
exports.SHADER_PARAM_FALLBACK = require_key_pad_menu.SHADER_PARAM_FALLBACK;
|
|
133
133
|
exports.SHADER_PARAM_KEYS = require_key_pad_menu.SHADER_PARAM_KEYS;
|
|
@@ -152,7 +152,7 @@ exports.Spinner = require_text_truncate.Spinner;
|
|
|
152
152
|
exports.StatCard = require_text_truncate.StatCard;
|
|
153
153
|
exports.StepBuilder = require_key_pad_menu.StepBuilder;
|
|
154
154
|
exports.SurfaceLayout = require_key_pad_menu.BlockLayout;
|
|
155
|
-
exports.Switch =
|
|
155
|
+
exports.Switch = require_text_truncate.Switch;
|
|
156
156
|
exports.THEME_PALETTES = require_key_pad_menu.THEME_PALETTES;
|
|
157
157
|
exports.Tab = require_text_truncate.Tab;
|
|
158
158
|
exports.TabList = require_text_truncate.TabList;
|
|
@@ -161,7 +161,7 @@ exports.TabsRoot = require_text_truncate.TabsRoot;
|
|
|
161
161
|
exports.TagInput = require_text_truncate.TagInput;
|
|
162
162
|
exports.Text = require_key_pad_menu.Text;
|
|
163
163
|
exports.TextTruncate = require_text_truncate.TextTruncate;
|
|
164
|
-
exports.Textarea =
|
|
164
|
+
exports.Textarea = require_text_truncate.Textarea;
|
|
165
165
|
exports.Toggle = require_key_pad_menu.Toggle;
|
|
166
166
|
exports.ToggleGroup = require_key_pad_menu.ToggleGroup;
|
|
167
167
|
exports.ToolbarButton = require_text_truncate.ToolbarButton;
|
package/dist/core/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
|
|
2
|
-
import { $ as DrawerSize, $i as
|
|
3
|
-
import { a as FieldDataType, i as FIELD_TYPE_TOKENS, l as FieldTokenProps, n as TextTruncateProps, o as FieldToken, r as TruncationSide, t as TextTruncate, u as resolveFieldType } from "../text-truncate-
|
|
2
|
+
import { $ as DrawerSize, $i as DescriptionListProps, $n as ToolbarContainer, $r as DisclosureRoot, A as ShaderSurfaceHandle, Aa as TextProps, Ai as Spinner, An as FormSwitch, Ar as DialogFooterProps, At as CheckboxGroupProps, B as ShaderPresetCategory, Bi as CardDescriptionProps, Bn as TagInputProps, Br as SelectRoot, Bt as PopoverRoot, C as Facet, Ca as SeparatorProps, Ci as SkeletonText, Cn as FormSelectPopover, Cr as AlertDialogPanelProps, Ct as BlockLayoutProps, D as FacetItem, Da as HeadingRole, Di as InputProps, Dr as DialogDisclosure, Dt as RadioProps, E as FacetGroupProps, Ea as HeadingProps, Ei as Input, Er as DialogDescription, Et as RadioGroupProps, F as SHADER_PRESETS, Fi as ButtonProps, Fn as FormTextareaProps, Fr as DialogRoot, Ft as DropdownSeparator, G as VirtualListProps, Gi as CardProps, Gn as ColorPickerProps, Gr as TabPanel, Gt as ConditionGroup, H as getShaderFragment, Hi as CardFooterProps, Hn as IconPicker, Hr as Tab, Ht as ConditionBuilder, I as SHADER_PRESET_IDS, Ii as Card, Ir as DialogSize, It as DropdownTrigger, J as DrawerClose, Ji as Identity, Jn as Slider, Jt as StepBuilder, K as Pagination, Ki as CardTitle, Kt as ConditionOperator, L as ShaderParamKey, Li as CardContent, Ln as useFormContext, Lr as SelectItem, Lt as PopoverClose, M as SHADER_OVERLAY_PARAM_KEYS, Ma as TextTone, Mi as Badge, Mr as DialogHeaderProps, Mt as DropdownContent, N as SHADER_PARAM_FALLBACK, Na as Kbd, Ni as BadgeProps, Nr as DialogHeading, Nt as DropdownItem, O as FacetProps, Oa as Text, Oi as Alert, Or as DialogDismiss, Ot as Checkbox, P as SHADER_PARAM_KEYS, Pa as KbdProps, Pi as Button, Pn as FormTextarea, Pr as DialogPanel, Pt as DropdownMenu, Q as DrawerSide, Qi as DescriptionListLabels, Qn as ToolbarButton, Qr as DisclosureContent, R as ShaderParamSpec, Ri as CardContentProps, Rn as useFormStore, Rr as SelectLabel, Rt as PopoverContent, S as ExpressionTone, Sa as Separator, Si as SkeletonTable, Sn as FormSelectItem, Sr as AlertDialogPanel, St as BlockLayout, T as FacetGroupLabels, Ta as HeadingLevel, Ti as SwitchProps, Tr as DialogBodyProps, Tt as RadioGroup, U as getShaderPreset, Ui as CardHeader, Un as IconPickerProps, Ur as TabList, Ut as ConditionBuilderProps, V as ShaderPresetId, Vi as CardFooter, Vn as IconDef, Vr as SelectTrigger, Vt as PopoverTrigger, W as VirtualList, Wi as CardHeaderProps, Wn as ColorPicker, Wt as ConditionDef, X as DrawerPanelProps, Xi as DescriptionList, Xn as NumberInput, Xt as StepDef, Y as DrawerPanel, Yi as IdentityProps, Yn as SliderProps, Yr as TabsRoot, Yt as StepBuilderProps, Z as DrawerRoot, Zi as DescriptionListItem, Zn as NumberInputProps, Zt as FormCheckbox, _ as HighlightProps, _a as ToggleGroup, _i as TextareaProps, _n as FormRadioGroup, _r as ComboboxGroupLabel, _t as ScrollAreaProps, a as InlineEditLabels, aa as BreadcrumbProps, ai as CompositeZone, an as FormField, ar as MenuButtonArrow, at as PanelSize, b as ExpressionGroupProps, ba as OtpField, bi as SkeletonCard, bn as FormRoot, br as ComboboxPopover, bt as BlockBaseProps, c as ColorPaletteDisplay, ca as AccordionContent, ci as CircularProgress, cr as MenuItemRadio, ct as ResizablePanel, d as ColorPalettePickerProps, da as AccordionRootProps, di as ProgressProps, dn as FormLabel, dr as MenuSeparator, dt as ResizablePanelProps, ea as EmptyState, ei as DisclosureTrigger, en as FormControl, er as ToolbarRoot, et as Logo, f as PaletteKind, fa as AccordionTrigger, fi as Avatar, fr as MenuTrigger, ft as Section, g as Highlight, ga as Toggle, gi as Textarea, gn as FormRadio, gr as ComboboxGroup, gt as ScrollArea, h as LiveRegionProps, ha as PrimAccordionTriggerProps, hi as AvatarProps, hn as FormPush, hr as ComboboxEmpty, ht as ContainerProps, i as InlineEdit, ia as BreadcrumbItem, ii as CompositeRow, in as FormError, ir as TooltipProvider, it as PanelImperativeHandle, j as ShaderSurfaceProps, ja as TextRole, ji as SpinnerProps, jn as FormSwitchProps, jr as DialogHeader, jt as CheckboxProps, k as ShaderSurface, ka as TextElement, ki as AlertProps, kn as FormSubmit, kr as DialogFooter, kt as CheckboxGroup, l as ColorPaletteDisplayProps, la as AccordionItem, li as CircularProgressProps, lr as MenuPopover, lt as ResizablePanelGroup, m as LiveRegion, ma as PrimAccordionItemProps, mi as AvatarGroupProps, mn as FormProvider, mr as MenubarRoot, mt as Container, n as KeyPadMenu, na as EmptyStateProps, ni as CompositeItem, nr as Tooltip, nt as GroupImperativeHandle, o as InlineEditProps, oa as StatCard, oi as Meter, on as FormGroup, or as MenuItem, ot as ResizableHandle, p as THEME_PALETTES, pa as PrimAccordionContentProps, pi as AvatarGroup, pr as MenubarContainer, pt as SectionProps, q as PaginationProps, qi as CardTitleProps, qt as ConditionTypeRenderer, r as KeyPadMenuProps, ra as Breadcrumb, ri as CompositeProvider, rn as FormDescription, rr as TooltipAnchor, rt as Layout, s as ColorPalette, sa as StatCardProps, si as MeterProps, sn as FormGroupLabel, sr as MenuItemCheckbox, st as ResizableHandleProps, t as KeyPadItem, ta as EmptyStateAction, ti as Composite, tr as ToolbarSeparator, tt as LogoProps, u as ColorPalettePicker, ua as AccordionRoot, ui as Progress, un as FormInput, ur as MenuRoot, ut as ResizablePanelGroupProps, v as Expression, va as ToggleGroupProps, vi as Skeleton, vn as FormRemove, vr as ComboboxInput, vt as PageHeader, w as FacetGroup, wa as Heading, wi as Switch, wn as FormSelectProps, wr as DialogBody, wt as Radio, x as ExpressionProps, xa as OtpFieldProps, xi as SkeletonProps, xn as FormSelect, xr as ComboboxRoot, xt as createBlock, y as ExpressionGroup, ya as ToggleProps, yi as SkeletonAvatar, yn as FormReset, yr as ComboboxItem, yt as PageHeaderProps, z as ShaderPreset, zi as CardDescription, zn as TagInput, zr as SelectPopover, zt as PopoverContentProps } from "../key-pad-menu-BOVu97bj.cjs";
|
|
3
|
+
import { _ as DateRangePreset, a as FieldDataType, d as ComparisonMode, f as DEFAULT_PRESETS, g as DateRangePickerProps, h as DateRangePicker, i as FIELD_TYPE_TOKENS, l as FieldTokenProps, m as DateRange, n as TextTruncateProps, o as FieldToken, p as DateGranularity, r as TruncationSide, t as TextTruncate, u as resolveFieldType } from "../text-truncate-eMzvU_7k.cjs";
|
|
4
4
|
export { AccordionContent, type PrimAccordionContentProps as AccordionContentProps, AccordionItem, type PrimAccordionItemProps as AccordionItemProps, AccordionRoot, type AccordionRootProps, AccordionTrigger, type PrimAccordionTriggerProps as AccordionTriggerProps, Alert, AlertDialogPanel, type AlertDialogPanelProps, type AlertProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Badge, type BadgeProps, type BlockBaseProps, type BlockBaseProps as SurfaceBaseProps, BlockLayout, BlockLayout as SurfaceLayout, type BlockLayoutProps, type BlockLayoutProps as SurfaceLayoutProps, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, Button, type ButtonProps, Card, CardContent, type CardContentProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, CircularProgress, type CircularProgressProps, type ColorPalette, ColorPaletteDisplay, type ColorPaletteDisplayProps, ColorPalettePicker, type ColorPalettePickerProps, ColorPicker, type ColorPickerProps, ComboboxEmpty, ComboboxGroup, ComboboxGroupLabel, ComboboxInput, ComboboxItem, ComboboxPopover, ComboboxRoot, type ComparisonMode, Composite, CompositeItem, CompositeProvider, CompositeRow, CompositeZone, ConditionBuilder, type ConditionBuilderProps, type ConditionDef, type ConditionGroup, type ConditionOperator, type ConditionTypeRenderer, Container, type ContainerProps, DEFAULT_PRESETS, type DateGranularity, type DateRange, DateRangePicker, type DateRangePickerProps, type DateRangePreset, DescriptionList, type DescriptionListItem, type DescriptionListLabels, type DescriptionListProps, DialogBody, type DialogBodyProps, DialogDescription, DialogDisclosure, DialogDismiss, DialogFooter, type DialogFooterProps, DialogHeader, type DialogHeaderProps, DialogHeading, DialogPanel, DialogRoot, type DialogSize, DisclosureContent, DisclosureRoot, DisclosureTrigger, DrawerClose, DrawerPanel, type DrawerPanelProps, DrawerRoot, type DrawerSide, type DrawerSize, DropdownContent, DropdownItem, DropdownMenu, DropdownSeparator, DropdownTrigger, EmptyState, type EmptyStateAction, type EmptyStateProps, Expression, ExpressionGroup, type ExpressionGroupProps, type ExpressionProps, type ExpressionTone, FIELD_TYPE_TOKENS, Facet, FacetGroup, type FacetGroupLabels, type FacetGroupProps, type FacetItem, type FacetProps, type FieldDataType, FieldToken, type FieldTokenProps, FormCheckbox, FormControl, FormDescription, FormError, FormField, FormGroup, FormGroupLabel, FormInput, FormLabel, FormProvider, FormPush, FormRadio, FormRadioGroup, FormRemove, FormReset, FormRoot, FormSelect, FormSelectItem, FormSelectPopover, type FormSelectProps, FormSubmit, FormSwitch, type FormSwitchProps, FormTextarea, type FormTextareaProps, Heading, type HeadingLevel, type HeadingProps, type HeadingRole, Highlight, type HighlightProps, type IconDef, IconPicker, type IconPickerProps, Identity, type IdentityProps, InlineEdit, type InlineEditLabels, type InlineEditProps, Input, type InputProps, Kbd, type KbdProps, type KeyPadItem, KeyPadMenu, type KeyPadMenuProps, LiveRegion, type LiveRegionProps, Logo, type LogoProps, MenuButtonArrow, MenuItem, MenuItemCheckbox, MenuItemRadio, MenuPopover, MenuRoot, MenuSeparator, MenuTrigger, MenubarContainer, MenubarRoot, Meter, type MeterProps, NumberInput, type NumberInputProps, OtpField, type OtpFieldProps, PageHeader, type PageHeaderProps, Pagination, type PaginationProps, type PaletteKind, PopoverClose, PopoverContent, type PopoverContentProps, PopoverRoot, PopoverTrigger, Progress, type ProgressProps, Radio, RadioGroup, type RadioGroupProps, type RadioProps, ResizableHandle, type ResizableHandleProps, ResizablePanel, ResizablePanelGroup, type GroupImperativeHandle as ResizablePanelGroupHandle, type ResizablePanelGroupProps, type PanelImperativeHandle as ResizablePanelHandle, type Layout as ResizablePanelLayout, type ResizablePanelProps, type PanelSize as ResizablePanelSize, SHADER_OVERLAY_PARAM_KEYS, SHADER_PARAM_FALLBACK, SHADER_PARAM_KEYS, SHADER_PRESETS, SHADER_PRESET_IDS, ScrollArea, type ScrollAreaProps, Section, type SectionProps, SelectItem, SelectLabel, SelectPopover, SelectRoot, SelectTrigger, Separator, type SeparatorProps, type ShaderParamKey, type ShaderParamSpec, type ShaderPreset, type ShaderPresetCategory, type ShaderPresetId, ShaderSurface, type ShaderSurfaceHandle, type ShaderSurfaceProps, Skeleton, SkeletonAvatar, SkeletonCard, type SkeletonProps, SkeletonTable, SkeletonText, Slider, type SliderProps, Spinner, type SpinnerProps, StatCard, type StatCardProps, StepBuilder, type StepBuilderProps, type StepDef, Switch, type SwitchProps, THEME_PALETTES, Tab, TabList, TabPanel, TabsRoot, TagInput, type TagInputProps, Text, type TextElement, type TextProps, type TextRole, type TextTone, TextTruncate, type TextTruncateProps, Textarea, type TextareaProps, Toggle, ToggleGroup, type ToggleGroupProps, type ToggleProps, ToolbarButton, ToolbarContainer, ToolbarRoot, ToolbarSeparator, Tooltip, TooltipAnchor, TooltipProvider, type TruncationSide, VirtualList, type VirtualListProps, createBlock, createBlock as createSurface, getShaderFragment, getShaderPreset, resolveFieldType, useFormContext, useFormStore };
|
package/dist/core/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
|
|
2
|
-
import { $ as DrawerSize, $i as
|
|
3
|
-
import { a as FieldDataType, i as FIELD_TYPE_TOKENS, l as FieldTokenProps, n as TextTruncateProps, o as FieldToken, r as TruncationSide, t as TextTruncate, u as resolveFieldType } from "../text-truncate-
|
|
2
|
+
import { $ as DrawerSize, $i as DescriptionListProps, $n as ToolbarContainer, $r as DisclosureRoot, A as ShaderSurfaceHandle, Aa as TextProps, Ai as Spinner, An as FormSwitch, Ar as DialogFooterProps, At as CheckboxGroupProps, B as ShaderPresetCategory, Bi as CardDescriptionProps, Bn as TagInputProps, Br as SelectRoot, Bt as PopoverRoot, C as Facet, Ca as SeparatorProps, Ci as SkeletonText, Cn as FormSelectPopover, Cr as AlertDialogPanelProps, Ct as BlockLayoutProps, D as FacetItem, Da as HeadingRole, Di as InputProps, Dr as DialogDisclosure, Dt as RadioProps, E as FacetGroupProps, Ea as HeadingProps, Ei as Input, Er as DialogDescription, Et as RadioGroupProps, F as SHADER_PRESETS, Fi as ButtonProps, Fn as FormTextareaProps, Fr as DialogRoot, Ft as DropdownSeparator, G as VirtualListProps, Gi as CardProps, Gn as ColorPickerProps, Gr as TabPanel, Gt as ConditionGroup, H as getShaderFragment, Hi as CardFooterProps, Hn as IconPicker, Hr as Tab, Ht as ConditionBuilder, I as SHADER_PRESET_IDS, Ii as Card, Ir as DialogSize, It as DropdownTrigger, J as DrawerClose, Ji as Identity, Jn as Slider, Jt as StepBuilder, K as Pagination, Ki as CardTitle, Kt as ConditionOperator, L as ShaderParamKey, Li as CardContent, Ln as useFormContext, Lr as SelectItem, Lt as PopoverClose, M as SHADER_OVERLAY_PARAM_KEYS, Ma as TextTone, Mi as Badge, Mr as DialogHeaderProps, Mt as DropdownContent, N as SHADER_PARAM_FALLBACK, Na as Kbd, Ni as BadgeProps, Nr as DialogHeading, Nt as DropdownItem, O as FacetProps, Oa as Text, Oi as Alert, Or as DialogDismiss, Ot as Checkbox, P as SHADER_PARAM_KEYS, Pa as KbdProps, Pi as Button, Pn as FormTextarea, Pr as DialogPanel, Pt as DropdownMenu, Q as DrawerSide, Qi as DescriptionListLabels, Qn as ToolbarButton, Qr as DisclosureContent, R as ShaderParamSpec, Ri as CardContentProps, Rn as useFormStore, Rr as SelectLabel, Rt as PopoverContent, S as ExpressionTone, Sa as Separator, Si as SkeletonTable, Sn as FormSelectItem, Sr as AlertDialogPanel, St as BlockLayout, T as FacetGroupLabels, Ta as HeadingLevel, Ti as SwitchProps, Tr as DialogBodyProps, Tt as RadioGroup, U as getShaderPreset, Ui as CardHeader, Un as IconPickerProps, Ur as TabList, Ut as ConditionBuilderProps, V as ShaderPresetId, Vi as CardFooter, Vn as IconDef, Vr as SelectTrigger, Vt as PopoverTrigger, W as VirtualList, Wi as CardHeaderProps, Wn as ColorPicker, Wt as ConditionDef, X as DrawerPanelProps, Xi as DescriptionList, Xn as NumberInput, Xt as StepDef, Y as DrawerPanel, Yi as IdentityProps, Yn as SliderProps, Yr as TabsRoot, Yt as StepBuilderProps, Z as DrawerRoot, Zi as DescriptionListItem, Zn as NumberInputProps, Zt as FormCheckbox, _ as HighlightProps, _a as ToggleGroup, _i as TextareaProps, _n as FormRadioGroup, _r as ComboboxGroupLabel, _t as ScrollAreaProps, a as InlineEditLabels, aa as BreadcrumbProps, ai as CompositeZone, an as FormField, ar as MenuButtonArrow, at as PanelSize, b as ExpressionGroupProps, ba as OtpField, bi as SkeletonCard, bn as FormRoot, br as ComboboxPopover, bt as BlockBaseProps, c as ColorPaletteDisplay, ca as AccordionContent, ci as CircularProgress, cr as MenuItemRadio, ct as ResizablePanel, d as ColorPalettePickerProps, da as AccordionRootProps, di as ProgressProps, dn as FormLabel, dr as MenuSeparator, dt as ResizablePanelProps, ea as EmptyState, ei as DisclosureTrigger, en as FormControl, er as ToolbarRoot, et as Logo, f as PaletteKind, fa as AccordionTrigger, fi as Avatar, fr as MenuTrigger, ft as Section, g as Highlight, ga as Toggle, gi as Textarea, gn as FormRadio, gr as ComboboxGroup, gt as ScrollArea, h as LiveRegionProps, ha as PrimAccordionTriggerProps, hi as AvatarProps, hn as FormPush, hr as ComboboxEmpty, ht as ContainerProps, i as InlineEdit, ia as BreadcrumbItem, ii as CompositeRow, in as FormError, ir as TooltipProvider, it as PanelImperativeHandle, j as ShaderSurfaceProps, ja as TextRole, ji as SpinnerProps, jn as FormSwitchProps, jr as DialogHeader, jt as CheckboxProps, k as ShaderSurface, ka as TextElement, ki as AlertProps, kn as FormSubmit, kr as DialogFooter, kt as CheckboxGroup, l as ColorPaletteDisplayProps, la as AccordionItem, li as CircularProgressProps, lr as MenuPopover, lt as ResizablePanelGroup, m as LiveRegion, ma as PrimAccordionItemProps, mi as AvatarGroupProps, mn as FormProvider, mr as MenubarRoot, mt as Container, n as KeyPadMenu, na as EmptyStateProps, ni as CompositeItem, nr as Tooltip, nt as GroupImperativeHandle, o as InlineEditProps, oa as StatCard, oi as Meter, on as FormGroup, or as MenuItem, ot as ResizableHandle, p as THEME_PALETTES, pa as PrimAccordionContentProps, pi as AvatarGroup, pr as MenubarContainer, pt as SectionProps, q as PaginationProps, qi as CardTitleProps, qt as ConditionTypeRenderer, r as KeyPadMenuProps, ra as Breadcrumb, ri as CompositeProvider, rn as FormDescription, rr as TooltipAnchor, rt as Layout, s as ColorPalette, sa as StatCardProps, si as MeterProps, sn as FormGroupLabel, sr as MenuItemCheckbox, st as ResizableHandleProps, t as KeyPadItem, ta as EmptyStateAction, ti as Composite, tr as ToolbarSeparator, tt as LogoProps, u as ColorPalettePicker, ua as AccordionRoot, ui as Progress, un as FormInput, ur as MenuRoot, ut as ResizablePanelGroupProps, v as Expression, va as ToggleGroupProps, vi as Skeleton, vn as FormRemove, vr as ComboboxInput, vt as PageHeader, w as FacetGroup, wa as Heading, wi as Switch, wn as FormSelectProps, wr as DialogBody, wt as Radio, x as ExpressionProps, xa as OtpFieldProps, xi as SkeletonProps, xn as FormSelect, xr as ComboboxRoot, xt as createBlock, y as ExpressionGroup, ya as ToggleProps, yi as SkeletonAvatar, yn as FormReset, yr as ComboboxItem, yt as PageHeaderProps, z as ShaderPreset, zi as CardDescription, zn as TagInput, zr as SelectPopover, zt as PopoverContentProps } from "../key-pad-menu-NlZ9zNF8.js";
|
|
3
|
+
import { _ as DateRangePreset, a as FieldDataType, d as ComparisonMode, f as DEFAULT_PRESETS, g as DateRangePickerProps, h as DateRangePicker, i as FIELD_TYPE_TOKENS, l as FieldTokenProps, m as DateRange, n as TextTruncateProps, o as FieldToken, p as DateGranularity, r as TruncationSide, t as TextTruncate, u as resolveFieldType } from "../text-truncate-eMzvU_7k.js";
|
|
4
4
|
export { AccordionContent, type PrimAccordionContentProps as AccordionContentProps, AccordionItem, type PrimAccordionItemProps as AccordionItemProps, AccordionRoot, type AccordionRootProps, AccordionTrigger, type PrimAccordionTriggerProps as AccordionTriggerProps, Alert, AlertDialogPanel, type AlertDialogPanelProps, type AlertProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Badge, type BadgeProps, type BlockBaseProps, type BlockBaseProps as SurfaceBaseProps, BlockLayout, BlockLayout as SurfaceLayout, type BlockLayoutProps, type BlockLayoutProps as SurfaceLayoutProps, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, Button, type ButtonProps, Card, CardContent, type CardContentProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, CircularProgress, type CircularProgressProps, type ColorPalette, ColorPaletteDisplay, type ColorPaletteDisplayProps, ColorPalettePicker, type ColorPalettePickerProps, ColorPicker, type ColorPickerProps, ComboboxEmpty, ComboboxGroup, ComboboxGroupLabel, ComboboxInput, ComboboxItem, ComboboxPopover, ComboboxRoot, type ComparisonMode, Composite, CompositeItem, CompositeProvider, CompositeRow, CompositeZone, ConditionBuilder, type ConditionBuilderProps, type ConditionDef, type ConditionGroup, type ConditionOperator, type ConditionTypeRenderer, Container, type ContainerProps, DEFAULT_PRESETS, type DateGranularity, type DateRange, DateRangePicker, type DateRangePickerProps, type DateRangePreset, DescriptionList, type DescriptionListItem, type DescriptionListLabels, type DescriptionListProps, DialogBody, type DialogBodyProps, DialogDescription, DialogDisclosure, DialogDismiss, DialogFooter, type DialogFooterProps, DialogHeader, type DialogHeaderProps, DialogHeading, DialogPanel, DialogRoot, type DialogSize, DisclosureContent, DisclosureRoot, DisclosureTrigger, DrawerClose, DrawerPanel, type DrawerPanelProps, DrawerRoot, type DrawerSide, type DrawerSize, DropdownContent, DropdownItem, DropdownMenu, DropdownSeparator, DropdownTrigger, EmptyState, type EmptyStateAction, type EmptyStateProps, Expression, ExpressionGroup, type ExpressionGroupProps, type ExpressionProps, type ExpressionTone, FIELD_TYPE_TOKENS, Facet, FacetGroup, type FacetGroupLabels, type FacetGroupProps, type FacetItem, type FacetProps, type FieldDataType, FieldToken, type FieldTokenProps, FormCheckbox, FormControl, FormDescription, FormError, FormField, FormGroup, FormGroupLabel, FormInput, FormLabel, FormProvider, FormPush, FormRadio, FormRadioGroup, FormRemove, FormReset, FormRoot, FormSelect, FormSelectItem, FormSelectPopover, type FormSelectProps, FormSubmit, FormSwitch, type FormSwitchProps, FormTextarea, type FormTextareaProps, Heading, type HeadingLevel, type HeadingProps, type HeadingRole, Highlight, type HighlightProps, type IconDef, IconPicker, type IconPickerProps, Identity, type IdentityProps, InlineEdit, type InlineEditLabels, type InlineEditProps, Input, type InputProps, Kbd, type KbdProps, type KeyPadItem, KeyPadMenu, type KeyPadMenuProps, LiveRegion, type LiveRegionProps, Logo, type LogoProps, MenuButtonArrow, MenuItem, MenuItemCheckbox, MenuItemRadio, MenuPopover, MenuRoot, MenuSeparator, MenuTrigger, MenubarContainer, MenubarRoot, Meter, type MeterProps, NumberInput, type NumberInputProps, OtpField, type OtpFieldProps, PageHeader, type PageHeaderProps, Pagination, type PaginationProps, type PaletteKind, PopoverClose, PopoverContent, type PopoverContentProps, PopoverRoot, PopoverTrigger, Progress, type ProgressProps, Radio, RadioGroup, type RadioGroupProps, type RadioProps, ResizableHandle, type ResizableHandleProps, ResizablePanel, ResizablePanelGroup, type GroupImperativeHandle as ResizablePanelGroupHandle, type ResizablePanelGroupProps, type PanelImperativeHandle as ResizablePanelHandle, type Layout as ResizablePanelLayout, type ResizablePanelProps, type PanelSize as ResizablePanelSize, SHADER_OVERLAY_PARAM_KEYS, SHADER_PARAM_FALLBACK, SHADER_PARAM_KEYS, SHADER_PRESETS, SHADER_PRESET_IDS, ScrollArea, type ScrollAreaProps, Section, type SectionProps, SelectItem, SelectLabel, SelectPopover, SelectRoot, SelectTrigger, Separator, type SeparatorProps, type ShaderParamKey, type ShaderParamSpec, type ShaderPreset, type ShaderPresetCategory, type ShaderPresetId, ShaderSurface, type ShaderSurfaceHandle, type ShaderSurfaceProps, Skeleton, SkeletonAvatar, SkeletonCard, type SkeletonProps, SkeletonTable, SkeletonText, Slider, type SliderProps, Spinner, type SpinnerProps, StatCard, type StatCardProps, StepBuilder, type StepBuilderProps, type StepDef, Switch, type SwitchProps, THEME_PALETTES, Tab, TabList, TabPanel, TabsRoot, TagInput, type TagInputProps, Text, type TextElement, type TextProps, type TextRole, type TextTone, TextTruncate, type TextTruncateProps, Textarea, type TextareaProps, Toggle, ToggleGroup, type ToggleGroupProps, type ToggleProps, ToolbarButton, ToolbarContainer, ToolbarRoot, ToolbarSeparator, Tooltip, TooltipAnchor, TooltipProvider, type TruncationSide, VirtualList, type VirtualListProps, createBlock, createBlock as createSurface, getShaderFragment, getShaderPreset, resolveFieldType, useFormContext, useFormStore };
|
package/dist/core/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { $ as
|
|
3
|
-
import { $ as
|
|
2
|
+
import { $ as useFormContext, $t as CompositeItem, A as FormGroup, An as SkeletonText, At as AlertDialogPanel, B as FormRemove, Bt as SelectItem, C as FormCheckbox, Ct as ComboboxEmpty, D as FormDescription, Dn as SkeletonAvatar, Dt as ComboboxItem, En as Skeleton, Et as ComboboxInput, Ft as DialogFooter, G as FormSelectPopover, Gt as Tab, H as FormRoot, Ht as SelectPopover, I as FormProvider, It as DialogHeader, J as FormSubmit, Jt as TabsRoot, Kt as TabList, L as FormPush, Lt as DialogHeading, Mt as DialogDescription, N as FormInput, Nt as DialogDisclosure, O as FormError, On as SkeletonCard, Ot as ComboboxPopover, P as FormLabel, Pt as DialogDismiss, Qt as Composite, R as FormRadio, Rt as DialogPanel, St as MenubarRoot, T as FormControl, Tn as StatCard, Tt as ComboboxGroupLabel, U as FormSelect, Ut as SelectRoot, V as FormReset, Vt as SelectLabel, W as FormSelectItem, Wt as SelectTrigger, Xt as DisclosureRoot, Y as FormSwitch, Yt as DisclosureContent, Z as FormTextarea, Zt as DisclosureTrigger, _ as DropdownTrigger, _n as Spinner, _t as MenuPopover, bn as EmptyState, bt as MenuTrigger, c as ResizableHandle, ct as PopoverContent, d as Checkbox, dn as ToolbarRoot, dt as Slider, en as CompositeProvider, et as useFormStore, f as CheckboxGroup, fn as ToolbarSeparator, ft as NumberInput, g as DropdownSeparator, gn as Alert, gr as Kbd, gt as MenuItemRadio, h as DropdownMenu, hn as TooltipProvider, ht as MenuItemCheckbox, i as FieldToken, in as Textarea, it as IconPicker, j as FormGroupLabel, jt as DialogBody, k as FormField, kn as SkeletonTable, kt as ComboboxRoot, l as ResizablePanel, ln as ToolbarButton, lt as PopoverRoot, m as DropdownItem, mn as TooltipAnchor, mt as MenuItem, n as Highlight, nn as CompositeZone, nt as DateRangePicker, o as resolveFieldType, on as Switch, ot as ColorPicker, p as DropdownContent, pn as Tooltip, pt as MenuButtonArrow, qt as TabPanel, r as FIELD_TYPE_TOKENS, rn as Meter, rt as TagInput, s as Pagination, sn as Input, st as PopoverClose, t as TextTruncate, tn as CompositeRow, tt as DEFAULT_PRESETS, u as ResizablePanelGroup, un as ToolbarContainer, ut as PopoverTrigger, vn as Badge, vt as MenuRoot, wt as ComboboxGroup, xn as Button, xt as MenubarContainer, yn as DescriptionList, yt as MenuSeparator, z as FormRadioGroup, zt as DialogRoot } from "../text-truncate-Bd-0WkSP.js";
|
|
3
|
+
import { $ as OtpField, B as CardFooter, C as Logo, D as PageHeader, E as ScrollArea, F as CircularProgress, G as AvatarGroup, H as CardTitle, I as Progress, J as AccordionItem, K as Breadcrumb, L as Card, M as RadioGroup, N as ConditionBuilder, O as createBlock, P as StepBuilder, Q as ToggleGroup, R as CardContent, S as DrawerRoot, T as Container, U as Identity, V as CardHeader, W as Avatar, X as AccordionTrigger, Y as AccordionRoot, Z as Toggle, _ as getShaderFragment, a as THEME_PALETTES, b as DrawerClose, c as ExpressionGroup, d as ShaderSurface, et as Separator, f as SHADER_OVERLAY_PARAM_KEYS, g as SHADER_PRESET_IDS, h as SHADER_PRESETS, i as ColorPalettePicker, j as Radio, k as BlockLayout, l as Facet, m as SHADER_PARAM_KEYS, n as InlineEdit, nt as Text, o as LiveRegion, p as SHADER_PARAM_FALLBACK, q as AccordionContent, r as ColorPaletteDisplay, s as Expression, t as KeyPadMenu, tt as Heading, u as FacetGroup, v as getShaderPreset, w as Section, x as DrawerPanel, y as VirtualList, z as CardDescription } from "../key-pad-menu-DMmbQ1jF.js";
|
|
4
4
|
export { AccordionContent, AccordionItem, AccordionRoot, AccordionTrigger, Alert, AlertDialogPanel, Avatar, AvatarGroup, Badge, BlockLayout, BlockLayout as SurfaceLayout, Breadcrumb, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, CheckboxGroup, CircularProgress, ColorPaletteDisplay, ColorPalettePicker, ColorPicker, ComboboxEmpty, ComboboxGroup, ComboboxGroupLabel, ComboboxInput, ComboboxItem, ComboboxPopover, ComboboxRoot, Composite, CompositeItem, CompositeProvider, CompositeRow, CompositeZone, ConditionBuilder, Container, DEFAULT_PRESETS, DateRangePicker, DescriptionList, DialogBody, DialogDescription, DialogDisclosure, DialogDismiss, DialogFooter, DialogHeader, DialogHeading, DialogPanel, DialogRoot, DisclosureContent, DisclosureRoot, DisclosureTrigger, DrawerClose, DrawerPanel, DrawerRoot, DropdownContent, DropdownItem, DropdownMenu, DropdownSeparator, DropdownTrigger, EmptyState, Expression, ExpressionGroup, FIELD_TYPE_TOKENS, Facet, FacetGroup, FieldToken, FormCheckbox, FormControl, FormDescription, FormError, FormField, FormGroup, FormGroupLabel, FormInput, FormLabel, FormProvider, FormPush, FormRadio, FormRadioGroup, FormRemove, FormReset, FormRoot, FormSelect, FormSelectItem, FormSelectPopover, FormSubmit, FormSwitch, FormTextarea, Heading, Highlight, IconPicker, Identity, InlineEdit, Input, Kbd, KeyPadMenu, LiveRegion, Logo, MenuButtonArrow, MenuItem, MenuItemCheckbox, MenuItemRadio, MenuPopover, MenuRoot, MenuSeparator, MenuTrigger, MenubarContainer, MenubarRoot, Meter, NumberInput, OtpField, PageHeader, Pagination, PopoverClose, PopoverContent, PopoverRoot, PopoverTrigger, Progress, Radio, RadioGroup, ResizableHandle, ResizablePanel, ResizablePanelGroup, SHADER_OVERLAY_PARAM_KEYS, SHADER_PARAM_FALLBACK, SHADER_PARAM_KEYS, SHADER_PRESETS, SHADER_PRESET_IDS, ScrollArea, Section, SelectItem, SelectLabel, SelectPopover, SelectRoot, SelectTrigger, Separator, ShaderSurface, Skeleton, SkeletonAvatar, SkeletonCard, SkeletonTable, SkeletonText, Slider, Spinner, StatCard, StepBuilder, Switch, THEME_PALETTES, Tab, TabList, TabPanel, TabsRoot, TagInput, Text, TextTruncate, Textarea, Toggle, ToggleGroup, ToolbarButton, ToolbarContainer, ToolbarRoot, ToolbarSeparator, Tooltip, TooltipAnchor, TooltipProvider, VirtualList, createBlock, createBlock as createSurface, getShaderFragment, getShaderPreset, resolveFieldType, useFormContext, useFormStore };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: "Core Components"
|
|
3
3
|
description: "74 Core layer components — props, examples, keyboard shortcuts."
|
|
4
|
-
version: "1.
|
|
4
|
+
version: "1.13.0"
|
|
5
5
|
generated: true
|
|
6
6
|
---
|
|
7
7
|
|
|
@@ -237,12 +237,12 @@ const store = useFormStore({ defaultValues: { name: "" } });
|
|
|
237
237
|
|
|
238
238
|
**SelectPopover:**
|
|
239
239
|
|
|
240
|
-
| Prop | Type | Required | Default | Description
|
|
241
|
-
| ----------- | ----------- | -------- | ------- |
|
|
242
|
-
| `children` | `ReactNode` | Yes | | SelectItem 목록
|
|
243
|
-
| `sameWidth` | `boolean` | | true | 트리거와 같은 너비
|
|
244
|
-
| `gutter` | `number` | | 4 | 트리거와의 간격 (px)
|
|
245
|
-
| `className` | `string` | | | 기본 스타일 오버라이드
|
|
240
|
+
| Prop | Type | Required | Default | Description |
|
|
241
|
+
| ----------- | ----------- | -------- | ------- | ------------------------------------------------------------------------------ |
|
|
242
|
+
| `children` | `ReactNode` | Yes | | SelectItem 목록 |
|
|
243
|
+
| `sameWidth` | `boolean` | | true | 트리거와 같은 너비 |
|
|
244
|
+
| `gutter` | `number` | | 4 | 트리거와의 간격 (px) **⚠️ deprecated since 1.12.5 — use `sideOffset` instead** |
|
|
245
|
+
| `className` | `string` | | | 기본 스타일 오버라이드 |
|
|
246
246
|
|
|
247
247
|
**SelectItem:**
|
|
248
248
|
|
|
@@ -293,10 +293,10 @@ import {
|
|
|
293
293
|
|
|
294
294
|
**ComboboxRoot:**
|
|
295
295
|
|
|
296
|
-
| Prop | Type | Required | Default | Description
|
|
297
|
-
| ------------------ | ------------------------- | -------- | ------- |
|
|
298
|
-
| `setValue` | `(value: string) => void` | | | 입력값 변경 핸들러
|
|
299
|
-
| `resetValueOnHide` | `boolean` | | false | 팝오버 닫힐 때 입력값 리셋
|
|
296
|
+
| Prop | Type | Required | Default | Description |
|
|
297
|
+
| ------------------ | ------------------------- | -------- | ------- | ------------------------------------------------------------------------------- |
|
|
298
|
+
| `setValue` | `(value: string) => void` | | | 입력값 변경 핸들러 **⚠️ deprecated since 1.12.5 — use `onValueChange` instead** |
|
|
299
|
+
| `resetValueOnHide` | `boolean` | | false | 팝오버 닫힐 때 입력값 리셋 |
|
|
300
300
|
|
|
301
301
|
**ComboboxInput:**
|
|
302
302
|
|
|
@@ -308,12 +308,12 @@ import {
|
|
|
308
308
|
|
|
309
309
|
**ComboboxPopover:**
|
|
310
310
|
|
|
311
|
-
| Prop | Type | Required | Default | Description
|
|
312
|
-
| ----------- | ----------- | -------- | ------- |
|
|
313
|
-
| `children` | `ReactNode` | Yes | | ComboboxItem/Group 목록
|
|
314
|
-
| `sameWidth` | `boolean` | | true | 입력과 같은 너비
|
|
315
|
-
| `gutter` | `number` | | 4 | 입력과의 간격 (px)
|
|
316
|
-
| `className` | `string` | | | 기본 스타일 오버라이드
|
|
311
|
+
| Prop | Type | Required | Default | Description |
|
|
312
|
+
| ----------- | ----------- | -------- | ------- | ---------------------------------------------------------------------------- |
|
|
313
|
+
| `children` | `ReactNode` | Yes | | ComboboxItem/Group 목록 |
|
|
314
|
+
| `sameWidth` | `boolean` | | true | 입력과 같은 너비 |
|
|
315
|
+
| `gutter` | `number` | | 4 | 입력과의 간격 (px) **⚠️ deprecated since 1.12.5 — use `sideOffset` instead** |
|
|
316
|
+
| `className` | `string` | | | 기본 스타일 오버라이드 |
|
|
317
317
|
|
|
318
318
|
**ComboboxItem:**
|
|
319
319
|
|
|
@@ -500,11 +500,11 @@ import {
|
|
|
500
500
|
|
|
501
501
|
**FormSelectPopover:**
|
|
502
502
|
|
|
503
|
-
| Prop | Type | Required | Default | Description
|
|
504
|
-
| ----------- | ----------- | -------- | ------- |
|
|
505
|
-
| `children` | `ReactNode` | Yes | | FormSelectItem 목록
|
|
506
|
-
| `sameWidth` | `boolean` | | true | 트리거와 같은 너비
|
|
507
|
-
| `gutter` | `number` | | 4 | 트리거와의 간격 (px) |
|
|
503
|
+
| Prop | Type | Required | Default | Description |
|
|
504
|
+
| ----------- | ----------- | -------- | ------- | ------------------------------------------------------------------------------ |
|
|
505
|
+
| `children` | `ReactNode` | Yes | | FormSelectItem 목록 |
|
|
506
|
+
| `sameWidth` | `boolean` | | true | 트리거와 같은 너비 |
|
|
507
|
+
| `gutter` | `number` | | 4 | 트리거와의 간격 (px) **⚠️ deprecated since 1.12.5 — use `sideOffset` instead** |
|
|
508
508
|
|
|
509
509
|
**FormSelectItem:**
|
|
510
510
|
|
|
@@ -1115,11 +1115,11 @@ import {
|
|
|
1115
1115
|
|
|
1116
1116
|
**MenuPopover:**
|
|
1117
1117
|
|
|
1118
|
-
| Prop | Type | Required | Default | Description
|
|
1119
|
-
| ----------- | ----------- | -------- | ------- |
|
|
1120
|
-
| `children` | `ReactNode` | Yes | | MenuItem 목록
|
|
1121
|
-
| `gutter` | `number` | | 8 | 트리거와의 간격 (px)
|
|
1122
|
-
| `className` | `string` | | | 기본 스타일 오버라이드
|
|
1118
|
+
| Prop | Type | Required | Default | Description |
|
|
1119
|
+
| ----------- | ----------- | -------- | ------- | ------------------------------------------------------------------------------ |
|
|
1120
|
+
| `children` | `ReactNode` | Yes | | MenuItem 목록 |
|
|
1121
|
+
| `gutter` | `number` | | 8 | 트리거와의 간격 (px) **⚠️ deprecated since 1.12.5 — use `sideOffset` instead** |
|
|
1122
|
+
| `className` | `string` | | | 기본 스타일 오버라이드 |
|
|
1123
1123
|
|
|
1124
1124
|
**MenuItem:**
|
|
1125
1125
|
|
|
@@ -1174,9 +1174,9 @@ import {
|
|
|
1174
1174
|
|
|
1175
1175
|
**DropdownContent:**
|
|
1176
1176
|
|
|
1177
|
-
| Prop | Type | Required | Default | Description
|
|
1178
|
-
| -------- | -------- | -------- | ------- |
|
|
1179
|
-
| `gutter` | `number` | | 4 | 트리거와의 간격 (px) |
|
|
1177
|
+
| Prop | Type | Required | Default | Description |
|
|
1178
|
+
| -------- | -------- | -------- | ------- | ------------------------------------------------------------------------------ |
|
|
1179
|
+
| `gutter` | `number` | | 4 | 트리거와의 간격 (px) **⚠️ deprecated since 1.12.5 — use `sideOffset` instead** |
|
|
1180
1180
|
|
|
1181
1181
|
**DropdownItem:**
|
|
1182
1182
|
|
|
@@ -1200,10 +1200,10 @@ import {
|
|
|
1200
1200
|
|
|
1201
1201
|
**Import:** `import { PopoverRoot } from "@reopt-ai/opt-ui"`
|
|
1202
1202
|
|
|
1203
|
-
| Prop | Type | Required | Default | Description
|
|
1204
|
-
| ----------- | -------- | -------- | ------- |
|
|
1205
|
-
| `gutter` | `number` | | 8 | 트리거와의 간격 (px) |
|
|
1206
|
-
| `className` | `string` | | | 커스텀 CSS 클래스
|
|
1203
|
+
| Prop | Type | Required | Default | Description |
|
|
1204
|
+
| ----------- | -------- | -------- | ------- | ------------------------------------------------------------------------------ |
|
|
1205
|
+
| `gutter` | `number` | | 8 | 트리거와의 간격 (px) **⚠️ deprecated since 1.12.5 — use `sideOffset` instead** |
|
|
1206
|
+
| `className` | `string` | | | 커스텀 CSS 클래스 |
|
|
1207
1207
|
|
|
1208
1208
|
**Keyboard Shortcuts:**
|
|
1209
1209
|
|
|
@@ -1220,12 +1220,12 @@ import {
|
|
|
1220
1220
|
|
|
1221
1221
|
**TabsRoot:**
|
|
1222
1222
|
|
|
1223
|
-
| Prop | Type | Required | Default | Description
|
|
1224
|
-
| ------------------- | ------------------------------ | -------- | ------- |
|
|
1225
|
-
| `variant` | `"underline" \| "workspace"` | | | 탭 프레임 형태. workspace는 편집기 탭(문서/쿼리처럼 열고 닫히며 상태를 갖는 작업 단위)
|
|
1226
|
-
| `defaultSelectedId` | `string` | | | 초기 선택된 탭 ID
|
|
1227
|
-
| `selectedId` | `string \| null` | | | 제어 모드: 선택된 탭 ID
|
|
1228
|
-
| `setSelectedId` | `(id: string \| null) => void` | | | 제어 모드: 탭 변경 핸들러
|
|
1223
|
+
| Prop | Type | Required | Default | Description |
|
|
1224
|
+
| ------------------- | ------------------------------ | -------- | ------- | ------------------------------------------------------------------------------------------- |
|
|
1225
|
+
| `variant` | `"underline" \| "workspace"` | | | 탭 프레임 형태. workspace는 편집기 탭(문서/쿼리처럼 열고 닫히며 상태를 갖는 작업 단위) |
|
|
1226
|
+
| `defaultSelectedId` | `string` | | | 초기 선택된 탭 ID |
|
|
1227
|
+
| `selectedId` | `string \| null` | | | 제어 모드: 선택된 탭 ID |
|
|
1228
|
+
| `setSelectedId` | `(id: string \| null) => void` | | | 제어 모드: 탭 변경 핸들러 **⚠️ deprecated since 1.12.5 — use `onSelectedIdChange` instead** |
|
|
1229
1229
|
|
|
1230
1230
|
**TabList:**
|
|
1231
1231
|
|
|
@@ -1270,11 +1270,11 @@ import {
|
|
|
1270
1270
|
|
|
1271
1271
|
**DisclosureRoot:**
|
|
1272
1272
|
|
|
1273
|
-
| Prop | Type | Required | Default | Description
|
|
1274
|
-
| ------------- | ------------------------- | -------- | ------- |
|
|
1275
|
-
| `open` | `boolean` | | | 제어 모드: 열림 상태
|
|
1276
|
-
| `setOpen` | `(open: boolean) => void` | | | 제어 모드: 상태 변경 핸들러 |
|
|
1277
|
-
| `defaultOpen` | `boolean` | | false | 비제어 모드: 초기 열림 상태
|
|
1273
|
+
| Prop | Type | Required | Default | Description |
|
|
1274
|
+
| ------------- | ------------------------- | -------- | ------- | --------------------------------------------------------------------------------------- |
|
|
1275
|
+
| `open` | `boolean` | | | 제어 모드: 열림 상태 |
|
|
1276
|
+
| `setOpen` | `(open: boolean) => void` | | | 제어 모드: 상태 변경 핸들러 **⚠️ deprecated since 1.12.5 — use `onOpenChange` instead** |
|
|
1277
|
+
| `defaultOpen` | `boolean` | | false | 비제어 모드: 초기 열림 상태 |
|
|
1278
1278
|
|
|
1279
1279
|
**DisclosureTrigger:**
|
|
1280
1280
|
|
|
@@ -1304,10 +1304,10 @@ import {
|
|
|
1304
1304
|
|
|
1305
1305
|
**DialogRoot:**
|
|
1306
1306
|
|
|
1307
|
-
| Prop | Type | Required | Default | Description
|
|
1308
|
-
| --------- | ------------------------- | -------- | ------- |
|
|
1309
|
-
| `open` | `boolean` | | | 제어 모드: 열림 상태
|
|
1310
|
-
| `setOpen` | `(open: boolean) => void` | | | 제어 모드: 상태 변경 핸들러 |
|
|
1307
|
+
| Prop | Type | Required | Default | Description |
|
|
1308
|
+
| --------- | ------------------------- | -------- | ------- | --------------------------------------------------------------------------------------- |
|
|
1309
|
+
| `open` | `boolean` | | | 제어 모드: 열림 상태 |
|
|
1310
|
+
| `setOpen` | `(open: boolean) => void` | | | 제어 모드: 상태 변경 핸들러 **⚠️ deprecated since 1.12.5 — use `onOpenChange` instead** |
|
|
1311
1311
|
|
|
1312
1312
|
**DialogDisclosure:**
|
|
1313
1313
|
|