@bioturing/components 0.43.0 → 0.44.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/button/style.css +1 -1
- package/dist/components/dialog/Dialog.d.ts +53 -0
- package/dist/components/dialog/Dialog.d.ts.map +1 -0
- package/dist/components/dialog/Dialog.js +231 -0
- package/dist/components/dialog/Dialog.js.map +1 -0
- package/dist/components/dialog/constants.d.ts +20 -0
- package/dist/components/dialog/constants.d.ts.map +1 -0
- package/dist/components/dialog/constants.js +20 -0
- package/dist/components/dialog/constants.js.map +1 -0
- package/dist/components/dialog/dialog.css +1 -0
- package/dist/components/dialog/index.d.ts +4 -0
- package/dist/components/dialog/index.d.ts.map +1 -0
- package/dist/components/dialog/index.js +8 -0
- package/dist/components/dialog/index.js.map +1 -0
- package/dist/components/icon-button/style.css +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/popup-panel/component.d.ts.map +1 -1
- package/dist/components/popup-panel/component.js +184 -182
- package/dist/components/popup-panel/component.js.map +1 -1
- package/dist/components/select-trigger/style.css +1 -1
- package/dist/components/spin/Indicator/Looper.d.ts +6 -0
- package/dist/components/spin/Indicator/Looper.d.ts.map +1 -0
- package/dist/components/spin/Indicator/Looper.js +15 -0
- package/dist/components/spin/Indicator/Looper.js.map +1 -0
- package/dist/components/spin/Indicator/Progress.d.ts +6 -0
- package/dist/components/spin/Indicator/Progress.d.ts.map +1 -0
- package/dist/components/spin/Indicator/Progress.js +59 -0
- package/dist/components/spin/Indicator/Progress.js.map +1 -0
- package/dist/components/spin/Indicator/index.d.ts +8 -0
- package/dist/components/spin/Indicator/index.d.ts.map +1 -0
- package/dist/components/spin/Indicator/index.js +20 -0
- package/dist/components/spin/Indicator/index.js.map +1 -0
- package/dist/components/spin/component.d.ts +28 -4
- package/dist/components/spin/component.d.ts.map +1 -1
- package/dist/components/spin/component.js +162 -14
- package/dist/components/spin/component.js.map +1 -1
- package/dist/components/spin/style.css +1 -1
- package/dist/components/spin/usePercent.d.ts +2 -0
- package/dist/components/spin/usePercent.d.ts.map +1 -0
- package/dist/components/spin/usePercent.js +27 -0
- package/dist/components/spin/usePercent.js.map +1 -0
- package/dist/components/theme-provider/style.css +1 -1
- package/dist/components/utils/cn.d.ts.map +1 -1
- package/dist/components/utils/cn.js +112 -20
- package/dist/components/utils/cn.js.map +1 -1
- package/dist/components/utils/theme.d.ts.map +1 -1
- package/dist/components/utils/theme.js +3 -1
- package/dist/components/utils/theme.js.map +1 -1
- package/dist/index.js +227 -225
- package/dist/index.js.map +1 -1
- package/dist/metadata.d.ts +20 -1
- package/dist/metadata.d.ts.map +1 -1
- package/dist/metadata.js +37 -1
- package/dist/metadata.js.map +1 -1
- package/dist/stats.html +1 -1
- package/dist/tokens/and-theme/tokens.d.ts.map +1 -1
- package/dist/tokens/and-theme/tokens.js +61 -56
- package/dist/tokens/and-theme/tokens.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -4,286 +4,288 @@ import { Affix as f, Anchor as x, App as l, AutoComplete as s, Avatar as n, Back
|
|
|
4
4
|
import { DataTable as te } from "./components/data-table/component.js";
|
|
5
5
|
import { Select as me } from "./components/select/component.js";
|
|
6
6
|
import { Modal as fe } from "./components/modal/index.js";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
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 {
|
|
84
|
-
import {
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
90
|
-
import {
|
|
91
|
-
import {
|
|
92
|
-
import {
|
|
93
|
-
import {
|
|
94
|
-
import {
|
|
95
|
-
import {
|
|
96
|
-
import {
|
|
7
|
+
import { Dialog as le } from "./components/dialog/index.js";
|
|
8
|
+
import { IconButton as ne } from "./components/icon-button/component.js";
|
|
9
|
+
import { Switch as Ce } from "./components/switch/component.js";
|
|
10
|
+
import { Checkbox as ue } from "./components/checkbox/component.js";
|
|
11
|
+
import { Segmented as de } from "./components/segmented/component.js";
|
|
12
|
+
import { Table as Se } from "./components/table/component.js";
|
|
13
|
+
import { Tag as Ae } from "./components/tag/component.js";
|
|
14
|
+
import { TagList as Pe } from "./components/tag/list.js";
|
|
15
|
+
import { ThemeProvider as be } from "./components/theme-provider/component.js";
|
|
16
|
+
import { ThemeContext as De, useTheme as Ie } from "./components/theme-provider/context/themeStore.js";
|
|
17
|
+
import { ThemeContextProvider as Be } from "./components/theme-provider/context/provider.js";
|
|
18
|
+
import { Split as ve, Splitter as ye } from "./components/splitter/component.js";
|
|
19
|
+
import { Truncate as Me } from "./components/truncate/component.js";
|
|
20
|
+
import { DropdownMenu as _e } from "./components/dropdown-menu/component.js";
|
|
21
|
+
import { DropdownMenuItem as We } from "./components/dropdown-menu/item.js";
|
|
22
|
+
import { CommandPalette as Ve } from "./components/command-palette/component.js";
|
|
23
|
+
import { KeyboardShortcut as Ke } from "./components/keyboard-shortcut/component.js";
|
|
24
|
+
import { Transition as Ge } from "./components/transition/component.js";
|
|
25
|
+
import { DefaultUpload as Qe, Upload as je } from "./components/upload/component.js";
|
|
26
|
+
import { useUploadItemRender as Xe } from "./components/upload/hooks.js";
|
|
27
|
+
import { clsx as Ze, cn as $e, cx as eo } from "./components/utils/cn.js";
|
|
28
|
+
import { reactNodeToString as ro } from "./components/utils/reactToString.js";
|
|
29
|
+
import { isTracebackError as ao } from "./components/utils/isTracebackError.js";
|
|
30
|
+
import { isValidHexColor as po } from "./components/utils/colors.js";
|
|
31
|
+
import { WithRenderProp as xo } from "./components/utils/WithRenderProp.js";
|
|
32
|
+
import { getReactElementProp as so, getReactElementRef as no } from "./components/utils/reactElement.js";
|
|
33
|
+
import { default as Co } from "merge-refs";
|
|
34
|
+
import { useAntdCssVarClassname as uo, useCls as To, useGetPrefixCls as go } from "./components/utils/antdUtils.js";
|
|
35
|
+
import { changeThemeWithoutTransition as ho } from "./components/utils/theme.js";
|
|
36
|
+
import { moveTypingCursorToEnd as Eo } from "./components/utils/selectionRange.js";
|
|
37
|
+
import { DROPDOWN_COLLISION_AVOIDANCE as Ro, POPUP_COLLISION_AVOIDANCE as bo } from "./components/utils/constants.js";
|
|
38
|
+
import { buildAntdPlacement as Do, normalizeBaseUISide as Io, parseAntdPlacement as Lo } from "./components/utils/placement.js";
|
|
39
|
+
import { createRenderProp as Oo } from "./components/utils/renderProp.js";
|
|
40
|
+
import { ScrollArea as yo } from "./components/scroll-area/component.js";
|
|
41
|
+
import { Popover as Mo } from "./components/popover/component.js";
|
|
42
|
+
import { Slider as _o } from "./components/slider/component.js";
|
|
43
|
+
import { Tooltip as Wo } from "./components/tooltip/component.js";
|
|
44
|
+
import { Breadcrumb as Vo } from "./components/breadcrumb/component.js";
|
|
45
|
+
import { BreadcrumbItem as Ko } from "./components/breadcrumb/item.js";
|
|
46
|
+
import { useUniqueKeysTree as Go } from "./components/tree/useUniqueKeysTree.js";
|
|
47
|
+
import { getUniqueKeysFromOriginals as Qo, processTreeData as jo } from "./components/tree/helpers.js";
|
|
48
|
+
import { Tree as Xo } from "./components/tree/components.js";
|
|
49
|
+
import { Spin as Zo } from "./components/spin/component.js";
|
|
50
|
+
import { Empty as er } from "./components/empty/component.js";
|
|
51
|
+
import { Form as rr } from "./components/form/component.js";
|
|
52
|
+
import { Field as ar } from "./components/field/component.js";
|
|
53
|
+
import { Tour as pr } from "./components/tour/component.js";
|
|
54
|
+
import { Toast as xr } from "./components/toast/component.js";
|
|
55
|
+
import { toast as sr, toastManager as nr } from "./components/toast/function.js";
|
|
56
|
+
import { VerticalCollapsiblePanel as Cr } from "./components/vertical-collapsible-panel/component.js";
|
|
57
|
+
import { PopupPanel as ur } from "./components/popup-panel/component.js";
|
|
58
|
+
import { CodeBlock as dr } from "./components/code-block/component.js";
|
|
59
|
+
import { StackChild as Sr } from "./components/stack/StackChild.js";
|
|
60
|
+
import { Stack as Ar } from "./components/stack/index.js";
|
|
61
|
+
import { Collapse as Pr } from "./components/collapse/component.js";
|
|
62
|
+
import { Input as br } from "./components/input/component.js";
|
|
63
|
+
import { Badge as Dr, InternalBadge as Ir } from "./components/badge/component.js";
|
|
64
|
+
import { Radio as Br } from "./components/radio/component.js";
|
|
65
|
+
import { Button as vr } from "./components/button/component.js";
|
|
66
|
+
import { DSRoot as Nr } from "./components/ds-root/component.js";
|
|
67
|
+
import { useDS as wr } from "./components/ds-root/hook.js";
|
|
68
|
+
import { DragDrop as Ur, DragDropRoot as Wr } from "./components/drag-drop/index.js";
|
|
69
|
+
import { ColorSelect as Vr } from "./components/color-select/component.js";
|
|
70
|
+
import { Nav as Kr } from "./components/nav/index.js";
|
|
71
|
+
import { ChoiceList as Gr } from "./components/choice-list/component.js";
|
|
72
|
+
import { StatusIcon as Qr } from "./components/status-icon/component.js";
|
|
73
|
+
import { Resizable as Jr } from "./components/resizable/component.js";
|
|
74
|
+
import { Combobox as Yr } from "./components/combobox/component.js";
|
|
75
|
+
import { SelectTrigger as $r, SelectTriggerArrow as et, SelectTriggerClear as ot, SelectTriggerContent as rt, SelectTriggerRoot as tt } from "./components/select-trigger/component.js";
|
|
76
|
+
import { Loader as mt } from "./components/loader/component.js";
|
|
77
|
+
import { WindowPortal as ft } from "./components/window-portal/component.js";
|
|
78
|
+
import { Alert as lt } from "./components/alert/component.js";
|
|
79
|
+
import { LabelWithHelp as nt } from "./components/label-with-help/component.js";
|
|
80
|
+
import { useForm as Ct, useWatch as ct } from "antd/es/form/Form";
|
|
81
|
+
import { useMessage as Tt, useModal as dt, useToken as gt } from "./components/hooks/antd.js";
|
|
82
|
+
import { default as ht } from "antd/es/app/useApp";
|
|
83
|
+
import { useAnimationsFinished as Et, useEnhancedEffect as Pt, useEventCallback as Rt, useLatestRef as bt } from "./components/hooks/base-ui.js";
|
|
84
|
+
import { useControlledState as Dt } from "./components/hooks/useControlledState.js";
|
|
85
|
+
import { useCharts as Lt } from "./components/hooks/useCharts.js";
|
|
86
|
+
import { useCSSVariables as Ot } from "./components/hooks/useCSSVariables.js";
|
|
87
|
+
import { useHover as yt } from "./components/hooks/useHover.js";
|
|
88
|
+
import { useDraggable as Mt } from "./components/hooks/useDraggable.js";
|
|
89
|
+
import { BREAKPOINTS as _t, useBreakpoint as Ut } from "./components/hooks/useBreakpoint.js";
|
|
90
|
+
import { useWindowSize as Ft } from "./components/hooks/useWindowSize.js";
|
|
91
|
+
import { useElementSize as zt, useResizeObserver as Kt } from "./components/hooks/useResizeObserver.js";
|
|
92
|
+
import { antdColorTokens as Gt, darkTheme as Ht, lightTheme as Qt } from "./tokens/and-theme/tokens.js";
|
|
93
|
+
import { categoricalChartColorKeys as Jt, categoricalChartColorTokens as Xt, categoricalChartsColors as Yt, chartColorTokens as Zt, rawChartColorTokens as $t } from "./tokens/charts/palettes/cloudscape.js";
|
|
94
|
+
import { COLORBREWER as oa } from "./tokens/charts/palettes/colorbrewer.js";
|
|
95
|
+
import { tab10 as ta, tab20 as aa, tab20b as ma, tab20c as pa } from "./tokens/charts/palettes/tableau.js";
|
|
96
|
+
import { CATEGORICAL_PALETTES as xa, CATEGORICAL_PALETTE_NAMES as la, SEQUENTIAL_PALETTES as sa, SEQUENTIAL_PALETTE_NAMES as na, getAllCategoricalChartColors as ia, getAllSequentialChartColors as Ca, getCategoricalChartColors as ca, getSequentialChartColors as ua } from "./tokens/charts/palettes/index.js";
|
|
97
|
+
import { getColorsByTheme as da, getTokensByTheme as ga, resolveColorTokens as Sa } from "./tokens/utils.js";
|
|
97
98
|
export {
|
|
98
99
|
f as Affix,
|
|
99
|
-
|
|
100
|
+
lt as Alert,
|
|
100
101
|
x as Anchor,
|
|
101
102
|
l as App,
|
|
102
103
|
s as AutoComplete,
|
|
103
104
|
n as Avatar,
|
|
104
|
-
|
|
105
|
+
_t as BREAKPOINTS,
|
|
105
106
|
i as BackTop,
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
107
|
+
Dr as Badge,
|
|
108
|
+
Vo as Breadcrumb,
|
|
109
|
+
Ko as BreadcrumbItem,
|
|
110
|
+
vr as Button,
|
|
111
|
+
xa as CATEGORICAL_PALETTES,
|
|
112
|
+
la as CATEGORICAL_PALETTE_NAMES,
|
|
113
|
+
oa as COLORBREWER,
|
|
113
114
|
C as Calendar,
|
|
114
115
|
c as Card,
|
|
115
116
|
u as Carousel,
|
|
116
117
|
T as Cascader,
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
118
|
+
ue as Checkbox,
|
|
119
|
+
Gr as ChoiceList,
|
|
120
|
+
dr as CodeBlock,
|
|
120
121
|
d as Col,
|
|
121
|
-
|
|
122
|
+
Pr as Collapse,
|
|
122
123
|
g as ColorPicker,
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
124
|
+
Vr as ColorSelect,
|
|
125
|
+
Yr as Combobox,
|
|
126
|
+
Ve as CommandPalette,
|
|
126
127
|
S as ConfigProvider,
|
|
127
|
-
|
|
128
|
-
|
|
128
|
+
Ro as DROPDOWN_COLLISION_AVOIDANCE,
|
|
129
|
+
Nr as DSRoot,
|
|
129
130
|
te as DataTable,
|
|
130
131
|
h as DatePicker,
|
|
131
|
-
|
|
132
|
+
Qe as DefaultUpload,
|
|
132
133
|
A as Descriptions,
|
|
134
|
+
le as Dialog,
|
|
133
135
|
E as Divider,
|
|
134
|
-
|
|
135
|
-
|
|
136
|
+
Ur as DragDrop,
|
|
137
|
+
Wr as DragDropRoot,
|
|
136
138
|
P as Drawer,
|
|
137
139
|
R as Dropdown,
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
140
|
+
_e as DropdownMenu,
|
|
141
|
+
We as DropdownMenuItem,
|
|
142
|
+
er as Empty,
|
|
143
|
+
ar as Field,
|
|
142
144
|
b as Flex,
|
|
143
145
|
k as FloatButton,
|
|
144
|
-
|
|
146
|
+
rr as Form,
|
|
145
147
|
D as Grid,
|
|
146
|
-
|
|
147
|
-
|
|
148
|
+
ne as IconButton,
|
|
149
|
+
br as Input,
|
|
148
150
|
I as InputNumber,
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
151
|
+
Ir as InternalBadge,
|
|
152
|
+
Ke as KeyboardShortcut,
|
|
153
|
+
nt as LabelWithHelp,
|
|
152
154
|
L as Layout,
|
|
153
155
|
B as List,
|
|
154
|
-
|
|
156
|
+
mt as Loader,
|
|
155
157
|
O as Mentions,
|
|
156
158
|
v as Menu,
|
|
157
159
|
fe as Modal,
|
|
158
|
-
|
|
159
|
-
|
|
160
|
+
Kr as Nav,
|
|
161
|
+
bo as POPUP_COLLISION_AVOIDANCE,
|
|
160
162
|
y as Pagination,
|
|
161
163
|
N as Popconfirm,
|
|
162
|
-
|
|
163
|
-
|
|
164
|
+
Mo as Popover,
|
|
165
|
+
ur as PopupPanel,
|
|
164
166
|
M as Progress,
|
|
165
167
|
w as QRCode,
|
|
166
|
-
|
|
168
|
+
Br as Radio,
|
|
167
169
|
_ as Rate,
|
|
168
|
-
|
|
170
|
+
Jr as Resizable,
|
|
169
171
|
U as Result,
|
|
170
172
|
W as Row,
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
173
|
+
sa as SEQUENTIAL_PALETTES,
|
|
174
|
+
na as SEQUENTIAL_PALETTE_NAMES,
|
|
175
|
+
yo as ScrollArea,
|
|
176
|
+
de as Segmented,
|
|
175
177
|
me as Select,
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
178
|
+
$r as SelectTrigger,
|
|
179
|
+
et as SelectTriggerArrow,
|
|
180
|
+
ot as SelectTriggerClear,
|
|
181
|
+
rt as SelectTriggerContent,
|
|
182
|
+
tt as SelectTriggerRoot,
|
|
181
183
|
F as Skeleton,
|
|
182
|
-
|
|
184
|
+
_o as Slider,
|
|
183
185
|
V as Space,
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
186
|
+
Zo as Spin,
|
|
187
|
+
ve as Split,
|
|
188
|
+
ye as Splitter,
|
|
189
|
+
Ar as Stack,
|
|
190
|
+
Sr as StackChild,
|
|
189
191
|
z as Statistic,
|
|
190
|
-
|
|
192
|
+
Qr as StatusIcon,
|
|
191
193
|
K as Steps,
|
|
192
|
-
|
|
193
|
-
|
|
194
|
+
Ce as Switch,
|
|
195
|
+
Se as Table,
|
|
194
196
|
q as Tabs,
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
197
|
+
Ae as Tag,
|
|
198
|
+
Pe as TagList,
|
|
199
|
+
De as ThemeContext,
|
|
200
|
+
Be as ThemeContextProvider,
|
|
201
|
+
be as ThemeProvider,
|
|
200
202
|
G as TimePicker,
|
|
201
203
|
H as Timeline,
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
204
|
+
xr as Toast,
|
|
205
|
+
Wo as Tooltip,
|
|
206
|
+
pr as Tour,
|
|
205
207
|
Q as Transfer,
|
|
206
|
-
|
|
207
|
-
|
|
208
|
+
Ge as Transition,
|
|
209
|
+
Xo as Tree,
|
|
208
210
|
j as TreeSelect,
|
|
209
|
-
|
|
211
|
+
Me as Truncate,
|
|
210
212
|
J as Typography,
|
|
211
|
-
|
|
212
|
-
|
|
213
|
+
je as Upload,
|
|
214
|
+
Cr as VerticalCollapsiblePanel,
|
|
213
215
|
X as Watermark,
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
216
|
+
ft as WindowPortal,
|
|
217
|
+
xo as WithRenderProp,
|
|
218
|
+
Gt as antdColorTokens,
|
|
219
|
+
Do as buildAntdPlacement,
|
|
220
|
+
Jt as categoricalChartColorKeys,
|
|
221
|
+
Xt as categoricalChartColorTokens,
|
|
222
|
+
Yt as categoricalChartsColors,
|
|
223
|
+
ho as changeThemeWithoutTransition,
|
|
224
|
+
Zt as chartColorTokens,
|
|
225
|
+
Ze as clsx,
|
|
226
|
+
$e as cn,
|
|
225
227
|
r as componentMetadata,
|
|
226
|
-
|
|
228
|
+
Oo as createRenderProp,
|
|
227
229
|
m as createSyntheticClickEvent,
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
230
|
+
eo as cx,
|
|
231
|
+
Ht as darkTheme,
|
|
232
|
+
ia as getAllCategoricalChartColors,
|
|
233
|
+
Ca as getAllSequentialChartColors,
|
|
234
|
+
ca as getCategoricalChartColors,
|
|
235
|
+
da as getColorsByTheme,
|
|
234
236
|
t as getComponentsByCategory,
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
237
|
+
so as getReactElementProp,
|
|
238
|
+
no as getReactElementRef,
|
|
239
|
+
ua as getSequentialChartColors,
|
|
240
|
+
ga as getTokensByTheme,
|
|
241
|
+
Qo as getUniqueKeysFromOriginals,
|
|
242
|
+
ao as isTracebackError,
|
|
243
|
+
po as isValidHexColor,
|
|
244
|
+
Qt as lightTheme,
|
|
245
|
+
Co as mergeRefs,
|
|
244
246
|
Y as message,
|
|
245
|
-
|
|
246
|
-
|
|
247
|
+
Eo as moveTypingCursorToEnd,
|
|
248
|
+
Io as normalizeBaseUISide,
|
|
247
249
|
Z as notification,
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
250
|
+
Lo as parseAntdPlacement,
|
|
251
|
+
jo as processTreeData,
|
|
252
|
+
$t as rawChartColorTokens,
|
|
253
|
+
ro as reactNodeToString,
|
|
254
|
+
Sa as resolveColorTokens,
|
|
255
|
+
ta as tab10,
|
|
256
|
+
aa as tab20,
|
|
257
|
+
ma as tab20b,
|
|
258
|
+
pa as tab20c,
|
|
257
259
|
$ as theme,
|
|
258
|
-
|
|
259
|
-
|
|
260
|
+
sr as toast,
|
|
261
|
+
nr as toastManager,
|
|
260
262
|
ee as unstableSetRender,
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
263
|
+
Et as useAnimationsFinished,
|
|
264
|
+
uo as useAntdCssVarClassname,
|
|
265
|
+
ht as useApp,
|
|
266
|
+
Ut as useBreakpoint,
|
|
267
|
+
Ot as useCSSVariables,
|
|
268
|
+
Lt as useCharts,
|
|
269
|
+
To as useCls,
|
|
270
|
+
Dt as useControlledState,
|
|
271
|
+
wr as useDS,
|
|
272
|
+
Mt as useDraggable,
|
|
273
|
+
zt as useElementSize,
|
|
274
|
+
Pt as useEnhancedEffect,
|
|
275
|
+
Rt as useEventCallback,
|
|
276
|
+
Ct as useForm,
|
|
277
|
+
go as useGetPrefixCls,
|
|
278
|
+
yt as useHover,
|
|
279
|
+
bt as useLatestRef,
|
|
280
|
+
Tt as useMessage,
|
|
281
|
+
dt as useModal,
|
|
282
|
+
Kt as useResizeObserver,
|
|
283
|
+
Ie as useTheme,
|
|
284
|
+
gt as useToken,
|
|
285
|
+
Go as useUniqueKeysTree,
|
|
286
|
+
Xe as useUploadItemRender,
|
|
287
|
+
ct as useWatch,
|
|
288
|
+
Ft as useWindowSize,
|
|
287
289
|
oe as version
|
|
288
290
|
};
|
|
289
291
|
//# 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.d.ts
CHANGED
|
@@ -169,6 +169,16 @@ export declare const componentMetadata: {
|
|
|
169
169
|
originalDocUrl: string;
|
|
170
170
|
description: string;
|
|
171
171
|
};
|
|
172
|
+
Dialog: {
|
|
173
|
+
name: string;
|
|
174
|
+
link: string;
|
|
175
|
+
base: "base-ui";
|
|
176
|
+
refinements: string[];
|
|
177
|
+
category: "Overlay";
|
|
178
|
+
packages: string[];
|
|
179
|
+
originalDocUrl: string;
|
|
180
|
+
description: string;
|
|
181
|
+
};
|
|
172
182
|
Modal: {
|
|
173
183
|
name: string;
|
|
174
184
|
link: string;
|
|
@@ -265,7 +275,7 @@ export declare const componentMetadata: {
|
|
|
265
275
|
name: string;
|
|
266
276
|
link: string;
|
|
267
277
|
base: "antd";
|
|
268
|
-
refinements:
|
|
278
|
+
refinements: string[];
|
|
269
279
|
category: "Feedback";
|
|
270
280
|
originalDocUrl: string;
|
|
271
281
|
description: string;
|
|
@@ -278,6 +288,15 @@ export declare const componentMetadata: {
|
|
|
278
288
|
category: "Layout";
|
|
279
289
|
description: string;
|
|
280
290
|
};
|
|
291
|
+
Space: {
|
|
292
|
+
name: string;
|
|
293
|
+
link: string;
|
|
294
|
+
base: "antd";
|
|
295
|
+
refinements: string[];
|
|
296
|
+
category: "Layout";
|
|
297
|
+
originalDocUrl: string;
|
|
298
|
+
description: string;
|
|
299
|
+
};
|
|
281
300
|
Stack: {
|
|
282
301
|
name: string;
|
|
283
302
|
link: string;
|
package/dist/metadata.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"metadata.d.ts","sourceRoot":"","sources":["../src/metadata.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,GAAG,SAAS,GAAG,QAAQ,CAAC;IACpC,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,QAAQ,EAAE,iBAAiB,CAAC;IAC5B,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GACzB,SAAS,GACT,SAAS,GACT,QAAQ,GACR,YAAY,GACZ,YAAY,GACZ,cAAc,GACd,UAAU,GACV,SAAS,GACT,SAAS,CAAC;AAEd,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"metadata.d.ts","sourceRoot":"","sources":["../src/metadata.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,GAAG,SAAS,GAAG,QAAQ,CAAC;IACpC,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,QAAQ,EAAE,iBAAiB,CAAC;IAC5B,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GACzB,SAAS,GACT,SAAS,GACT,QAAQ,GACR,YAAY,GACZ,YAAY,GACZ,cAAc,GACd,UAAU,GACV,SAAS,GACT,SAAS,CAAC;AAEd,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgwBe,CAAC;AAE9C;;GAEG;AACH,eAAO,MAAM,uBAAuB,QAAO,MAAM,CAC/C,iBAAiB,EACjB,iBAAiB,EAAE,CA0BpB,CAAC"}
|
package/dist/metadata.js
CHANGED
|
@@ -197,6 +197,24 @@ const i = {
|
|
|
197
197
|
originalDocUrl: "https://ant.design/components/message",
|
|
198
198
|
description: "The Message component provides feedback in response to user operations. Unlike notification, messages are simpler and typically auto-dismiss after a short duration."
|
|
199
199
|
},
|
|
200
|
+
Dialog: {
|
|
201
|
+
name: "Dialog",
|
|
202
|
+
link: "/dialog",
|
|
203
|
+
base: "base-ui",
|
|
204
|
+
refinements: [
|
|
205
|
+
"Built with Base UI dialog primitives instead of Ant Design modal internals",
|
|
206
|
+
"Mirrors the documented `Modal` API where behavior maps cleanly, including `title`, `footer`, `size`, `contentPadding`, `hideOkButton`, and `hideCancelButton`",
|
|
207
|
+
"Uses a DS-styled header, body, and footer shell with close-button slot areas and generated action buttons",
|
|
208
|
+
"Supports controlled and uncontrolled open state with `open` and `defaultOpen`",
|
|
209
|
+
"Keeps scrolling in the body region to preserve stable layout for nested Base UI content such as accordions",
|
|
210
|
+
"Supports DS modal sizes: `xsmall`, `small`, `medium`, `large`, `xlarge`, `xxlarge`, and `fullscreen`",
|
|
211
|
+
"Provides `background`, `defaultFixedHeaderFooter`, `centered`, and `bodyScrollable` props for modal-shell layout control"
|
|
212
|
+
],
|
|
213
|
+
category: "Overlay",
|
|
214
|
+
packages: ["@base-ui/react/dialog"],
|
|
215
|
+
originalDocUrl: "https://base-ui.com/react/components/dialog",
|
|
216
|
+
description: "A Base UI powered dialog shell for DS consumers who need modal behavior without relying on the existing Ant Design modal implementation."
|
|
217
|
+
},
|
|
200
218
|
Modal: {
|
|
201
219
|
name: "Modal",
|
|
202
220
|
link: "/modal",
|
|
@@ -343,7 +361,12 @@ const i = {
|
|
|
343
361
|
name: "Spin",
|
|
344
362
|
link: "/spin",
|
|
345
363
|
base: "antd",
|
|
346
|
-
refinements: [
|
|
364
|
+
refinements: [
|
|
365
|
+
"Reimplemented as a typed local wrapper aligned with Ant Design v5 behavior instead of directly re-exporting Antd's component.",
|
|
366
|
+
"Adds numeric `size` support through the local `SpinSize` type and DS CSS variable sizing.",
|
|
367
|
+
"Uses a DS default ring indicator when no custom `indicator` or progress `percent` mode is provided.",
|
|
368
|
+
"Keeps Ant Design nested, fullscreen, delayed, and `percent` loading patterns while preserving DS styling hooks."
|
|
369
|
+
],
|
|
347
370
|
category: "Feedback",
|
|
348
371
|
originalDocUrl: "https://ant.design/components/spin",
|
|
349
372
|
description: "Indicates a loading state."
|
|
@@ -360,6 +383,19 @@ const i = {
|
|
|
360
383
|
// originalDocUrl: "https://ant.design/components/layout", // AntD Layout could be a loose reference, but no direct 'Splitter' component.
|
|
361
384
|
description: "Splitter is used to divide and resize multiple elements in a container."
|
|
362
385
|
},
|
|
386
|
+
Space: {
|
|
387
|
+
name: "Space",
|
|
388
|
+
link: "/space",
|
|
389
|
+
base: "antd",
|
|
390
|
+
refinements: [
|
|
391
|
+
"Keeps Ant Design's spacing and compact-group behavior while fitting into the BioTuring docs and theming setup.",
|
|
392
|
+
"Supports `Space.Compact` for visually merged groups of related controls such as inputs, selects, and buttons.",
|
|
393
|
+
"Works well with DS color classes and component wrappers for light and dark mode friendly demos."
|
|
394
|
+
],
|
|
395
|
+
category: "Layout",
|
|
396
|
+
originalDocUrl: "https://5x.ant.design/components/space/",
|
|
397
|
+
description: "A layout primitive for arranging items with consistent spacing, including compact grouped controls."
|
|
398
|
+
},
|
|
363
399
|
Stack: {
|
|
364
400
|
name: "Stack",
|
|
365
401
|
link: "/stack",
|