@bioturing/components 0.30.0 → 0.31.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.
Files changed (31) hide show
  1. package/dist/components/choice-list/component.js +26 -28
  2. package/dist/components/choice-list/component.js.map +1 -1
  3. package/dist/components/code-block/component.js +10 -10
  4. package/dist/components/combobox/component.js +113 -112
  5. package/dist/components/combobox/component.js.map +1 -1
  6. package/dist/components/command-palette/component.js +79 -0
  7. package/dist/components/command-palette/component.js.map +1 -0
  8. package/dist/components/command-palette/style.css +1 -0
  9. package/dist/components/dropdown-menu/component.js +117 -189
  10. package/dist/components/dropdown-menu/component.js.map +1 -1
  11. package/dist/components/dropdown-menu/item.css +1 -1
  12. package/dist/components/dropdown-menu/item.js +50 -37
  13. package/dist/components/dropdown-menu/item.js.map +1 -1
  14. package/dist/components/dropdown-menu/style.css +1 -1
  15. package/dist/components/dropdown-menu/useDropdownMenu.js +124 -0
  16. package/dist/components/dropdown-menu/useDropdownMenu.js.map +1 -0
  17. package/dist/components/keyboard-shortcut/component.js +72 -0
  18. package/dist/components/keyboard-shortcut/component.js.map +1 -0
  19. package/dist/components/keyboard-shortcut/style.css +1 -0
  20. package/dist/components/loader/component.js +15 -0
  21. package/dist/components/loader/component.js.map +1 -0
  22. package/dist/components/loader/style.css +1 -0
  23. package/dist/components/popup-panel/style.css +1 -1
  24. package/dist/components/theme-provider/style.css +1 -1
  25. package/dist/components/toast/style.css +1 -1
  26. package/dist/index.d.ts +180 -51
  27. package/dist/index.js +203 -197
  28. package/dist/index.js.map +1 -1
  29. package/dist/metadata.js +47 -2
  30. package/dist/metadata.js.map +1 -1
  31. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { componentMetadata as r, getComponentsByCategory as t } from "./metadata.js";
2
- import { Affix as a, Alert as m, Anchor as f, App as s, AutoComplete as x, Avatar as l, BackTop as n, Calendar as i, Card as C, Carousel as c, Cascader as u, Col as T, ColorPicker as d, ConfigProvider as S, DatePicker as g, Descriptions as A, Divider as h, Drawer as E, Dropdown as P, Flex as k, FloatButton as R, Grid as b, InputNumber as D, Layout as I, List as L, Mentions as O, Menu as B, Pagination as v, Popconfirm as y, Progress as N, QRCode as M, Rate as _, Result as w, Row as U, Skeleton as W, Space as F, Statistic as V, Steps as q, Tabs as z, TimePicker as G, Timeline as K, Transfer as Q, TreeSelect as H, Typography as j, Watermark as J, message as X, notification as Y, theme as Z, unstableSetRender as $, version as oo } from "antd";
2
+ import { Affix as p, Alert as m, Anchor as f, App as s, AutoComplete as x, Avatar as l, BackTop as n, Calendar as i, Card as C, Carousel as c, Cascader as u, Col as T, ColorPicker as d, ConfigProvider as S, DatePicker as g, Descriptions as h, Divider as A, Drawer as E, Dropdown as P, Flex as b, FloatButton as k, Grid as R, InputNumber as D, Layout as I, List as L, Mentions as O, Menu as y, Pagination as B, Popconfirm as v, Progress as N, QRCode as M, Rate as _, Result as w, Row as U, Skeleton as W, Space as F, Statistic as V, Steps as K, Tabs as q, TimePicker as z, Timeline as G, Transfer as Q, TreeSelect as H, Typography as j, Watermark as J, message as X, notification as Y, theme as Z, unstableSetRender as $, version as oo } from "antd";
3
3
  import { Select as ro } from "./components/select/component.js";
4
- import { Modal as po } from "./components/modal/index.js";
4
+ import { Modal as ao } from "./components/modal/index.js";
5
5
  import { IconButton as mo } from "./components/icon-button/component.js";
6
6
  import { Switch as so } from "./components/switch/component.js";
7
7
  import { Checkbox as lo } from "./components/checkbox/component.js";
@@ -9,251 +9,257 @@ import { Segmented as io } from "./components/segmented/component.js";
9
9
  import { Table as co } from "./components/table/component.js";
10
10
  import { Tag as To } from "./components/tag/component.js";
11
11
  import { ThemeProvider as go } from "./components/theme-provider/component.js";
12
- import { Split as ho, Splitter as Eo } from "./components/splitter/component.js";
13
- import { Truncate as ko } from "./components/truncate/component.js";
14
- import { DropdownMenu as bo } from "./components/dropdown-menu/component.js";
12
+ import { Split as Ao, Splitter as Eo } from "./components/splitter/component.js";
13
+ import { Truncate as bo } from "./components/truncate/component.js";
14
+ import { DropdownMenu as Ro } from "./components/dropdown-menu/component.js";
15
15
  import { DropdownMenuItem as Io } from "./components/dropdown-menu/item.js";
16
- import { Transition as Oo } from "./components/transition/component.js";
17
- import { DefaultUpload as vo, Upload as yo } from "./components/upload/component.js";
18
- import { useUploadItemRender as Mo } from "./components/upload/hooks.js";
19
- import { clsx as wo, cn as Uo, cx as Wo } from "./components/utils/cn.js";
20
- import { reactNodeToString as Vo } from "./components/utils/reactToString.js";
21
- import { isTracebackError as zo } from "./components/utils/isTracebackError.js";
22
- import { isValidHexColor as Ko } from "./components/utils/colors.js";
23
- import { WithRenderProp as Ho } from "./components/utils/WithRenderProp.js";
24
- import { getReactElementProp as Jo } from "./components/utils/reactElement.js";
25
- import { useAntdCssVarClassname as Yo, useCls as Zo, useGetPrefixCls as $o } from "./components/utils/antdUtils.js";
26
- import { WithAntdTokens as ee } from "./components/utils/WithAntdTokens.js";
27
- import { changeThemeWithoutTransition as te } from "./components/utils/theme.js";
28
- import { moveTypingCursorToEnd as ae } from "./components/utils/selectionRange.js";
29
- import { DROPDOWN_COLLISION_AVOIDANCE as fe, POPUP_COLLISION_AVOIDANCE as se } from "./components/utils/constants.js";
30
- import { buildAntdPlacement as le, parseAntdPlacement as ne } from "./components/utils/placement.js";
31
- import { ScrollArea as Ce } from "./components/scroll-area/component.js";
32
- import { Popover as ue } from "./components/popover/component.js";
33
- import { Slider as de } from "./components/slider/component.js";
34
- import { Tooltip as ge } from "./components/tooltip/component.js";
35
- import { Breadcrumb as he } from "./components/breadcrumb/component.js";
36
- import { useUniqueKeysTree as Pe } from "./components/tree/useUniqueKeysTree.js";
37
- import { getUniqueKeysFromOriginals as Re, processTreeData as be } from "./components/tree/helpers.js";
38
- import { Tree as Ie } from "./components/tree/components.js";
39
- import { Spin as Oe } from "./components/spin/component.js";
40
- import { Empty as ve, EmptyIcon as ye } from "./components/empty/component.js";
41
- import { Form as Me } from "./components/form/component.js";
42
- import { Field as we } from "./components/field/component.js";
43
- import { Tour as We } from "./components/tour/component.js";
44
- import { Toast as Ve } from "./components/toast/component.js";
45
- import { toast as ze, toastManager as Ge } from "./components/toast/function.js";
46
- import { VerticalCollapsiblePanel as Qe } from "./components/vertical-collapsible-panel/component.js";
47
- import { PopupPanel as je } from "./components/popup-panel/component.js";
48
- import { CodeBlock as Xe } from "./components/code-block/component.js";
49
- import { StackChild as Ze } from "./components/stack/StackChild.js";
50
- import { Stack as or } from "./components/stack/index.js";
51
- import { Collapse as rr } from "./components/collapse/component.js";
52
- import { Input as pr } from "./components/input/component.js";
53
- import { Badge as mr, InternalBadge as fr } from "./components/badge/component.js";
54
- import { Radio as xr } from "./components/radio/component.js";
55
- import { Button as nr } from "./components/button/component.js";
56
- import { DSRoot as Cr } from "./components/ds-root/component.js";
57
- import { DSRootContextProvider as ur, useDS as Tr } from "./components/ds-root/context.js";
58
- import { DragDrop as Sr, DragDropRoot as gr } from "./components/drag-drop/index.js";
59
- import { ColorSelect as hr } from "./components/color-select/component.js";
60
- import { Nav as Pr } from "./components/nav/index.js";
61
- import { ChoiceList as Rr } from "./components/choice-list/component.js";
62
- import { StatusIcon as Dr } from "./components/status-icon/component.js";
63
- import { Resizable as Lr } from "./components/resizable/component.js";
64
- import { Combobox as Br } from "./components/combobox/component.js";
65
- import { SelectTrigger as yr } from "./components/select-trigger/component.js";
66
- import { useForm as Mr, useWatch as _r } from "antd/es/form/Form";
67
- import { useMessage as Ur, useModal as Wr, useToken as Fr } from "./components/hooks/antd.js";
68
- import { default as qr } from "antd/es/app/useApp";
69
- import { useAnimationsFinished as Gr, useEnhancedEffect as Kr, useEventCallback as Qr, useLatestRef as Hr } from "./components/hooks/base-ui.js";
70
- import { useControlledState as Jr } from "./components/hooks/useControlledState.js";
71
- import { useCharts as Yr } from "./components/hooks/useCharts.js";
72
- import { useCSSVariables as $r } from "./components/hooks/useCSSVariables.js";
73
- import { useHover as et } from "./components/hooks/useHover.js";
74
- import { useDraggable as tt } from "./components/hooks/useDraggable.js";
75
- import { BREAKPOINTS as at, useBreakpoint as mt } from "./components/hooks/useBreakpoint.js";
76
- import { useWindowSize as st } from "./components/hooks/useWindowSize.js";
77
- import { useElementSize as lt, useResizeObserver as nt } from "./components/hooks/useResizeObserver.js";
78
- import { antdColorTokens as Ct, darkTheme as ct, lightTheme as ut } from "./tokens/and-theme/tokens.js";
79
- import { categoricalChartColorKeys as dt, categoricalChartColorTokens as St, categoricalChartsColors as gt, chartColorTokens as At, rawChartColorTokens as ht } from "./tokens/charts/palettes/cloudscape.js";
80
- import { COLORBREWER as Pt } from "./tokens/charts/palettes/colorbrewer.js";
81
- import { tab10 as Rt, tab20 as bt, tab20b as Dt, tab20c as It } from "./tokens/charts/palettes/tableau.js";
82
- import { CATEGORICAL_PALETTES as Ot, CATEGORICAL_PALETTE_NAMES as Bt, SEQUENTIAL_PALETTES as vt, SEQUENTIAL_PALETTE_NAMES as yt, getAllCategoricalChartColors as Nt, getAllSequentialChartColors as Mt, getCategoricalChartColors as _t, getSequentialChartColors as wt } from "./tokens/charts/palettes/index.js";
83
- import { getColorsByTheme as Wt, getTokensByTheme as Ft, resolveColorTokens as Vt } from "./tokens/utils.js";
16
+ import { CommandPalette as Oo } from "./components/command-palette/component.js";
17
+ import { KeyboardShortcut as Bo } from "./components/keyboard-shortcut/component.js";
18
+ import { Transition as No } from "./components/transition/component.js";
19
+ import { DefaultUpload as _o, Upload as wo } from "./components/upload/component.js";
20
+ import { useUploadItemRender as Wo } from "./components/upload/hooks.js";
21
+ import { clsx as Vo, cn as Ko, cx as qo } from "./components/utils/cn.js";
22
+ import { reactNodeToString as Go } from "./components/utils/reactToString.js";
23
+ import { isTracebackError as Ho } from "./components/utils/isTracebackError.js";
24
+ import { isValidHexColor as Jo } from "./components/utils/colors.js";
25
+ import { WithRenderProp as Yo } from "./components/utils/WithRenderProp.js";
26
+ import { getReactElementProp as $o } from "./components/utils/reactElement.js";
27
+ import { useAntdCssVarClassname as ee, useCls as re, useGetPrefixCls as te } from "./components/utils/antdUtils.js";
28
+ import { WithAntdTokens as pe } from "./components/utils/WithAntdTokens.js";
29
+ import { changeThemeWithoutTransition as fe } from "./components/utils/theme.js";
30
+ import { moveTypingCursorToEnd as xe } from "./components/utils/selectionRange.js";
31
+ import { DROPDOWN_COLLISION_AVOIDANCE as ne, POPUP_COLLISION_AVOIDANCE as ie } from "./components/utils/constants.js";
32
+ import { buildAntdPlacement as ce, parseAntdPlacement as ue } from "./components/utils/placement.js";
33
+ import { ScrollArea as de } from "./components/scroll-area/component.js";
34
+ import { Popover as ge } from "./components/popover/component.js";
35
+ import { Slider as Ae } from "./components/slider/component.js";
36
+ import { Tooltip as Pe } from "./components/tooltip/component.js";
37
+ import { Breadcrumb as ke } from "./components/breadcrumb/component.js";
38
+ import { useUniqueKeysTree as De } from "./components/tree/useUniqueKeysTree.js";
39
+ import { getUniqueKeysFromOriginals as Le, processTreeData as Oe } from "./components/tree/helpers.js";
40
+ import { Tree as Be } from "./components/tree/components.js";
41
+ import { Spin as Ne } from "./components/spin/component.js";
42
+ import { Empty as _e, EmptyIcon as we } from "./components/empty/component.js";
43
+ import { Form as We } from "./components/form/component.js";
44
+ import { Field as Ve } from "./components/field/component.js";
45
+ import { Tour as qe } from "./components/tour/component.js";
46
+ import { Toast as Ge } from "./components/toast/component.js";
47
+ import { toast as He, toastManager as je } from "./components/toast/function.js";
48
+ import { VerticalCollapsiblePanel as Xe } from "./components/vertical-collapsible-panel/component.js";
49
+ import { PopupPanel as Ze } from "./components/popup-panel/component.js";
50
+ import { CodeBlock as or } from "./components/code-block/component.js";
51
+ import { StackChild as rr } from "./components/stack/StackChild.js";
52
+ import { Stack as ar } from "./components/stack/index.js";
53
+ import { Collapse as mr } from "./components/collapse/component.js";
54
+ import { Input as sr } from "./components/input/component.js";
55
+ import { Badge as lr, InternalBadge as nr } from "./components/badge/component.js";
56
+ import { Radio as Cr } from "./components/radio/component.js";
57
+ import { Button as ur } from "./components/button/component.js";
58
+ import { DSRoot as dr } from "./components/ds-root/component.js";
59
+ import { DSRootContextProvider as gr, useDS as hr } from "./components/ds-root/context.js";
60
+ import { DragDrop as Er, DragDropRoot as Pr } from "./components/drag-drop/index.js";
61
+ import { ColorSelect as kr } from "./components/color-select/component.js";
62
+ import { Nav as Dr } from "./components/nav/index.js";
63
+ import { ChoiceList as Lr } from "./components/choice-list/component.js";
64
+ import { StatusIcon as yr } from "./components/status-icon/component.js";
65
+ import { Resizable as vr } from "./components/resizable/component.js";
66
+ import { Combobox as Mr } from "./components/combobox/component.js";
67
+ import { SelectTrigger as wr } from "./components/select-trigger/component.js";
68
+ import { Loader as Wr } from "./components/loader/component.js";
69
+ import { useForm as Vr, useWatch as Kr } from "antd/es/form/Form";
70
+ import { useMessage as zr, useModal as Gr, useToken as Qr } from "./components/hooks/antd.js";
71
+ import { default as jr } from "antd/es/app/useApp";
72
+ import { useAnimationsFinished as Xr, useEnhancedEffect as Yr, useEventCallback as Zr, useLatestRef as $r } from "./components/hooks/base-ui.js";
73
+ import { useControlledState as et } from "./components/hooks/useControlledState.js";
74
+ import { useCharts as tt } from "./components/hooks/useCharts.js";
75
+ import { useCSSVariables as pt } from "./components/hooks/useCSSVariables.js";
76
+ import { useHover as ft } from "./components/hooks/useHover.js";
77
+ import { useDraggable as xt } from "./components/hooks/useDraggable.js";
78
+ import { BREAKPOINTS as nt, useBreakpoint as it } from "./components/hooks/useBreakpoint.js";
79
+ import { useWindowSize as ct } from "./components/hooks/useWindowSize.js";
80
+ import { useElementSize as Tt, useResizeObserver as dt } from "./components/hooks/useResizeObserver.js";
81
+ import { antdColorTokens as gt, darkTheme as ht, lightTheme as At } from "./tokens/and-theme/tokens.js";
82
+ import { categoricalChartColorKeys as Pt, categoricalChartColorTokens as bt, categoricalChartsColors as kt, chartColorTokens as Rt, rawChartColorTokens as Dt } from "./tokens/charts/palettes/cloudscape.js";
83
+ import { COLORBREWER as Lt } from "./tokens/charts/palettes/colorbrewer.js";
84
+ import { tab10 as yt, tab20 as Bt, tab20b as vt, tab20c as Nt } from "./tokens/charts/palettes/tableau.js";
85
+ import { CATEGORICAL_PALETTES as _t, CATEGORICAL_PALETTE_NAMES as wt, SEQUENTIAL_PALETTES as Ut, SEQUENTIAL_PALETTE_NAMES as Wt, getAllCategoricalChartColors as Ft, getAllSequentialChartColors as Vt, getCategoricalChartColors as Kt, getSequentialChartColors as qt } from "./tokens/charts/palettes/index.js";
86
+ import { getColorsByTheme as Gt, getTokensByTheme as Qt, resolveColorTokens as Ht } from "./tokens/utils.js";
84
87
  export {
85
- a as Affix,
88
+ p as Affix,
86
89
  m as Alert,
87
90
  f as Anchor,
88
91
  s as App,
89
92
  x as AutoComplete,
90
93
  l as Avatar,
91
- at as BREAKPOINTS,
94
+ nt as BREAKPOINTS,
92
95
  n as BackTop,
93
- mr as Badge,
94
- he as Breadcrumb,
95
- nr as Button,
96
- Ot as CATEGORICAL_PALETTES,
97
- Bt as CATEGORICAL_PALETTE_NAMES,
98
- Pt as COLORBREWER,
96
+ lr as Badge,
97
+ ke as Breadcrumb,
98
+ ur as Button,
99
+ _t as CATEGORICAL_PALETTES,
100
+ wt as CATEGORICAL_PALETTE_NAMES,
101
+ Lt as COLORBREWER,
99
102
  i as Calendar,
100
103
  C as Card,
101
104
  c as Carousel,
102
105
  u as Cascader,
103
106
  lo as Checkbox,
104
- Rr as ChoiceList,
105
- Xe as CodeBlock,
107
+ Lr as ChoiceList,
108
+ or as CodeBlock,
106
109
  T as Col,
107
- rr as Collapse,
110
+ mr as Collapse,
108
111
  d as ColorPicker,
109
- hr as ColorSelect,
110
- Br as Combobox,
112
+ kr as ColorSelect,
113
+ Mr as Combobox,
114
+ Oo as CommandPalette,
111
115
  S as ConfigProvider,
112
- fe as DROPDOWN_COLLISION_AVOIDANCE,
113
- Cr as DSRoot,
114
- ur as DSRootContextProvider,
116
+ ne as DROPDOWN_COLLISION_AVOIDANCE,
117
+ dr as DSRoot,
118
+ gr as DSRootContextProvider,
115
119
  g as DatePicker,
116
- vo as DefaultUpload,
117
- A as Descriptions,
118
- h as Divider,
119
- Sr as DragDrop,
120
- gr as DragDropRoot,
120
+ _o as DefaultUpload,
121
+ h as Descriptions,
122
+ A as Divider,
123
+ Er as DragDrop,
124
+ Pr as DragDropRoot,
121
125
  E as Drawer,
122
126
  P as Dropdown,
123
- bo as DropdownMenu,
127
+ Ro as DropdownMenu,
124
128
  Io as DropdownMenuItem,
125
- ve as Empty,
126
- ye as EmptyIcon,
127
- we as Field,
128
- k as Flex,
129
- R as FloatButton,
130
- Me as Form,
131
- b as Grid,
129
+ _e as Empty,
130
+ we as EmptyIcon,
131
+ Ve as Field,
132
+ b as Flex,
133
+ k as FloatButton,
134
+ We as Form,
135
+ R as Grid,
132
136
  mo as IconButton,
133
- pr as Input,
137
+ sr as Input,
134
138
  D as InputNumber,
135
- fr as InternalBadge,
139
+ nr as InternalBadge,
140
+ Bo as KeyboardShortcut,
136
141
  I as Layout,
137
142
  L as List,
143
+ Wr as Loader,
138
144
  O as Mentions,
139
- B as Menu,
140
- po as Modal,
141
- Pr as Nav,
142
- se as POPUP_COLLISION_AVOIDANCE,
143
- v as Pagination,
144
- y as Popconfirm,
145
- ue as Popover,
146
- je as PopupPanel,
145
+ y as Menu,
146
+ ao as Modal,
147
+ Dr as Nav,
148
+ ie as POPUP_COLLISION_AVOIDANCE,
149
+ B as Pagination,
150
+ v as Popconfirm,
151
+ ge as Popover,
152
+ Ze as PopupPanel,
147
153
  N as Progress,
148
154
  M as QRCode,
149
- xr as Radio,
155
+ Cr as Radio,
150
156
  _ as Rate,
151
- Lr as Resizable,
157
+ vr as Resizable,
152
158
  w as Result,
153
159
  U as Row,
154
- vt as SEQUENTIAL_PALETTES,
155
- yt as SEQUENTIAL_PALETTE_NAMES,
156
- Ce as ScrollArea,
160
+ Ut as SEQUENTIAL_PALETTES,
161
+ Wt as SEQUENTIAL_PALETTE_NAMES,
162
+ de as ScrollArea,
157
163
  io as Segmented,
158
164
  ro as Select,
159
- yr as SelectTrigger,
165
+ wr as SelectTrigger,
160
166
  W as Skeleton,
161
- de as Slider,
167
+ Ae as Slider,
162
168
  F as Space,
163
- Oe as Spin,
164
- ho as Split,
169
+ Ne as Spin,
170
+ Ao as Split,
165
171
  Eo as Splitter,
166
- or as Stack,
167
- Ze as StackChild,
172
+ ar as Stack,
173
+ rr as StackChild,
168
174
  V as Statistic,
169
- Dr as StatusIcon,
170
- q as Steps,
175
+ yr as StatusIcon,
176
+ K as Steps,
171
177
  so as Switch,
172
178
  co as Table,
173
- z as Tabs,
179
+ q as Tabs,
174
180
  To as Tag,
175
181
  go as ThemeProvider,
176
- G as TimePicker,
177
- K as Timeline,
178
- Ve as Toast,
179
- ge as Tooltip,
180
- We as Tour,
182
+ z as TimePicker,
183
+ G as Timeline,
184
+ Ge as Toast,
185
+ Pe as Tooltip,
186
+ qe as Tour,
181
187
  Q as Transfer,
182
- Oo as Transition,
183
- Ie as Tree,
188
+ No as Transition,
189
+ Be as Tree,
184
190
  H as TreeSelect,
185
- ko as Truncate,
191
+ bo as Truncate,
186
192
  j as Typography,
187
- yo as Upload,
188
- Qe as VerticalCollapsiblePanel,
193
+ wo as Upload,
194
+ Xe as VerticalCollapsiblePanel,
189
195
  J as Watermark,
190
- ee as WithAntdTokens,
191
- Ho as WithRenderProp,
192
- Ct as antdColorTokens,
193
- le as buildAntdPlacement,
194
- dt as categoricalChartColorKeys,
195
- St as categoricalChartColorTokens,
196
- gt as categoricalChartsColors,
197
- te as changeThemeWithoutTransition,
198
- At as chartColorTokens,
199
- wo as clsx,
200
- Uo as cn,
196
+ pe as WithAntdTokens,
197
+ Yo as WithRenderProp,
198
+ gt as antdColorTokens,
199
+ ce as buildAntdPlacement,
200
+ Pt as categoricalChartColorKeys,
201
+ bt as categoricalChartColorTokens,
202
+ kt as categoricalChartsColors,
203
+ fe as changeThemeWithoutTransition,
204
+ Rt as chartColorTokens,
205
+ Vo as clsx,
206
+ Ko as cn,
201
207
  r as componentMetadata,
202
- Wo as cx,
203
- ct as darkTheme,
204
- Nt as getAllCategoricalChartColors,
205
- Mt as getAllSequentialChartColors,
206
- _t as getCategoricalChartColors,
207
- Wt as getColorsByTheme,
208
+ qo as cx,
209
+ ht as darkTheme,
210
+ Ft as getAllCategoricalChartColors,
211
+ Vt as getAllSequentialChartColors,
212
+ Kt as getCategoricalChartColors,
213
+ Gt as getColorsByTheme,
208
214
  t as getComponentsByCategory,
209
- Jo as getReactElementProp,
210
- wt as getSequentialChartColors,
211
- Ft as getTokensByTheme,
212
- Re as getUniqueKeysFromOriginals,
213
- zo as isTracebackError,
214
- Ko as isValidHexColor,
215
- ut as lightTheme,
215
+ $o as getReactElementProp,
216
+ qt as getSequentialChartColors,
217
+ Qt as getTokensByTheme,
218
+ Le as getUniqueKeysFromOriginals,
219
+ Ho as isTracebackError,
220
+ Jo as isValidHexColor,
221
+ At as lightTheme,
216
222
  X as message,
217
- ae as moveTypingCursorToEnd,
223
+ xe as moveTypingCursorToEnd,
218
224
  Y as notification,
219
- ne as parseAntdPlacement,
220
- be as processTreeData,
221
- ht as rawChartColorTokens,
222
- Vo as reactNodeToString,
223
- Vt as resolveColorTokens,
224
- Rt as tab10,
225
- bt as tab20,
226
- Dt as tab20b,
227
- It as tab20c,
225
+ ue as parseAntdPlacement,
226
+ Oe as processTreeData,
227
+ Dt as rawChartColorTokens,
228
+ Go as reactNodeToString,
229
+ Ht as resolveColorTokens,
230
+ yt as tab10,
231
+ Bt as tab20,
232
+ vt as tab20b,
233
+ Nt as tab20c,
228
234
  Z as theme,
229
- ze as toast,
230
- Ge as toastManager,
235
+ He as toast,
236
+ je as toastManager,
231
237
  $ as unstableSetRender,
232
- Gr as useAnimationsFinished,
233
- Yo as useAntdCssVarClassname,
234
- qr as useApp,
235
- mt as useBreakpoint,
236
- $r as useCSSVariables,
237
- Yr as useCharts,
238
- Zo as useCls,
239
- Jr as useControlledState,
240
- Tr as useDS,
241
- tt as useDraggable,
242
- lt as useElementSize,
243
- Kr as useEnhancedEffect,
244
- Qr as useEventCallback,
245
- Mr as useForm,
246
- $o as useGetPrefixCls,
247
- et as useHover,
248
- Hr as useLatestRef,
249
- Ur as useMessage,
250
- Wr as useModal,
251
- nt as useResizeObserver,
252
- Fr as useToken,
253
- Pe as useUniqueKeysTree,
254
- Mo as useUploadItemRender,
255
- _r as useWatch,
256
- st as useWindowSize,
238
+ Xr as useAnimationsFinished,
239
+ ee as useAntdCssVarClassname,
240
+ jr as useApp,
241
+ it as useBreakpoint,
242
+ pt as useCSSVariables,
243
+ tt as useCharts,
244
+ re as useCls,
245
+ et as useControlledState,
246
+ hr as useDS,
247
+ xt as useDraggable,
248
+ Tt as useElementSize,
249
+ Yr as useEnhancedEffect,
250
+ Zr as useEventCallback,
251
+ Vr as useForm,
252
+ te as useGetPrefixCls,
253
+ ft as useHover,
254
+ $r as useLatestRef,
255
+ zr as useMessage,
256
+ Gr as useModal,
257
+ dt as useResizeObserver,
258
+ Qr as useToken,
259
+ De as useUniqueKeysTree,
260
+ Wo as useUploadItemRender,
261
+ Kr as useWatch,
262
+ ct as useWindowSize,
257
263
  oo as version
258
264
  };
259
265
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/dist/metadata.js CHANGED
@@ -312,6 +312,18 @@ const i = {
312
312
  originalDocUrl: "https://ant.design/components/slider",
313
313
  description: "Allows users to select a value from a continuous or discrete range."
314
314
  },
315
+ Loader: {
316
+ name: "Loader",
317
+ link: "/loader",
318
+ base: "custom",
319
+ refinements: [
320
+ "Custom minimal text-based loading indicator",
321
+ "Simple span element with configurable loading text",
322
+ "Provides semantic role='status' for accessibility"
323
+ ],
324
+ category: "Feedback",
325
+ description: "A minimal text-based loading indicator component."
326
+ },
315
327
  Spin: {
316
328
  name: "Spin",
317
329
  link: "/spin",
@@ -559,6 +571,39 @@ const i = {
559
571
  category: "Feedback",
560
572
  description: "A component that displays status icons to provide visual feedback for different states and operations."
561
573
  },
574
+ CommandPalette: {
575
+ name: "CommandPalette",
576
+ link: "/command-palette",
577
+ base: "custom",
578
+ refinements: [
579
+ "Built on top of cmdk library for command functionality",
580
+ "Supports both flat items and grouped items with headings",
581
+ "Customizable keyboard shortcuts with default ⌘K and Ctrl+K support",
582
+ "Modal overlay with backdrop blur and proper focus management",
583
+ "Uses design system tokens for consistent styling",
584
+ "Supports controlled and uncontrolled state management",
585
+ "Provides search functionality with custom placeholder and empty state",
586
+ "Includes proper keyboard navigation and accessibility features"
587
+ ],
588
+ category: "Navigation",
589
+ packages: ["cmdk"],
590
+ description: "A command palette component that provides quick access to actions and navigation through a searchable interface."
591
+ },
592
+ KeyboardShortcut: {
593
+ name: "KeyboardShortcut",
594
+ link: "/keyboard-shortcut",
595
+ base: "custom",
596
+ refinements: [
597
+ "Custom component for displaying keyboard shortcuts",
598
+ "Supports common key mappings (⌘, Ctrl, ⇧, etc.)",
599
+ "Multiple size variants (small, medium, large)",
600
+ "Automatic key formatting and symbols",
601
+ "Consistent styling with design system tokens",
602
+ "Support for key combinations with + separator"
603
+ ],
604
+ category: "Data Display",
605
+ description: "A component for displaying keyboard shortcuts with proper formatting and styling."
606
+ },
562
607
  VerticalCollapsiblePanel: {
563
608
  name: "Vertical Collapsible Panel",
564
609
  link: "/vertical-collapsible-panel",
@@ -580,7 +625,7 @@ const i = {
580
625
  // Assuming this kebab-case name for Base UI docs
581
626
  description: "A panel that can be collapsed or expanded vertically, often used in sidebars or for sectioning content."
582
627
  }
583
- }, s = () => {
628
+ }, a = () => {
584
629
  const e = {
585
630
  Actions: [],
586
631
  General: [],
@@ -602,6 +647,6 @@ const i = {
602
647
  };
603
648
  export {
604
649
  i as componentMetadata,
605
- s as getComponentsByCategory
650
+ a as getComponentsByCategory
606
651
  };
607
652
  //# sourceMappingURL=metadata.js.map