klun-ui 0.2.2 → 0.4.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 +182 -0
- package/README.md +1 -1
- package/dist/Chip-DiCYJmnv.d.cts +18 -0
- package/dist/Chip-DiCYJmnv.d.ts +18 -0
- package/dist/{chunk-UJOMGMCV.js → chunk-TREMQLWT.js} +536 -45
- package/dist/chunk-TREMQLWT.js.map +1 -0
- package/dist/{chunk-T7O3RMWL.cjs → chunk-XLK6BYW3.cjs} +541 -44
- package/dist/chunk-XLK6BYW3.cjs.map +1 -0
- package/dist/index.cjs +182 -158
- package/dist/index.d.cts +144 -17
- package/dist/index.d.ts +144 -17
- package/dist/index.js +1 -1
- package/dist/styles.css +439 -6
- package/dist/templates/index.cjs +12883 -1755
- package/dist/templates/index.cjs.map +1 -1
- package/dist/templates/index.d.cts +359 -9
- package/dist/templates/index.d.ts +359 -9
- package/dist/templates/index.js +13078 -2001
- package/dist/templates/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-T7O3RMWL.cjs.map +0 -1
- package/dist/chunk-UJOMGMCV.js.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ButtonHTMLAttributes, ReactNode, HTMLAttributes, CSSProperties, TimeHTMLAttributes, InputHTMLAttributes, LabelHTMLAttributes, SelectHTMLAttributes, FormHTMLAttributes, ReactElement, ChangeEvent, TextareaHTMLAttributes, ElementType, MouseEvent as MouseEvent$1 } from 'react';
|
|
3
|
+
import { C as ChipColor } from './Chip-DiCYJmnv.cjs';
|
|
4
|
+
export { a as Chip, b as ChipProps } from './Chip-DiCYJmnv.cjs';
|
|
3
5
|
|
|
4
6
|
type ClassValue = string | number | false | null | undefined;
|
|
5
7
|
/** Tiny classnames joiner — filters falsy values and joins with a space. */
|
|
@@ -627,20 +629,6 @@ interface ChartTooltipProps extends Omit<HTMLAttributes<HTMLDivElement>, "title"
|
|
|
627
629
|
/** Klun UI ChartTooltip — floating chart readout with title + keyed series rows. */
|
|
628
630
|
declare const ChartTooltip: react.ForwardRefExoticComponent<ChartTooltipProps & react.RefAttributes<HTMLDivElement>>;
|
|
629
631
|
|
|
630
|
-
type ChipColor = "gray" | "blue" | "orange" | "red" | "green" | "purple" | "yellow" | "teal" | "sky" | "pink";
|
|
631
|
-
interface ChipProps extends HTMLAttributes<HTMLSpanElement> {
|
|
632
|
-
color?: ChipColor;
|
|
633
|
-
selected?: boolean;
|
|
634
|
-
/** Show a leading color dot. */
|
|
635
|
-
dot?: boolean;
|
|
636
|
-
/** Show a dismiss (×) button; receives the click handler. */
|
|
637
|
-
onDismiss?: () => void;
|
|
638
|
-
disabled?: boolean;
|
|
639
|
-
children?: ReactNode;
|
|
640
|
-
}
|
|
641
|
-
/** Klun UI Chip — compact, optionally-selectable color category pill. */
|
|
642
|
-
declare const Chip: react.ForwardRefExoticComponent<ChipProps & react.RefAttributes<HTMLSpanElement>>;
|
|
643
|
-
|
|
644
632
|
interface CodeViewerProps extends Omit<HTMLAttributes<HTMLDivElement>, "title"> {
|
|
645
633
|
code: string;
|
|
646
634
|
title?: ReactNode;
|
|
@@ -811,6 +799,76 @@ declare function parsePatch(patch: string): DiffHunk[];
|
|
|
811
799
|
*/
|
|
812
800
|
declare const DiffViewer: react.ForwardRefExoticComponent<DiffViewerProps & react.RefAttributes<HTMLDivElement>>;
|
|
813
801
|
|
|
802
|
+
interface KanbanCard {
|
|
803
|
+
id: string;
|
|
804
|
+
title: ReactNode;
|
|
805
|
+
description?: ReactNode;
|
|
806
|
+
/** Small footer row — avatars, counts, due dates… */
|
|
807
|
+
meta?: ReactNode;
|
|
808
|
+
tags?: ReactNode[];
|
|
809
|
+
accent?: string;
|
|
810
|
+
}
|
|
811
|
+
interface KanbanColumn {
|
|
812
|
+
id: string;
|
|
813
|
+
title: ReactNode;
|
|
814
|
+
cards: KanbanCard[];
|
|
815
|
+
/** Soft limit; the header shows `n/limit` and turns red when exceeded. */
|
|
816
|
+
limit?: number;
|
|
817
|
+
accent?: string;
|
|
818
|
+
}
|
|
819
|
+
interface KanbanProps extends Omit<HTMLAttributes<HTMLDivElement>, "onSelect"> {
|
|
820
|
+
columns: KanbanColumn[];
|
|
821
|
+
/** Fired when a card is dropped in another position/column. */
|
|
822
|
+
onMove?: (cardId: string, fromColumn: string, toColumn: string, toIndex: number) => void;
|
|
823
|
+
onCardClick?: (card: KanbanCard, columnId: string) => void;
|
|
824
|
+
/** Replace the default card body. */
|
|
825
|
+
renderCard?: (card: KanbanCard, columnId: string) => ReactNode;
|
|
826
|
+
/** Rendered under each column — e.g. a "+ Add card" button. */
|
|
827
|
+
columnFooter?: (column: KanbanColumn) => ReactNode;
|
|
828
|
+
columnWidth?: number;
|
|
829
|
+
style?: CSSProperties;
|
|
830
|
+
}
|
|
831
|
+
/**
|
|
832
|
+
* Kanban — dependency-free drag & drop board. Columns hold cards; dropping a
|
|
833
|
+
* card calls `onMove(cardId, fromColumn, toColumn, toIndex)` so the parent owns
|
|
834
|
+
* the data. Native HTML5 DnD, keyboard-clickable cards.
|
|
835
|
+
*/
|
|
836
|
+
declare const Kanban: react.ForwardRefExoticComponent<KanbanProps & react.RefAttributes<HTMLDivElement>>;
|
|
837
|
+
|
|
838
|
+
interface VirtualColumn<Row> {
|
|
839
|
+
key: string;
|
|
840
|
+
header: ReactNode;
|
|
841
|
+
/** Fixed px width; omit to share the remaining space. */
|
|
842
|
+
width?: number;
|
|
843
|
+
align?: "left" | "center" | "right";
|
|
844
|
+
render?: (row: Row, index: number) => ReactNode;
|
|
845
|
+
}
|
|
846
|
+
interface VirtualTableProps<Row = Record<string, unknown>> extends Omit<HTMLAttributes<HTMLDivElement>, "onSelect"> {
|
|
847
|
+
rows: Row[];
|
|
848
|
+
columns: Array<VirtualColumn<Row>>;
|
|
849
|
+
/** Fixed row height in px — required for windowing. Default `40`. */
|
|
850
|
+
rowHeight?: number;
|
|
851
|
+
/** Viewport height in px. Default `420`. */
|
|
852
|
+
height?: number;
|
|
853
|
+
getRowId?: (row: Row, index: number) => string | number;
|
|
854
|
+
onRowClick?: (row: Row, index: number) => void;
|
|
855
|
+
/** Extra rows rendered above/below the viewport. Default `8`. */
|
|
856
|
+
overscan?: number;
|
|
857
|
+
zebra?: boolean;
|
|
858
|
+
empty?: ReactNode;
|
|
859
|
+
style?: CSSProperties;
|
|
860
|
+
}
|
|
861
|
+
/**
|
|
862
|
+
* VirtualTable — windowed table for very large datasets (100k+ rows). Renders
|
|
863
|
+
* only the visible slice plus `overscan`, so scrolling stays smooth. Columns use
|
|
864
|
+
* the same render-function shape as `Table`, minus sorting/selection (keep that
|
|
865
|
+
* work server-side for big data).
|
|
866
|
+
*/
|
|
867
|
+
declare function VirtualTable<Row = Record<string, unknown>>({ rows, columns, rowHeight, height, getRowId, onRowClick, overscan, zebra, empty, className, style, ...props }: VirtualTableProps<Row>): react.JSX.Element;
|
|
868
|
+
declare namespace VirtualTable {
|
|
869
|
+
var displayName: string;
|
|
870
|
+
}
|
|
871
|
+
|
|
814
872
|
interface KbdProps extends HTMLAttributes<HTMLElement> {
|
|
815
873
|
children?: ReactNode;
|
|
816
874
|
}
|
|
@@ -1729,7 +1787,10 @@ interface CascaderOption {
|
|
|
1729
1787
|
}
|
|
1730
1788
|
interface CascaderProps extends Omit<HTMLAttributes<HTMLDivElement>, "onChange"> {
|
|
1731
1789
|
options: CascaderOption[];
|
|
1790
|
+
/** Selected path, root → leaf. Controlled. */
|
|
1732
1791
|
value?: string[];
|
|
1792
|
+
/** Initial path in uncontrolled mode. */
|
|
1793
|
+
defaultValue?: string[];
|
|
1733
1794
|
onChange?: (path: string[]) => void;
|
|
1734
1795
|
placeholder?: string;
|
|
1735
1796
|
size?: "small" | "medium" | "large";
|
|
@@ -1739,11 +1800,16 @@ interface CascaderProps extends Omit<HTMLAttributes<HTMLDivElement>, "onChange">
|
|
|
1739
1800
|
separator?: string;
|
|
1740
1801
|
/** Emit onChange on every level, not just leaves. */
|
|
1741
1802
|
changeOnSelect?: boolean;
|
|
1803
|
+
/** Show a clear button once a path is selected. */
|
|
1804
|
+
clearable?: boolean;
|
|
1805
|
+
/** Render a panel row yourself — the trigger still uses `option.label`. */
|
|
1806
|
+
renderOption?: (option: CascaderOption, level: number) => ReactNode;
|
|
1742
1807
|
}
|
|
1743
1808
|
/**
|
|
1744
1809
|
* Cascader — multi-column drill-down selector for hierarchical data
|
|
1745
|
-
* (region, category…). Controlled via `value` (array of keys) /
|
|
1746
|
-
* `
|
|
1810
|
+
* (region, category, department…). Controlled via `value` (array of keys) /
|
|
1811
|
+
* `onChange` — or uncontrolled with `defaultValue`. `options`:
|
|
1812
|
+
* [{ value, label, disabled?, children? }]. `ref` forwards to the root.
|
|
1747
1813
|
*/
|
|
1748
1814
|
declare const Cascader: react.ForwardRefExoticComponent<CascaderProps & react.RefAttributes<HTMLDivElement>>;
|
|
1749
1815
|
|
|
@@ -1922,6 +1988,43 @@ interface CompactSelectForInputProps extends Omit<SelectHTMLAttributes<HTMLSelec
|
|
|
1922
1988
|
*/
|
|
1923
1989
|
declare const CompactSelectForInput: react.ForwardRefExoticComponent<CompactSelectForInputProps & react.RefAttributes<HTMLSelectElement>>;
|
|
1924
1990
|
|
|
1991
|
+
interface CronPreset {
|
|
1992
|
+
label: string;
|
|
1993
|
+
value: string;
|
|
1994
|
+
}
|
|
1995
|
+
/** Common schedules offered as one-click chips. */
|
|
1996
|
+
declare const CRON_PRESETS: CronPreset[];
|
|
1997
|
+
interface CronEditorLabels {
|
|
1998
|
+
minute: string;
|
|
1999
|
+
hour: string;
|
|
2000
|
+
day: string;
|
|
2001
|
+
month: string;
|
|
2002
|
+
weekday: string;
|
|
2003
|
+
every: string;
|
|
2004
|
+
expression: string;
|
|
2005
|
+
}
|
|
2006
|
+
interface CronEditorProps extends Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "style"> {
|
|
2007
|
+
/** Cron expression, five fields: minute hour day month weekday. */
|
|
2008
|
+
value?: string;
|
|
2009
|
+
defaultValue?: string;
|
|
2010
|
+
onChange?: (value: string) => void;
|
|
2011
|
+
/** Hide the preset chips. */
|
|
2012
|
+
hidePresets?: boolean;
|
|
2013
|
+
disabled?: boolean;
|
|
2014
|
+
size?: "small" | "medium";
|
|
2015
|
+
/** Field labels — override to localise. */
|
|
2016
|
+
labels?: Partial<CronEditorLabels>;
|
|
2017
|
+
style?: CSSProperties;
|
|
2018
|
+
}
|
|
2019
|
+
/** Turn a five-field cron into a readable sentence (best effort). */
|
|
2020
|
+
declare function describeCron(cron: string): string;
|
|
2021
|
+
/**
|
|
2022
|
+
* CronEditor — visual five-field cron builder. Preset chips plus one select per
|
|
2023
|
+
* field, a live human-readable preview and an editable raw expression.
|
|
2024
|
+
* Controlled via `value` / `onChange` (or uncontrolled with `defaultValue`).
|
|
2025
|
+
*/
|
|
2026
|
+
declare const CronEditor: react.ForwardRefExoticComponent<CronEditorProps & react.RefAttributes<HTMLDivElement>>;
|
|
2027
|
+
|
|
1925
2028
|
type CounterInputSize = "small" | "medium" | "large";
|
|
1926
2029
|
interface CounterInputProps extends Omit<HTMLAttributes<HTMLDivElement>, "onChange"> {
|
|
1927
2030
|
value?: number;
|
|
@@ -2367,6 +2470,30 @@ interface RichEditorToolbarProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
2367
2470
|
/** RichEditorToolbar — formatting toolbar for a text editor (presentational). */
|
|
2368
2471
|
declare const RichEditorToolbar: react.ForwardRefExoticComponent<RichEditorToolbarProps & react.RefAttributes<HTMLDivElement>>;
|
|
2369
2472
|
|
|
2473
|
+
interface RichEditorProps extends Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> {
|
|
2474
|
+
/** HTML value. Controlled. */
|
|
2475
|
+
value?: string;
|
|
2476
|
+
defaultValue?: string;
|
|
2477
|
+
onChange?: (html: string) => void;
|
|
2478
|
+
placeholder?: string;
|
|
2479
|
+
disabled?: boolean;
|
|
2480
|
+
/** Hide the formatting toolbar. */
|
|
2481
|
+
hideToolbar?: boolean;
|
|
2482
|
+
minHeight?: number;
|
|
2483
|
+
maxHeight?: number;
|
|
2484
|
+
/** Show the “view HTML” toggle. Default `true`. */
|
|
2485
|
+
allowSource?: boolean;
|
|
2486
|
+
/** Accessible name for the editable region. */
|
|
2487
|
+
editorLabel?: string;
|
|
2488
|
+
style?: CSSProperties;
|
|
2489
|
+
}
|
|
2490
|
+
/**
|
|
2491
|
+
* RichEditor — contentEditable editor with the klun formatting toolbar, a
|
|
2492
|
+
* placeholder, and an optional HTML source view. Emits HTML through `onChange`.
|
|
2493
|
+
* Inline images and links use a prompt; everything else is caret-aware.
|
|
2494
|
+
*/
|
|
2495
|
+
declare const RichEditor: react.ForwardRefExoticComponent<RichEditorProps & react.RefAttributes<HTMLDivElement>>;
|
|
2496
|
+
|
|
2370
2497
|
interface SelectProps extends Omit<SelectHTMLAttributes<HTMLSelectElement>, "size" | "style"> {
|
|
2371
2498
|
size?: "xsmall" | "small" | "medium" | "large";
|
|
2372
2499
|
placeholder?: string;
|
|
@@ -3209,4 +3336,4 @@ interface PopoverProps extends Omit<HTMLAttributes<HTMLSpanElement>, "children">
|
|
|
3209
3336
|
*/
|
|
3210
3337
|
declare const Popover: react.ForwardRefExoticComponent<PopoverProps & react.RefAttributes<HTMLSpanElement>>;
|
|
3211
3338
|
|
|
3212
|
-
export { type Accent, Accordion, type AccordionItem, type AccordionProps, Alert, type AlertProps, type AlertStatus, type AlertVariant, AutoComplete, type AutoCompleteOption, type AutoCompleteProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarSize, type AvatarStatus, Badge, type BadgeColor, type BadgeProps, type BadgeVariant, Banner, type BannerProps, type BannerStatus, type BannerVariant, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, type Breakpoint, BulkAction, BulkActionBar, type BulkActionBarProps, type BulkActionProps, Button, type ButtonAppearance, ButtonGroup, type ButtonGroupItem, type ButtonGroupProps, type ButtonGroupSize, type ButtonKind, type ButtonProps, type ButtonSize, type ButtonVariant, Card, type CardProps, type CardVariant, Carousel, type CarouselProps, Cascader, type CascaderOption, type CascaderProps, CharacterCounter, type CharacterCounterProps, ChartLegend, type ChartLegendItem, type ChartLegendProps, ChartTooltip, type ChartTooltipProps, type ChartTooltipRow, Checkbox, CheckboxCard, type CheckboxCardAlign, type CheckboxCardProps, CheckboxGroup, type CheckboxGroupOption, type CheckboxGroupProps, type CheckboxProps, type CheckboxSize,
|
|
3339
|
+
export { type Accent, Accordion, type AccordionItem, type AccordionProps, Alert, type AlertProps, type AlertStatus, type AlertVariant, AutoComplete, type AutoCompleteOption, type AutoCompleteProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarSize, type AvatarStatus, Badge, type BadgeColor, type BadgeProps, type BadgeVariant, Banner, type BannerProps, type BannerStatus, type BannerVariant, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, type Breakpoint, BulkAction, BulkActionBar, type BulkActionBarProps, type BulkActionProps, Button, type ButtonAppearance, ButtonGroup, type ButtonGroupItem, type ButtonGroupProps, type ButtonGroupSize, type ButtonKind, type ButtonProps, type ButtonSize, type ButtonVariant, CRON_PRESETS, Card, type CardProps, type CardVariant, Carousel, type CarouselProps, Cascader, type CascaderOption, type CascaderProps, CharacterCounter, type CharacterCounterProps, ChartLegend, type ChartLegendItem, type ChartLegendProps, ChartTooltip, type ChartTooltipProps, type ChartTooltipRow, Checkbox, CheckboxCard, type CheckboxCardAlign, type CheckboxCardProps, CheckboxGroup, type CheckboxGroupOption, type CheckboxGroupProps, type CheckboxProps, type CheckboxSize, ChipColor, CircularProgress, type CircularProgressColor, type CircularProgressProps, type ClassValue, CodeViewer, type CodeViewerProps, Col, type ColProps, type ColSize, Collapse, type CollapseProps, ColorDot, type ColorDotProps, type ColorDotSize, ColorPicker, type ColorPickerProps, ColorSlider, type ColorSliderProps, type ColorSliderSize, type CommandGroup, type CommandItem, CommandMenu, type CommandMenuProps, type CompactButtonAppearance, type CompactButtonProps, type CompactButtonSize, CompactSelect, type CompactSelectAppearance, CompactSelectForInput, type CompactSelectForInputProps, type CompactSelectForInputSide, type CompactSelectForInputSize, type CompactSelectProps, type CompactSelectSize, type ComponentSize, ConfigProvider, type ConfigProviderProps, Confirm, type ConfirmIntent, type ConfirmOptions, type ConfirmRequireInput, type ConfirmResult, ContentLabel, type ContentLabelColor, type ContentLabelProps, ContextMenu, type ContextMenuItem, type ContextMenuProps, type ContextMenuState, CopyButton, type CopyButtonProps, type CopyButtonSize, type CopyButtonVariant, type CountdownResult, CounterInput, type CounterInputProps, type CounterInputSize, CronEditor, type CronEditorProps, type CronPreset, CrossRefBadge, type CrossRefBadgeProps, type CrossRefKind, type CrossRefPreview, DatePicker, type DatePickerProps, type DateRange, DateRangePicker, type DateRangePickerProps, DateTimePicker, type DateTimePickerProps, type DefaultButtonProps, type DescriptionItem, Descriptions, type DescriptionsLayout, type DescriptionsProps, type DescriptionsSize, type DescriptionsVariant, type DiffHunk, type DiffLine, type DiffLineType, type DiffMode, type DiffSide, DiffViewer, type DiffViewerProps, DigitInput, type DigitInputProps, type DigitInputSize, type Direction, Divider, type DividerProps, type DividerVariant, type DotTone, Drawer, type DrawerPlacement, type DrawerProps, Dropdown, type DropdownItem, type DropdownProps, EmptyState, type EmptyStateProps, ExpiryCountdown, type ExpiryCountdownProps, type FancyButtonProps, type FancyButtonSize, type FancyButtonVariant, type FieldSize, FileUpload, type FileUploadProps, Flex, type FlexGap, type FlexProps, Form, type FormInstance, FormItem, type FormItemProps, FormList, type FormListField, type FormListOperations, type FormListProps, type FormProps, type FormRule, Format, type FormatApi, GaugeBar, type GaugeBarColor, type GaugeBarProps, type GaugeBarSize, Grid, type Gutter, Hint, type HintProps, HorizontalFilter, type HorizontalFilterItem, type HorizontalFilterProps, type HorizontalFilterSize, type ImageItem, ImageUpload, type ImageUploadProps, type ImageUploadShape, ImageViewer, type ImageViewerProps, InlineInput, type InlineInputProps, type InlineInputTone, type InlineInputWeight, InlineSelect, type InlineSelectProps, type InlineSelectTone, type InlineSelectWeight, Input, type InputProps, Kanban, type KanbanCard, type KanbanColumn, type KanbanProps, Kbd, type KbdProps, KeyIcon, type KeyIconAppearance, type KeyIconColor, type KeyIconProps, type KeyIconSize, type KlunConfig, Label, type LabelProps, Layout, LayoutContent, type LayoutContentProps, LayoutFooter, type LayoutFooterProps, LayoutHeader, type LayoutHeaderProps, type LayoutProps, LayoutSider, type LinkButtonProps, type LinkButtonSize, type LinkButtonVariant, List, ListItem, type ListItemProps, type ListProps, LiveDot, type LiveDotProps, type Locale, type LogLevel, type LogLine, LogViewer, type LogViewerProps, Markdown, type MarkdownProps, Masonry, type MasonryBreakpoints, type MasonryColumns, type MasonryGutter, type MasonryProps, Menu, type MenuItem, type MenuProps, Message, type MessageApi, type MessageOptions, type MessageProps, type MessageStatus, Modal, type ModalProps, Money, type MoneyOptions, type MoneyPeriod, type MoneyProps, type MoneyResult, type MoneySize, type MoneyTone, type NamePath, Notification, type NotificationApi, type NotificationOptions, type NotificationPlacement, type NotificationProps, type NotificationStatus, PageHeader, type PageHeaderProps, type PageHeaderTab, Pagination, type PaginationProps, PasswordStrength, type PasswordStrengthLevel, type PasswordStrengthProps, type PctOptions, Popconfirm, type PopconfirmProps, Popover, type PopoverProps, ProgressBar, type ProgressBarProps, type ProgressColor, Radio, RadioCard, type RadioCardAlign, type RadioCardProps, type RadioProps, type RadioSize, type Radius, RangeSlider, type RangeSliderProps, type RangeSliderSize, Rating, type RatingProps, type RelTimeOptions, RelativeTime, type RelativeTimeProps, type Responsive, Result, type ResultProps, type ResultStatus, RichEditor, type RichEditorProps, RichEditorToolbar, type RichEditorToolbarProps, Row, type RowAlign, type RowJustify, type RowProps, type Rules, type ScreenMap, type SegmentItem, SegmentedControl, type SegmentedControlProps, SegmentedProgress, type SegmentedProgressColor, type SegmentedProgressProps, Select, SelectMenu, type SelectMenuOption, type SelectMenuProps, type SelectMenuSize, type SelectProps, type SiderProps, type SiderTheme, type SizeOptions, Skeleton, type SkeletonProps, Slider, type SliderProps, type SliderSize, type SortDir, Space, type SpaceProps, type SpaceSize, Spinner, type SpinnerProps, type SpinnerSize, Splitter, type SplitterLayout, SplitterPanel, type SplitterPanelProps, type SplitterProps, StatCard, type StatCardProps, type StatCardTint, Statistic, type StatisticProps, StatusBadge, type StatusBadgeProps, StatusDot, type StatusDotProps, type StatusTone, type Step, StepIndicator, type StepIndicatorProps, Switch, type SwitchProps, type SwitchSize, type TabItem, Table, type TableColumn, type TableMenuItem, type TableProps, type TableSort, Tabs, type TabsProps, type TabsVariant, Tag, type TagProps, Textarea, type TextareaProps, type TextareaSize, type Theme, TimePicker, type TimePickerProps, Timeline, type TimelineItem, type TimelineProps, Toast, type ToastAction, type ToastOptions, type ToastPosition, type ToastPromiseMessages, type ToastProps, type ToastStatus, Toaster, type ToasterProps, Tooltip, type TooltipProps, Tree, type TreeNode, type TreeProps, type UseFormOptions, type UseMessageDefaults, type UseNotificationDefaults, type VirtualColumn, VirtualTable, type VirtualTableProps, type WikiLinkResolver, Wizard, type WizardProps, type WizardStep, arSA, cx, deDE, describeCron, enUS, esES, fmt, frFR, idID, itIT, jaJP, koKR, locales, nlNL, parsePatch, plPL, primaryColorVars, ptBR, renderMarkdown, ruRU, toast, trTR, useBreakpoint, useConfig, useContextMenu, useForm, useLocale, useMappedSize, useMessage, useNotification, useSize, viVN, zhCN, zhTW };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ButtonHTMLAttributes, ReactNode, HTMLAttributes, CSSProperties, TimeHTMLAttributes, InputHTMLAttributes, LabelHTMLAttributes, SelectHTMLAttributes, FormHTMLAttributes, ReactElement, ChangeEvent, TextareaHTMLAttributes, ElementType, MouseEvent as MouseEvent$1 } from 'react';
|
|
3
|
+
import { C as ChipColor } from './Chip-DiCYJmnv.js';
|
|
4
|
+
export { a as Chip, b as ChipProps } from './Chip-DiCYJmnv.js';
|
|
3
5
|
|
|
4
6
|
type ClassValue = string | number | false | null | undefined;
|
|
5
7
|
/** Tiny classnames joiner — filters falsy values and joins with a space. */
|
|
@@ -627,20 +629,6 @@ interface ChartTooltipProps extends Omit<HTMLAttributes<HTMLDivElement>, "title"
|
|
|
627
629
|
/** Klun UI ChartTooltip — floating chart readout with title + keyed series rows. */
|
|
628
630
|
declare const ChartTooltip: react.ForwardRefExoticComponent<ChartTooltipProps & react.RefAttributes<HTMLDivElement>>;
|
|
629
631
|
|
|
630
|
-
type ChipColor = "gray" | "blue" | "orange" | "red" | "green" | "purple" | "yellow" | "teal" | "sky" | "pink";
|
|
631
|
-
interface ChipProps extends HTMLAttributes<HTMLSpanElement> {
|
|
632
|
-
color?: ChipColor;
|
|
633
|
-
selected?: boolean;
|
|
634
|
-
/** Show a leading color dot. */
|
|
635
|
-
dot?: boolean;
|
|
636
|
-
/** Show a dismiss (×) button; receives the click handler. */
|
|
637
|
-
onDismiss?: () => void;
|
|
638
|
-
disabled?: boolean;
|
|
639
|
-
children?: ReactNode;
|
|
640
|
-
}
|
|
641
|
-
/** Klun UI Chip — compact, optionally-selectable color category pill. */
|
|
642
|
-
declare const Chip: react.ForwardRefExoticComponent<ChipProps & react.RefAttributes<HTMLSpanElement>>;
|
|
643
|
-
|
|
644
632
|
interface CodeViewerProps extends Omit<HTMLAttributes<HTMLDivElement>, "title"> {
|
|
645
633
|
code: string;
|
|
646
634
|
title?: ReactNode;
|
|
@@ -811,6 +799,76 @@ declare function parsePatch(patch: string): DiffHunk[];
|
|
|
811
799
|
*/
|
|
812
800
|
declare const DiffViewer: react.ForwardRefExoticComponent<DiffViewerProps & react.RefAttributes<HTMLDivElement>>;
|
|
813
801
|
|
|
802
|
+
interface KanbanCard {
|
|
803
|
+
id: string;
|
|
804
|
+
title: ReactNode;
|
|
805
|
+
description?: ReactNode;
|
|
806
|
+
/** Small footer row — avatars, counts, due dates… */
|
|
807
|
+
meta?: ReactNode;
|
|
808
|
+
tags?: ReactNode[];
|
|
809
|
+
accent?: string;
|
|
810
|
+
}
|
|
811
|
+
interface KanbanColumn {
|
|
812
|
+
id: string;
|
|
813
|
+
title: ReactNode;
|
|
814
|
+
cards: KanbanCard[];
|
|
815
|
+
/** Soft limit; the header shows `n/limit` and turns red when exceeded. */
|
|
816
|
+
limit?: number;
|
|
817
|
+
accent?: string;
|
|
818
|
+
}
|
|
819
|
+
interface KanbanProps extends Omit<HTMLAttributes<HTMLDivElement>, "onSelect"> {
|
|
820
|
+
columns: KanbanColumn[];
|
|
821
|
+
/** Fired when a card is dropped in another position/column. */
|
|
822
|
+
onMove?: (cardId: string, fromColumn: string, toColumn: string, toIndex: number) => void;
|
|
823
|
+
onCardClick?: (card: KanbanCard, columnId: string) => void;
|
|
824
|
+
/** Replace the default card body. */
|
|
825
|
+
renderCard?: (card: KanbanCard, columnId: string) => ReactNode;
|
|
826
|
+
/** Rendered under each column — e.g. a "+ Add card" button. */
|
|
827
|
+
columnFooter?: (column: KanbanColumn) => ReactNode;
|
|
828
|
+
columnWidth?: number;
|
|
829
|
+
style?: CSSProperties;
|
|
830
|
+
}
|
|
831
|
+
/**
|
|
832
|
+
* Kanban — dependency-free drag & drop board. Columns hold cards; dropping a
|
|
833
|
+
* card calls `onMove(cardId, fromColumn, toColumn, toIndex)` so the parent owns
|
|
834
|
+
* the data. Native HTML5 DnD, keyboard-clickable cards.
|
|
835
|
+
*/
|
|
836
|
+
declare const Kanban: react.ForwardRefExoticComponent<KanbanProps & react.RefAttributes<HTMLDivElement>>;
|
|
837
|
+
|
|
838
|
+
interface VirtualColumn<Row> {
|
|
839
|
+
key: string;
|
|
840
|
+
header: ReactNode;
|
|
841
|
+
/** Fixed px width; omit to share the remaining space. */
|
|
842
|
+
width?: number;
|
|
843
|
+
align?: "left" | "center" | "right";
|
|
844
|
+
render?: (row: Row, index: number) => ReactNode;
|
|
845
|
+
}
|
|
846
|
+
interface VirtualTableProps<Row = Record<string, unknown>> extends Omit<HTMLAttributes<HTMLDivElement>, "onSelect"> {
|
|
847
|
+
rows: Row[];
|
|
848
|
+
columns: Array<VirtualColumn<Row>>;
|
|
849
|
+
/** Fixed row height in px — required for windowing. Default `40`. */
|
|
850
|
+
rowHeight?: number;
|
|
851
|
+
/** Viewport height in px. Default `420`. */
|
|
852
|
+
height?: number;
|
|
853
|
+
getRowId?: (row: Row, index: number) => string | number;
|
|
854
|
+
onRowClick?: (row: Row, index: number) => void;
|
|
855
|
+
/** Extra rows rendered above/below the viewport. Default `8`. */
|
|
856
|
+
overscan?: number;
|
|
857
|
+
zebra?: boolean;
|
|
858
|
+
empty?: ReactNode;
|
|
859
|
+
style?: CSSProperties;
|
|
860
|
+
}
|
|
861
|
+
/**
|
|
862
|
+
* VirtualTable — windowed table for very large datasets (100k+ rows). Renders
|
|
863
|
+
* only the visible slice plus `overscan`, so scrolling stays smooth. Columns use
|
|
864
|
+
* the same render-function shape as `Table`, minus sorting/selection (keep that
|
|
865
|
+
* work server-side for big data).
|
|
866
|
+
*/
|
|
867
|
+
declare function VirtualTable<Row = Record<string, unknown>>({ rows, columns, rowHeight, height, getRowId, onRowClick, overscan, zebra, empty, className, style, ...props }: VirtualTableProps<Row>): react.JSX.Element;
|
|
868
|
+
declare namespace VirtualTable {
|
|
869
|
+
var displayName: string;
|
|
870
|
+
}
|
|
871
|
+
|
|
814
872
|
interface KbdProps extends HTMLAttributes<HTMLElement> {
|
|
815
873
|
children?: ReactNode;
|
|
816
874
|
}
|
|
@@ -1729,7 +1787,10 @@ interface CascaderOption {
|
|
|
1729
1787
|
}
|
|
1730
1788
|
interface CascaderProps extends Omit<HTMLAttributes<HTMLDivElement>, "onChange"> {
|
|
1731
1789
|
options: CascaderOption[];
|
|
1790
|
+
/** Selected path, root → leaf. Controlled. */
|
|
1732
1791
|
value?: string[];
|
|
1792
|
+
/** Initial path in uncontrolled mode. */
|
|
1793
|
+
defaultValue?: string[];
|
|
1733
1794
|
onChange?: (path: string[]) => void;
|
|
1734
1795
|
placeholder?: string;
|
|
1735
1796
|
size?: "small" | "medium" | "large";
|
|
@@ -1739,11 +1800,16 @@ interface CascaderProps extends Omit<HTMLAttributes<HTMLDivElement>, "onChange">
|
|
|
1739
1800
|
separator?: string;
|
|
1740
1801
|
/** Emit onChange on every level, not just leaves. */
|
|
1741
1802
|
changeOnSelect?: boolean;
|
|
1803
|
+
/** Show a clear button once a path is selected. */
|
|
1804
|
+
clearable?: boolean;
|
|
1805
|
+
/** Render a panel row yourself — the trigger still uses `option.label`. */
|
|
1806
|
+
renderOption?: (option: CascaderOption, level: number) => ReactNode;
|
|
1742
1807
|
}
|
|
1743
1808
|
/**
|
|
1744
1809
|
* Cascader — multi-column drill-down selector for hierarchical data
|
|
1745
|
-
* (region, category…). Controlled via `value` (array of keys) /
|
|
1746
|
-
* `
|
|
1810
|
+
* (region, category, department…). Controlled via `value` (array of keys) /
|
|
1811
|
+
* `onChange` — or uncontrolled with `defaultValue`. `options`:
|
|
1812
|
+
* [{ value, label, disabled?, children? }]. `ref` forwards to the root.
|
|
1747
1813
|
*/
|
|
1748
1814
|
declare const Cascader: react.ForwardRefExoticComponent<CascaderProps & react.RefAttributes<HTMLDivElement>>;
|
|
1749
1815
|
|
|
@@ -1922,6 +1988,43 @@ interface CompactSelectForInputProps extends Omit<SelectHTMLAttributes<HTMLSelec
|
|
|
1922
1988
|
*/
|
|
1923
1989
|
declare const CompactSelectForInput: react.ForwardRefExoticComponent<CompactSelectForInputProps & react.RefAttributes<HTMLSelectElement>>;
|
|
1924
1990
|
|
|
1991
|
+
interface CronPreset {
|
|
1992
|
+
label: string;
|
|
1993
|
+
value: string;
|
|
1994
|
+
}
|
|
1995
|
+
/** Common schedules offered as one-click chips. */
|
|
1996
|
+
declare const CRON_PRESETS: CronPreset[];
|
|
1997
|
+
interface CronEditorLabels {
|
|
1998
|
+
minute: string;
|
|
1999
|
+
hour: string;
|
|
2000
|
+
day: string;
|
|
2001
|
+
month: string;
|
|
2002
|
+
weekday: string;
|
|
2003
|
+
every: string;
|
|
2004
|
+
expression: string;
|
|
2005
|
+
}
|
|
2006
|
+
interface CronEditorProps extends Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "style"> {
|
|
2007
|
+
/** Cron expression, five fields: minute hour day month weekday. */
|
|
2008
|
+
value?: string;
|
|
2009
|
+
defaultValue?: string;
|
|
2010
|
+
onChange?: (value: string) => void;
|
|
2011
|
+
/** Hide the preset chips. */
|
|
2012
|
+
hidePresets?: boolean;
|
|
2013
|
+
disabled?: boolean;
|
|
2014
|
+
size?: "small" | "medium";
|
|
2015
|
+
/** Field labels — override to localise. */
|
|
2016
|
+
labels?: Partial<CronEditorLabels>;
|
|
2017
|
+
style?: CSSProperties;
|
|
2018
|
+
}
|
|
2019
|
+
/** Turn a five-field cron into a readable sentence (best effort). */
|
|
2020
|
+
declare function describeCron(cron: string): string;
|
|
2021
|
+
/**
|
|
2022
|
+
* CronEditor — visual five-field cron builder. Preset chips plus one select per
|
|
2023
|
+
* field, a live human-readable preview and an editable raw expression.
|
|
2024
|
+
* Controlled via `value` / `onChange` (or uncontrolled with `defaultValue`).
|
|
2025
|
+
*/
|
|
2026
|
+
declare const CronEditor: react.ForwardRefExoticComponent<CronEditorProps & react.RefAttributes<HTMLDivElement>>;
|
|
2027
|
+
|
|
1925
2028
|
type CounterInputSize = "small" | "medium" | "large";
|
|
1926
2029
|
interface CounterInputProps extends Omit<HTMLAttributes<HTMLDivElement>, "onChange"> {
|
|
1927
2030
|
value?: number;
|
|
@@ -2367,6 +2470,30 @@ interface RichEditorToolbarProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
2367
2470
|
/** RichEditorToolbar — formatting toolbar for a text editor (presentational). */
|
|
2368
2471
|
declare const RichEditorToolbar: react.ForwardRefExoticComponent<RichEditorToolbarProps & react.RefAttributes<HTMLDivElement>>;
|
|
2369
2472
|
|
|
2473
|
+
interface RichEditorProps extends Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> {
|
|
2474
|
+
/** HTML value. Controlled. */
|
|
2475
|
+
value?: string;
|
|
2476
|
+
defaultValue?: string;
|
|
2477
|
+
onChange?: (html: string) => void;
|
|
2478
|
+
placeholder?: string;
|
|
2479
|
+
disabled?: boolean;
|
|
2480
|
+
/** Hide the formatting toolbar. */
|
|
2481
|
+
hideToolbar?: boolean;
|
|
2482
|
+
minHeight?: number;
|
|
2483
|
+
maxHeight?: number;
|
|
2484
|
+
/** Show the “view HTML” toggle. Default `true`. */
|
|
2485
|
+
allowSource?: boolean;
|
|
2486
|
+
/** Accessible name for the editable region. */
|
|
2487
|
+
editorLabel?: string;
|
|
2488
|
+
style?: CSSProperties;
|
|
2489
|
+
}
|
|
2490
|
+
/**
|
|
2491
|
+
* RichEditor — contentEditable editor with the klun formatting toolbar, a
|
|
2492
|
+
* placeholder, and an optional HTML source view. Emits HTML through `onChange`.
|
|
2493
|
+
* Inline images and links use a prompt; everything else is caret-aware.
|
|
2494
|
+
*/
|
|
2495
|
+
declare const RichEditor: react.ForwardRefExoticComponent<RichEditorProps & react.RefAttributes<HTMLDivElement>>;
|
|
2496
|
+
|
|
2370
2497
|
interface SelectProps extends Omit<SelectHTMLAttributes<HTMLSelectElement>, "size" | "style"> {
|
|
2371
2498
|
size?: "xsmall" | "small" | "medium" | "large";
|
|
2372
2499
|
placeholder?: string;
|
|
@@ -3209,4 +3336,4 @@ interface PopoverProps extends Omit<HTMLAttributes<HTMLSpanElement>, "children">
|
|
|
3209
3336
|
*/
|
|
3210
3337
|
declare const Popover: react.ForwardRefExoticComponent<PopoverProps & react.RefAttributes<HTMLSpanElement>>;
|
|
3211
3338
|
|
|
3212
|
-
export { type Accent, Accordion, type AccordionItem, type AccordionProps, Alert, type AlertProps, type AlertStatus, type AlertVariant, AutoComplete, type AutoCompleteOption, type AutoCompleteProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarSize, type AvatarStatus, Badge, type BadgeColor, type BadgeProps, type BadgeVariant, Banner, type BannerProps, type BannerStatus, type BannerVariant, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, type Breakpoint, BulkAction, BulkActionBar, type BulkActionBarProps, type BulkActionProps, Button, type ButtonAppearance, ButtonGroup, type ButtonGroupItem, type ButtonGroupProps, type ButtonGroupSize, type ButtonKind, type ButtonProps, type ButtonSize, type ButtonVariant, Card, type CardProps, type CardVariant, Carousel, type CarouselProps, Cascader, type CascaderOption, type CascaderProps, CharacterCounter, type CharacterCounterProps, ChartLegend, type ChartLegendItem, type ChartLegendProps, ChartTooltip, type ChartTooltipProps, type ChartTooltipRow, Checkbox, CheckboxCard, type CheckboxCardAlign, type CheckboxCardProps, CheckboxGroup, type CheckboxGroupOption, type CheckboxGroupProps, type CheckboxProps, type CheckboxSize,
|
|
3339
|
+
export { type Accent, Accordion, type AccordionItem, type AccordionProps, Alert, type AlertProps, type AlertStatus, type AlertVariant, AutoComplete, type AutoCompleteOption, type AutoCompleteProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarSize, type AvatarStatus, Badge, type BadgeColor, type BadgeProps, type BadgeVariant, Banner, type BannerProps, type BannerStatus, type BannerVariant, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, type Breakpoint, BulkAction, BulkActionBar, type BulkActionBarProps, type BulkActionProps, Button, type ButtonAppearance, ButtonGroup, type ButtonGroupItem, type ButtonGroupProps, type ButtonGroupSize, type ButtonKind, type ButtonProps, type ButtonSize, type ButtonVariant, CRON_PRESETS, Card, type CardProps, type CardVariant, Carousel, type CarouselProps, Cascader, type CascaderOption, type CascaderProps, CharacterCounter, type CharacterCounterProps, ChartLegend, type ChartLegendItem, type ChartLegendProps, ChartTooltip, type ChartTooltipProps, type ChartTooltipRow, Checkbox, CheckboxCard, type CheckboxCardAlign, type CheckboxCardProps, CheckboxGroup, type CheckboxGroupOption, type CheckboxGroupProps, type CheckboxProps, type CheckboxSize, ChipColor, CircularProgress, type CircularProgressColor, type CircularProgressProps, type ClassValue, CodeViewer, type CodeViewerProps, Col, type ColProps, type ColSize, Collapse, type CollapseProps, ColorDot, type ColorDotProps, type ColorDotSize, ColorPicker, type ColorPickerProps, ColorSlider, type ColorSliderProps, type ColorSliderSize, type CommandGroup, type CommandItem, CommandMenu, type CommandMenuProps, type CompactButtonAppearance, type CompactButtonProps, type CompactButtonSize, CompactSelect, type CompactSelectAppearance, CompactSelectForInput, type CompactSelectForInputProps, type CompactSelectForInputSide, type CompactSelectForInputSize, type CompactSelectProps, type CompactSelectSize, type ComponentSize, ConfigProvider, type ConfigProviderProps, Confirm, type ConfirmIntent, type ConfirmOptions, type ConfirmRequireInput, type ConfirmResult, ContentLabel, type ContentLabelColor, type ContentLabelProps, ContextMenu, type ContextMenuItem, type ContextMenuProps, type ContextMenuState, CopyButton, type CopyButtonProps, type CopyButtonSize, type CopyButtonVariant, type CountdownResult, CounterInput, type CounterInputProps, type CounterInputSize, CronEditor, type CronEditorProps, type CronPreset, CrossRefBadge, type CrossRefBadgeProps, type CrossRefKind, type CrossRefPreview, DatePicker, type DatePickerProps, type DateRange, DateRangePicker, type DateRangePickerProps, DateTimePicker, type DateTimePickerProps, type DefaultButtonProps, type DescriptionItem, Descriptions, type DescriptionsLayout, type DescriptionsProps, type DescriptionsSize, type DescriptionsVariant, type DiffHunk, type DiffLine, type DiffLineType, type DiffMode, type DiffSide, DiffViewer, type DiffViewerProps, DigitInput, type DigitInputProps, type DigitInputSize, type Direction, Divider, type DividerProps, type DividerVariant, type DotTone, Drawer, type DrawerPlacement, type DrawerProps, Dropdown, type DropdownItem, type DropdownProps, EmptyState, type EmptyStateProps, ExpiryCountdown, type ExpiryCountdownProps, type FancyButtonProps, type FancyButtonSize, type FancyButtonVariant, type FieldSize, FileUpload, type FileUploadProps, Flex, type FlexGap, type FlexProps, Form, type FormInstance, FormItem, type FormItemProps, FormList, type FormListField, type FormListOperations, type FormListProps, type FormProps, type FormRule, Format, type FormatApi, GaugeBar, type GaugeBarColor, type GaugeBarProps, type GaugeBarSize, Grid, type Gutter, Hint, type HintProps, HorizontalFilter, type HorizontalFilterItem, type HorizontalFilterProps, type HorizontalFilterSize, type ImageItem, ImageUpload, type ImageUploadProps, type ImageUploadShape, ImageViewer, type ImageViewerProps, InlineInput, type InlineInputProps, type InlineInputTone, type InlineInputWeight, InlineSelect, type InlineSelectProps, type InlineSelectTone, type InlineSelectWeight, Input, type InputProps, Kanban, type KanbanCard, type KanbanColumn, type KanbanProps, Kbd, type KbdProps, KeyIcon, type KeyIconAppearance, type KeyIconColor, type KeyIconProps, type KeyIconSize, type KlunConfig, Label, type LabelProps, Layout, LayoutContent, type LayoutContentProps, LayoutFooter, type LayoutFooterProps, LayoutHeader, type LayoutHeaderProps, type LayoutProps, LayoutSider, type LinkButtonProps, type LinkButtonSize, type LinkButtonVariant, List, ListItem, type ListItemProps, type ListProps, LiveDot, type LiveDotProps, type Locale, type LogLevel, type LogLine, LogViewer, type LogViewerProps, Markdown, type MarkdownProps, Masonry, type MasonryBreakpoints, type MasonryColumns, type MasonryGutter, type MasonryProps, Menu, type MenuItem, type MenuProps, Message, type MessageApi, type MessageOptions, type MessageProps, type MessageStatus, Modal, type ModalProps, Money, type MoneyOptions, type MoneyPeriod, type MoneyProps, type MoneyResult, type MoneySize, type MoneyTone, type NamePath, Notification, type NotificationApi, type NotificationOptions, type NotificationPlacement, type NotificationProps, type NotificationStatus, PageHeader, type PageHeaderProps, type PageHeaderTab, Pagination, type PaginationProps, PasswordStrength, type PasswordStrengthLevel, type PasswordStrengthProps, type PctOptions, Popconfirm, type PopconfirmProps, Popover, type PopoverProps, ProgressBar, type ProgressBarProps, type ProgressColor, Radio, RadioCard, type RadioCardAlign, type RadioCardProps, type RadioProps, type RadioSize, type Radius, RangeSlider, type RangeSliderProps, type RangeSliderSize, Rating, type RatingProps, type RelTimeOptions, RelativeTime, type RelativeTimeProps, type Responsive, Result, type ResultProps, type ResultStatus, RichEditor, type RichEditorProps, RichEditorToolbar, type RichEditorToolbarProps, Row, type RowAlign, type RowJustify, type RowProps, type Rules, type ScreenMap, type SegmentItem, SegmentedControl, type SegmentedControlProps, SegmentedProgress, type SegmentedProgressColor, type SegmentedProgressProps, Select, SelectMenu, type SelectMenuOption, type SelectMenuProps, type SelectMenuSize, type SelectProps, type SiderProps, type SiderTheme, type SizeOptions, Skeleton, type SkeletonProps, Slider, type SliderProps, type SliderSize, type SortDir, Space, type SpaceProps, type SpaceSize, Spinner, type SpinnerProps, type SpinnerSize, Splitter, type SplitterLayout, SplitterPanel, type SplitterPanelProps, type SplitterProps, StatCard, type StatCardProps, type StatCardTint, Statistic, type StatisticProps, StatusBadge, type StatusBadgeProps, StatusDot, type StatusDotProps, type StatusTone, type Step, StepIndicator, type StepIndicatorProps, Switch, type SwitchProps, type SwitchSize, type TabItem, Table, type TableColumn, type TableMenuItem, type TableProps, type TableSort, Tabs, type TabsProps, type TabsVariant, Tag, type TagProps, Textarea, type TextareaProps, type TextareaSize, type Theme, TimePicker, type TimePickerProps, Timeline, type TimelineItem, type TimelineProps, Toast, type ToastAction, type ToastOptions, type ToastPosition, type ToastPromiseMessages, type ToastProps, type ToastStatus, Toaster, type ToasterProps, Tooltip, type TooltipProps, Tree, type TreeNode, type TreeProps, type UseFormOptions, type UseMessageDefaults, type UseNotificationDefaults, type VirtualColumn, VirtualTable, type VirtualTableProps, type WikiLinkResolver, Wizard, type WizardProps, type WizardStep, arSA, cx, deDE, describeCron, enUS, esES, fmt, frFR, idID, itIT, jaJP, koKR, locales, nlNL, parsePatch, plPL, primaryColorVars, ptBR, renderMarkdown, ruRU, toast, trTR, useBreakpoint, useConfig, useContextMenu, useForm, useLocale, useMappedSize, useMessage, useNotification, useSize, viVN, zhCN, zhTW };
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Accordion, Alert, AutoComplete, Avatar, AvatarGroup, Badge, Banner, Breadcrumb, BulkAction, BulkActionBar, Button, ButtonGroup, Card, Carousel, Cascader, CharacterCounter, ChartLegend, ChartTooltip, Checkbox, CheckboxCard, CheckboxGroup, Chip, CircularProgress, CodeViewer, Col, Collapse, ColorDot, ColorPicker, ColorSlider, CommandMenu, CompactSelect, CompactSelectForInput, ConfigProvider, Confirm, ContentLabel, ContextMenu, CopyButton, CounterInput, CrossRefBadge, DatePicker, DateRangePicker, DateTimePicker, Descriptions, DiffViewer, DigitInput, Divider, Drawer, Dropdown, EmptyState, ExpiryCountdown, FileUpload, Flex, Form, FormItem, FormList, Format, GaugeBar, Grid, Hint, HorizontalFilter, ImageUpload, ImageViewer, InlineInput, InlineSelect, Input, Kbd, KeyIcon, Label, Layout, LayoutContent, LayoutFooter, LayoutHeader, LayoutSider, List, ListItem, LiveDot, LogViewer, Markdown, Masonry, Menu, Message, Modal, Money, Notification, PageHeader, Pagination, PasswordStrength, Popconfirm, Popover, ProgressBar, Radio, RadioCard, RangeSlider, Rating, RelativeTime, Result, RichEditorToolbar, Row, SegmentedControl, SegmentedProgress, Select, SelectMenu, Skeleton, Slider, Space, Spinner, Splitter, SplitterPanel, StatCard, Statistic, StatusBadge, StatusDot, StepIndicator, Switch, Table, Tabs, Tag, Textarea, TimePicker, Timeline, Toast, Toaster, Tooltip, Tree, Wizard, arSA, deDE, enUS, esES, fmt, frFR, idID, itIT, jaJP, koKR, locales, nlNL, parsePatch, plPL, primaryColorVars, ptBR, renderMarkdown, ruRU, toast, trTR, useBreakpoint, useConfig, useContextMenu, useForm, useLocale, useMappedSize, useMessage, useNotification, useSize, viVN, zhCN, zhTW } from './chunk-
|
|
1
|
+
export { Accordion, Alert, AutoComplete, Avatar, AvatarGroup, Badge, Banner, Breadcrumb, BulkAction, BulkActionBar, Button, ButtonGroup, CRON_PRESETS, Card, Carousel, Cascader, CharacterCounter, ChartLegend, ChartTooltip, Checkbox, CheckboxCard, CheckboxGroup, Chip, CircularProgress, CodeViewer, Col, Collapse, ColorDot, ColorPicker, ColorSlider, CommandMenu, CompactSelect, CompactSelectForInput, ConfigProvider, Confirm, ContentLabel, ContextMenu, CopyButton, CounterInput, CronEditor, CrossRefBadge, DatePicker, DateRangePicker, DateTimePicker, Descriptions, DiffViewer, DigitInput, Divider, Drawer, Dropdown, EmptyState, ExpiryCountdown, FileUpload, Flex, Form, FormItem, FormList, Format, GaugeBar, Grid, Hint, HorizontalFilter, ImageUpload, ImageViewer, InlineInput, InlineSelect, Input, Kanban, Kbd, KeyIcon, Label, Layout, LayoutContent, LayoutFooter, LayoutHeader, LayoutSider, List, ListItem, LiveDot, LogViewer, Markdown, Masonry, Menu, Message, Modal, Money, Notification, PageHeader, Pagination, PasswordStrength, Popconfirm, Popover, ProgressBar, Radio, RadioCard, RangeSlider, Rating, RelativeTime, Result, RichEditor, RichEditorToolbar, Row, SegmentedControl, SegmentedProgress, Select, SelectMenu, Skeleton, Slider, Space, Spinner, Splitter, SplitterPanel, StatCard, Statistic, StatusBadge, StatusDot, StepIndicator, Switch, Table, Tabs, Tag, Textarea, TimePicker, Timeline, Toast, Toaster, Tooltip, Tree, VirtualTable, Wizard, arSA, deDE, describeCron, enUS, esES, fmt, frFR, idID, itIT, jaJP, koKR, locales, nlNL, parsePatch, plPL, primaryColorVars, ptBR, renderMarkdown, ruRU, toast, trTR, useBreakpoint, useConfig, useContextMenu, useForm, useLocale, useMappedSize, useMessage, useNotification, useSize, viVN, zhCN, zhTW } from './chunk-TREMQLWT.js';
|
|
2
2
|
export { cx } from './chunk-T225J6LV.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
4
4
|
//# sourceMappingURL=index.js.map
|