@bioturing/components 0.29.2 → 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 (42) 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/hooks/antd.js +9 -11
  18. package/dist/components/hooks/antd.js.map +1 -1
  19. package/dist/components/hooks/useBreakpoint.js +50 -0
  20. package/dist/components/hooks/useBreakpoint.js.map +1 -0
  21. package/dist/components/hooks/useResizeObserver.js +52 -0
  22. package/dist/components/hooks/useResizeObserver.js.map +1 -0
  23. package/dist/components/hooks/useWindowSize.js +23 -0
  24. package/dist/components/hooks/useWindowSize.js.map +1 -0
  25. package/dist/components/keyboard-shortcut/component.js +72 -0
  26. package/dist/components/keyboard-shortcut/component.js.map +1 -0
  27. package/dist/components/keyboard-shortcut/style.css +1 -0
  28. package/dist/components/loader/component.js +15 -0
  29. package/dist/components/loader/component.js.map +1 -0
  30. package/dist/components/loader/style.css +1 -0
  31. package/dist/components/modal/index.js.map +1 -1
  32. package/dist/components/popup-panel/style.css +1 -1
  33. package/dist/components/resizable/component.js +107 -90
  34. package/dist/components/resizable/component.js.map +1 -1
  35. package/dist/components/theme-provider/style.css +1 -1
  36. package/dist/components/toast/style.css +1 -1
  37. package/dist/index.d.ts +240 -59
  38. package/dist/index.js +204 -191
  39. package/dist/index.js.map +1 -1
  40. package/dist/metadata.js +47 -2
  41. package/dist/metadata.js.map +1 -1
  42. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { componentMetadata as r, getComponentsByCategory as t } from "./metadata.js";
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 g, DatePicker as S, Descriptions as h, Divider as A, Drawer as E, Dropdown as P, Flex as k, FloatButton as D, Grid as b, InputNumber as R, 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 U, Row as w, Skeleton as F, Space as W, Statistic as V, Steps as q, Tabs as G, TimePicker as K, Timeline as Q, Transfer as H, TreeSelect as z, 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
4
  import { Modal as ao } from "./components/modal/index.js";
5
5
  import { IconButton as mo } from "./components/icon-button/component.js";
@@ -8,76 +8,82 @@ import { Checkbox as lo } from "./components/checkbox/component.js";
8
8
  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
- import { ThemeProvider as So } from "./components/theme-provider/component.js";
11
+ import { ThemeProvider as go } from "./components/theme-provider/component.js";
12
12
  import { Split as Ao, 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";
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 Bo, Upload as vo } from "./components/upload/component.js";
18
- import { useUploadItemRender as Mo } from "./components/upload/hooks.js";
19
- import { clsx as Uo, cn as wo, cx as Fo } from "./components/utils/cn.js";
20
- import { reactNodeToString as Vo } from "./components/utils/reactToString.js";
21
- import { isTracebackError as Go } from "./components/utils/isTracebackError.js";
22
- import { isValidHexColor as Qo } from "./components/utils/colors.js";
23
- import { WithRenderProp as zo } 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 pe } 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 Se } from "./components/tooltip/component.js";
35
- import { Breadcrumb as Ae } from "./components/breadcrumb/component.js";
36
- import { useUniqueKeysTree as Pe } from "./components/tree/useUniqueKeysTree.js";
37
- import { getUniqueKeysFromOriginals as De, 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 Be, EmptyIcon as ve } from "./components/empty/component.js";
41
- import { Form as Me } from "./components/form/component.js";
42
- import { Field as Ue } from "./components/field/component.js";
43
- import { Tour as Fe } from "./components/tour/component.js";
44
- import { Toast as Ve } from "./components/toast/component.js";
45
- import { toast as Ge, toastManager as Ke } from "./components/toast/function.js";
46
- import { VerticalCollapsiblePanel as He } 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 ar } 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 gr, DragDropRoot as Sr } from "./components/drag-drop/index.js";
59
- import { ColorSelect as Ar } from "./components/color-select/component.js";
60
- import { Nav as Pr } from "./components/nav/index.js";
61
- import { ChoiceList as Dr } from "./components/choice-list/component.js";
62
- import { StatusIcon as Rr } from "./components/status-icon/component.js";
63
- import { Resizable as Lr } from "./components/resizable/component.js";
64
- import { Combobox as yr } from "./components/combobox/component.js";
65
- import { SelectTrigger as vr } from "./components/select-trigger/component.js";
66
- import { useForm as Mr, useWatch as _r } from "antd/es/form/Form";
67
- import { useBreakpoint as wr, useMessage as Fr, useModal as Wr, useToken as Vr } from "./components/hooks/antd.js";
68
- import { default as Gr } from "antd/es/app/useApp";
69
- import { useAnimationsFinished as Qr, useEnhancedEffect as Hr, useEventCallback as zr, useLatestRef as jr } from "./components/hooks/base-ui.js";
70
- import { useControlledState as Xr } from "./components/hooks/useControlledState.js";
71
- import { useCharts as Zr } from "./components/hooks/useCharts.js";
72
- import { useCSSVariables as ot } from "./components/hooks/useCSSVariables.js";
73
- import { useHover as rt } from "./components/hooks/useHover.js";
74
- import { useDraggable as at } from "./components/hooks/useDraggable.js";
75
- import { antdColorTokens as mt, darkTheme as ft, lightTheme as st } from "./tokens/and-theme/tokens.js";
76
- import { categoricalChartColorKeys as lt, categoricalChartColorTokens as nt, categoricalChartsColors as it, chartColorTokens as Ct, rawChartColorTokens as ct } from "./tokens/charts/palettes/cloudscape.js";
77
- import { COLORBREWER as Tt } from "./tokens/charts/palettes/colorbrewer.js";
78
- import { tab10 as gt, tab20 as St, tab20b as ht, tab20c as At } from "./tokens/charts/palettes/tableau.js";
79
- import { CATEGORICAL_PALETTES as Pt, CATEGORICAL_PALETTE_NAMES as kt, SEQUENTIAL_PALETTES as Dt, SEQUENTIAL_PALETTE_NAMES as bt, getAllCategoricalChartColors as Rt, getAllSequentialChartColors as It, getCategoricalChartColors as Lt, getSequentialChartColors as Ot } from "./tokens/charts/palettes/index.js";
80
- import { getColorsByTheme as Bt, getTokensByTheme as vt, resolveColorTokens as Nt } 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";
81
87
  export {
82
88
  p as Affix,
83
89
  m as Alert,
@@ -85,168 +91,175 @@ export {
85
91
  s as App,
86
92
  x as AutoComplete,
87
93
  l as Avatar,
94
+ nt as BREAKPOINTS,
88
95
  n as BackTop,
89
- mr as Badge,
90
- Ae as Breadcrumb,
91
- nr as Button,
92
- Pt as CATEGORICAL_PALETTES,
93
- kt as CATEGORICAL_PALETTE_NAMES,
94
- Tt 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,
95
102
  i as Calendar,
96
103
  C as Card,
97
104
  c as Carousel,
98
105
  u as Cascader,
99
106
  lo as Checkbox,
100
- Dr as ChoiceList,
101
- Xe as CodeBlock,
107
+ Lr as ChoiceList,
108
+ or as CodeBlock,
102
109
  T as Col,
103
- rr as Collapse,
110
+ mr as Collapse,
104
111
  d as ColorPicker,
105
- Ar as ColorSelect,
106
- yr as Combobox,
107
- g as ConfigProvider,
108
- fe as DROPDOWN_COLLISION_AVOIDANCE,
109
- Cr as DSRoot,
110
- ur as DSRootContextProvider,
111
- S as DatePicker,
112
- Bo as DefaultUpload,
112
+ kr as ColorSelect,
113
+ Mr as Combobox,
114
+ Oo as CommandPalette,
115
+ S as ConfigProvider,
116
+ ne as DROPDOWN_COLLISION_AVOIDANCE,
117
+ dr as DSRoot,
118
+ gr as DSRootContextProvider,
119
+ g as DatePicker,
120
+ _o as DefaultUpload,
113
121
  h as Descriptions,
114
122
  A as Divider,
115
- gr as DragDrop,
116
- Sr as DragDropRoot,
123
+ Er as DragDrop,
124
+ Pr as DragDropRoot,
117
125
  E as Drawer,
118
126
  P as Dropdown,
119
- bo as DropdownMenu,
127
+ Ro as DropdownMenu,
120
128
  Io as DropdownMenuItem,
121
- Be as Empty,
122
- ve as EmptyIcon,
123
- Ue as Field,
124
- k as Flex,
125
- D as FloatButton,
126
- Me as Form,
127
- 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,
128
136
  mo as IconButton,
129
- ar as Input,
130
- R as InputNumber,
131
- fr as InternalBadge,
137
+ sr as Input,
138
+ D as InputNumber,
139
+ nr as InternalBadge,
140
+ Bo as KeyboardShortcut,
132
141
  I as Layout,
133
142
  L as List,
143
+ Wr as Loader,
134
144
  O as Mentions,
135
145
  y as Menu,
136
146
  ao as Modal,
137
- Pr as Nav,
138
- se as POPUP_COLLISION_AVOIDANCE,
147
+ Dr as Nav,
148
+ ie as POPUP_COLLISION_AVOIDANCE,
139
149
  B as Pagination,
140
150
  v as Popconfirm,
141
- ue as Popover,
142
- je as PopupPanel,
151
+ ge as Popover,
152
+ Ze as PopupPanel,
143
153
  N as Progress,
144
154
  M as QRCode,
145
- xr as Radio,
155
+ Cr as Radio,
146
156
  _ as Rate,
147
- Lr as Resizable,
148
- U as Result,
149
- w as Row,
150
- Dt as SEQUENTIAL_PALETTES,
151
- bt as SEQUENTIAL_PALETTE_NAMES,
152
- Ce as ScrollArea,
157
+ vr as Resizable,
158
+ w as Result,
159
+ U as Row,
160
+ Ut as SEQUENTIAL_PALETTES,
161
+ Wt as SEQUENTIAL_PALETTE_NAMES,
162
+ de as ScrollArea,
153
163
  io as Segmented,
154
164
  ro as Select,
155
- vr as SelectTrigger,
156
- F as Skeleton,
157
- de as Slider,
158
- W as Space,
159
- Oe as Spin,
165
+ wr as SelectTrigger,
166
+ W as Skeleton,
167
+ Ae as Slider,
168
+ F as Space,
169
+ Ne as Spin,
160
170
  Ao as Split,
161
171
  Eo as Splitter,
162
- or as Stack,
163
- Ze as StackChild,
172
+ ar as Stack,
173
+ rr as StackChild,
164
174
  V as Statistic,
165
- Rr as StatusIcon,
166
- q as Steps,
175
+ yr as StatusIcon,
176
+ K as Steps,
167
177
  so as Switch,
168
178
  co as Table,
169
- G as Tabs,
179
+ q as Tabs,
170
180
  To as Tag,
171
- So as ThemeProvider,
172
- K as TimePicker,
173
- Q as Timeline,
174
- Ve as Toast,
175
- Se as Tooltip,
176
- Fe as Tour,
177
- H as Transfer,
178
- Oo as Transition,
179
- Ie as Tree,
180
- z as TreeSelect,
181
- ko as Truncate,
181
+ go as ThemeProvider,
182
+ z as TimePicker,
183
+ G as Timeline,
184
+ Ge as Toast,
185
+ Pe as Tooltip,
186
+ qe as Tour,
187
+ Q as Transfer,
188
+ No as Transition,
189
+ Be as Tree,
190
+ H as TreeSelect,
191
+ bo as Truncate,
182
192
  j as Typography,
183
- vo as Upload,
184
- He as VerticalCollapsiblePanel,
193
+ wo as Upload,
194
+ Xe as VerticalCollapsiblePanel,
185
195
  J as Watermark,
186
- ee as WithAntdTokens,
187
- zo as WithRenderProp,
188
- mt as antdColorTokens,
189
- le as buildAntdPlacement,
190
- lt as categoricalChartColorKeys,
191
- nt as categoricalChartColorTokens,
192
- it as categoricalChartsColors,
193
- te as changeThemeWithoutTransition,
194
- Ct as chartColorTokens,
195
- Uo as clsx,
196
- wo 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,
197
207
  r as componentMetadata,
198
- Fo as cx,
199
- ft as darkTheme,
200
- Rt as getAllCategoricalChartColors,
201
- It as getAllSequentialChartColors,
202
- Lt as getCategoricalChartColors,
203
- Bt 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,
204
214
  t as getComponentsByCategory,
205
- Jo as getReactElementProp,
206
- Ot as getSequentialChartColors,
207
- vt as getTokensByTheme,
208
- De as getUniqueKeysFromOriginals,
209
- Go as isTracebackError,
210
- Qo as isValidHexColor,
211
- st 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,
212
222
  X as message,
213
- pe as moveTypingCursorToEnd,
223
+ xe as moveTypingCursorToEnd,
214
224
  Y as notification,
215
- ne as parseAntdPlacement,
216
- be as processTreeData,
217
- ct as rawChartColorTokens,
218
- Vo as reactNodeToString,
219
- Nt as resolveColorTokens,
220
- gt as tab10,
221
- St as tab20,
222
- ht as tab20b,
223
- At 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,
224
234
  Z as theme,
225
- Ge as toast,
226
- Ke as toastManager,
235
+ He as toast,
236
+ je as toastManager,
227
237
  $ as unstableSetRender,
228
- Qr as useAnimationsFinished,
229
- Yo as useAntdCssVarClassname,
230
- Gr as useApp,
231
- wr as useBreakpoint,
232
- ot as useCSSVariables,
233
- Zr as useCharts,
234
- Zo as useCls,
235
- Xr as useControlledState,
236
- Tr as useDS,
237
- at as useDraggable,
238
- Hr as useEnhancedEffect,
239
- zr as useEventCallback,
240
- Mr as useForm,
241
- $o as useGetPrefixCls,
242
- rt as useHover,
243
- jr as useLatestRef,
244
- Fr as useMessage,
245
- Wr as useModal,
246
- Vr as useToken,
247
- Pe as useUniqueKeysTree,
248
- Mo as useUploadItemRender,
249
- _r as useWatch,
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,
250
263
  oo as version
251
264
  };
252
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