@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.
- package/dist/components/choice-list/component.js +26 -28
- package/dist/components/choice-list/component.js.map +1 -1
- package/dist/components/code-block/component.js +10 -10
- package/dist/components/combobox/component.js +113 -112
- package/dist/components/combobox/component.js.map +1 -1
- package/dist/components/command-palette/component.js +79 -0
- package/dist/components/command-palette/component.js.map +1 -0
- package/dist/components/command-palette/style.css +1 -0
- package/dist/components/dropdown-menu/component.js +117 -189
- package/dist/components/dropdown-menu/component.js.map +1 -1
- package/dist/components/dropdown-menu/item.css +1 -1
- package/dist/components/dropdown-menu/item.js +50 -37
- package/dist/components/dropdown-menu/item.js.map +1 -1
- package/dist/components/dropdown-menu/style.css +1 -1
- package/dist/components/dropdown-menu/useDropdownMenu.js +124 -0
- package/dist/components/dropdown-menu/useDropdownMenu.js.map +1 -0
- package/dist/components/keyboard-shortcut/component.js +72 -0
- package/dist/components/keyboard-shortcut/component.js.map +1 -0
- package/dist/components/keyboard-shortcut/style.css +1 -0
- package/dist/components/loader/component.js +15 -0
- package/dist/components/loader/component.js.map +1 -0
- package/dist/components/loader/style.css +1 -0
- package/dist/components/popup-panel/style.css +1 -1
- package/dist/components/theme-provider/style.css +1 -1
- package/dist/components/toast/style.css +1 -1
- package/dist/index.d.ts +180 -51
- package/dist/index.js +203 -197
- package/dist/index.js.map +1 -1
- package/dist/metadata.js +47 -2
- package/dist/metadata.js.map +1 -1
- 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
|
|
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
|
|
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
|
|
13
|
-
import { Truncate as
|
|
14
|
-
import { DropdownMenu as
|
|
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 {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
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
|
-
|
|
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
|
-
|
|
94
|
+
nt as BREAKPOINTS,
|
|
92
95
|
n as BackTop,
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
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
|
-
|
|
105
|
-
|
|
107
|
+
Lr as ChoiceList,
|
|
108
|
+
or as CodeBlock,
|
|
106
109
|
T as Col,
|
|
107
|
-
|
|
110
|
+
mr as Collapse,
|
|
108
111
|
d as ColorPicker,
|
|
109
|
-
|
|
110
|
-
|
|
112
|
+
kr as ColorSelect,
|
|
113
|
+
Mr as Combobox,
|
|
114
|
+
Oo as CommandPalette,
|
|
111
115
|
S as ConfigProvider,
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
116
|
+
ne as DROPDOWN_COLLISION_AVOIDANCE,
|
|
117
|
+
dr as DSRoot,
|
|
118
|
+
gr as DSRootContextProvider,
|
|
115
119
|
g as DatePicker,
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
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
|
-
|
|
127
|
+
Ro as DropdownMenu,
|
|
124
128
|
Io as DropdownMenuItem,
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
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
|
-
|
|
137
|
+
sr as Input,
|
|
134
138
|
D as InputNumber,
|
|
135
|
-
|
|
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
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
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
|
-
|
|
155
|
+
Cr as Radio,
|
|
150
156
|
_ as Rate,
|
|
151
|
-
|
|
157
|
+
vr as Resizable,
|
|
152
158
|
w as Result,
|
|
153
159
|
U as Row,
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
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
|
-
|
|
165
|
+
wr as SelectTrigger,
|
|
160
166
|
W as Skeleton,
|
|
161
|
-
|
|
167
|
+
Ae as Slider,
|
|
162
168
|
F as Space,
|
|
163
|
-
|
|
164
|
-
|
|
169
|
+
Ne as Spin,
|
|
170
|
+
Ao as Split,
|
|
165
171
|
Eo as Splitter,
|
|
166
|
-
|
|
167
|
-
|
|
172
|
+
ar as Stack,
|
|
173
|
+
rr as StackChild,
|
|
168
174
|
V as Statistic,
|
|
169
|
-
|
|
170
|
-
|
|
175
|
+
yr as StatusIcon,
|
|
176
|
+
K as Steps,
|
|
171
177
|
so as Switch,
|
|
172
178
|
co as Table,
|
|
173
|
-
|
|
179
|
+
q as Tabs,
|
|
174
180
|
To as Tag,
|
|
175
181
|
go as ThemeProvider,
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
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
|
-
|
|
183
|
-
|
|
188
|
+
No as Transition,
|
|
189
|
+
Be as Tree,
|
|
184
190
|
H as TreeSelect,
|
|
185
|
-
|
|
191
|
+
bo as Truncate,
|
|
186
192
|
j as Typography,
|
|
187
|
-
|
|
188
|
-
|
|
193
|
+
wo as Upload,
|
|
194
|
+
Xe as VerticalCollapsiblePanel,
|
|
189
195
|
J as Watermark,
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
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
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
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
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
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
|
-
|
|
223
|
+
xe as moveTypingCursorToEnd,
|
|
218
224
|
Y as notification,
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
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
|
-
|
|
230
|
-
|
|
235
|
+
He as toast,
|
|
236
|
+
je as toastManager,
|
|
231
237
|
$ as unstableSetRender,
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
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
|
-
},
|
|
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
|
-
|
|
650
|
+
a as getComponentsByCategory
|
|
606
651
|
};
|
|
607
652
|
//# sourceMappingURL=metadata.js.map
|