@bioturing/components 0.25.0 → 0.27.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/checkbox/component.js +12 -4
- package/dist/components/checkbox/component.js.map +1 -1
- package/dist/components/checkbox/style.css +1 -1
- package/dist/components/choice-list/component.js +24 -21
- package/dist/components/choice-list/component.js.map +1 -1
- package/dist/components/cmdk/index.js.map +1 -1
- package/dist/components/dropdown-menu/component.js +16 -15
- package/dist/components/dropdown-menu/component.js.map +1 -1
- package/dist/components/form/item.js +31 -28
- package/dist/components/form/item.js.map +1 -1
- package/dist/components/form/style.css +1 -1
- package/dist/components/popup-panel/component.js +142 -164
- package/dist/components/popup-panel/component.js.map +1 -1
- package/dist/components/popup-panel/style.css +1 -1
- package/dist/components/resizable/component.js +171 -0
- package/dist/components/resizable/component.js.map +1 -0
- package/dist/components/resizable/style.css +1 -0
- package/dist/components/segmented/component.js +3 -3
- package/dist/components/segmented/component.js.map +1 -1
- package/dist/components/spin/component.js +9 -8
- package/dist/components/spin/component.js.map +1 -1
- package/dist/components/splitter/component.js +7 -36
- package/dist/components/splitter/component.js.map +1 -1
- package/dist/components/splitter/context.js +6 -0
- package/dist/components/splitter/context.js.map +1 -0
- package/dist/components/splitter/splitter-panel.js +35 -0
- package/dist/components/splitter/splitter-panel.js.map +1 -0
- package/dist/components/splitter/splitter.js +158 -0
- package/dist/components/splitter/splitter.js.map +1 -0
- package/dist/components/splitter/style.css +1 -1
- package/dist/components/splitter/useSizes.js +86 -0
- package/dist/components/splitter/useSizes.js.map +1 -0
- package/dist/components/upload/dragger.js +19 -10
- package/dist/components/upload/dragger.js.map +1 -1
- package/dist/components/upload/item.js +21 -18
- package/dist/components/upload/item.js.map +1 -1
- package/dist/components/utils/antdUtils.js +18 -56
- package/dist/components/utils/antdUtils.js.map +1 -1
- package/dist/components/utils/placement.js +58 -0
- package/dist/components/utils/placement.js.map +1 -0
- package/dist/components/utils/reactElement.js +5 -0
- package/dist/components/utils/reactElement.js.map +1 -0
- package/dist/index.d.ts +196 -25
- package/dist/index.js +164 -158
- package/dist/index.js.map +1 -1
- package/dist/metadata.js +22 -2
- package/dist/metadata.js.map +1 -1
- package/package.json +4 -2
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { componentMetadata as
|
|
2
|
-
import { Affix as p, Alert as m, Anchor as s, App as f, AutoComplete as l, Avatar as n, BackTop as x, Calendar as i, Card as C, Carousel as c, Cascader as T, Col as u, ColorPicker as d, ConfigProvider as S, DatePicker as g, Descriptions as h, Divider as A, Drawer as E, Dropdown as P, Flex as k, FloatButton as
|
|
3
|
-
import { Select as
|
|
1
|
+
import { componentMetadata as r, getComponentsByCategory as t } from "./metadata.js";
|
|
2
|
+
import { Affix as p, Alert as m, Anchor as s, App as f, AutoComplete as l, Avatar as n, BackTop as x, Calendar as i, Card as C, Carousel as c, Cascader as T, Col as u, ColorPicker as d, ConfigProvider as S, DatePicker as g, Descriptions as h, Divider as A, Drawer as E, Dropdown as P, Flex as k, FloatButton as R, Grid as D, InputNumber as b, Layout as I, List as L, Mentions as O, Menu as y, Pagination as B, Popconfirm as N, Progress as v, QRCode as M, Rate as _, Result as U, Row as F, Skeleton as W, Space as w, Statistic as V, Steps as q, Tabs as G, TimePicker as K, Timeline as Q, Transfer as z, 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
|
+
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";
|
|
6
6
|
import { Switch as fo } from "./components/switch/component.js";
|
|
@@ -11,65 +11,68 @@ import { Tag as uo } from "./components/tag/component.js";
|
|
|
11
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
13
|
import { Truncate as ko } from "./components/truncate/component.js";
|
|
14
|
-
import { DropdownMenu as
|
|
15
|
-
import { clsx as
|
|
14
|
+
import { DropdownMenu as Do } from "./components/dropdown-menu/component.js";
|
|
15
|
+
import { clsx as Io, cn as Lo, cx as Oo } from "./components/utils/cn.js";
|
|
16
16
|
import { reactNodeToString as Bo } from "./components/utils/reactToString.js";
|
|
17
17
|
import { isTracebackError as vo } from "./components/utils/isTracebackError.js";
|
|
18
18
|
import { isValidHexColor as _o } from "./components/utils/colors.js";
|
|
19
19
|
import { WithRenderProp as Fo } from "./components/utils/WithRenderProp.js";
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
20
|
+
import { getReactElementProp as wo } from "./components/utils/reactElement.js";
|
|
21
|
+
import { useAntdCssVarClassname as qo, useCls as Go, useGetPrefixCls as Ko } from "./components/utils/antdUtils.js";
|
|
22
|
+
import { WithAntdTokens as zo } from "./components/utils/WithAntdTokens.js";
|
|
22
23
|
import { changeThemeWithoutTransition as jo } from "./components/utils/theme.js";
|
|
23
|
-
import { moveTypingCursorToEnd as
|
|
24
|
-
import { DROPDOWN_COLLISION_AVOIDANCE as
|
|
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 {
|
|
24
|
+
import { moveTypingCursorToEnd as Xo } from "./components/utils/selectionRange.js";
|
|
25
|
+
import { DROPDOWN_COLLISION_AVOIDANCE as Zo, POPUP_COLLISION_AVOIDANCE as $o } from "./components/utils/constants.js";
|
|
26
|
+
import { buildAntdPlacement as ee, parseAntdPlacement as re } from "./components/utils/placement.js";
|
|
27
|
+
import { Transition as ae } from "./components/transition/component.js";
|
|
28
|
+
import { DefaultUpload as me, Upload as se } from "./components/upload/component.js";
|
|
29
|
+
import { useUploadItemRender as le } from "./components/upload/hooks.js";
|
|
30
|
+
import { ScrollArea as xe } from "./components/scroll-area/component.js";
|
|
31
|
+
import { Popover as Ce } from "./components/popover/component.js";
|
|
32
|
+
import { Slider as Te } from "./components/slider/component.js";
|
|
33
|
+
import { Tooltip as de } from "./components/tooltip/component.js";
|
|
34
|
+
import { Breadcrumb as ge } from "./components/breadcrumb/component.js";
|
|
35
|
+
import { useUniqueKeysTree as Ae } from "./components/tree/useUniqueKeysTree.js";
|
|
36
|
+
import { getUniqueKeysFromOriginals as Pe, processTreeData as ke } from "./components/tree/helpers.js";
|
|
37
|
+
import { Tree as De } from "./components/tree/components.js";
|
|
38
|
+
import { Spin as Ie } from "./components/spin/component.js";
|
|
39
|
+
import { Empty as Oe, EmptyIcon as ye } from "./components/empty/component.js";
|
|
40
|
+
import { Form as Ne } from "./components/form/component.js";
|
|
41
|
+
import { Field as Me } from "./components/field/component.js";
|
|
42
|
+
import { Tour as Ue } from "./components/tour/component.js";
|
|
43
|
+
import { Toast as We } from "./components/toast/component.js";
|
|
44
|
+
import { toast as Ve, toastManager as qe } from "./components/toast/function.js";
|
|
45
|
+
import { VerticalCollapsiblePanel as Ke } from "./components/vertical-collapsible-panel/component.js";
|
|
46
|
+
import { PopupPanel as ze } from "./components/popup-panel/component.js";
|
|
47
|
+
import { CodeBlock as je } from "./components/code-block/component.js";
|
|
48
|
+
import { StackChild as Xe } from "./components/stack/StackChild.js";
|
|
49
|
+
import { Stack as Ze } from "./components/stack/index.js";
|
|
50
|
+
import { Collapse as or } from "./components/collapse/component.js";
|
|
51
|
+
import { Input as rr } from "./components/input/component.js";
|
|
52
|
+
import { Badge as ar, InternalBadge as pr } from "./components/badge/component.js";
|
|
53
|
+
import { Radio as sr } from "./components/radio/component.js";
|
|
54
|
+
import { Button as lr } from "./components/button/component.js";
|
|
55
|
+
import { DSRoot as xr } from "./components/ds-root/component.js";
|
|
56
|
+
import { DSRootContextProvider as Cr, useDS as cr } from "./components/ds-root/context.js";
|
|
57
|
+
import { DragDrop as ur, DragDropRoot as dr } from "./components/drag-drop/index.js";
|
|
58
|
+
import { ColorSelect as gr } from "./components/color-select/component.js";
|
|
59
|
+
import { Nav as Ar } from "./components/nav/index.js";
|
|
60
|
+
import { ChoiceList as Pr } from "./components/choice-list/component.js";
|
|
61
|
+
import { StatusIcon as Rr } from "./components/status-icon/component.js";
|
|
62
|
+
import { Resizable as br } from "./components/resizable/component.js";
|
|
63
|
+
import { useForm as Lr, useWatch as Or } from "antd/es/form/Form";
|
|
64
|
+
import { useBreakpoint as Br, useMessage as Nr, useModal as vr, useToken as Mr } from "./components/hooks/antd.js";
|
|
65
|
+
import { default as Ur } from "antd/es/app/useApp";
|
|
66
|
+
import { useAnimationsFinished as Wr, useEnhancedEffect as wr, useEventCallback as Vr, useLatestRef as qr } from "./components/hooks/base-ui.js";
|
|
67
|
+
import { useControlledState as Kr } from "./components/hooks/useControlledState.js";
|
|
68
|
+
import { useCharts as zr } from "./components/hooks/useCharts.js";
|
|
69
|
+
import { useCSSVariables as jr } from "./components/hooks/useCSSVariables.js";
|
|
70
|
+
import { antdColorTokens as Xr, darkTheme as Yr, lightTheme as Zr } from "./tokens/and-theme/tokens.js";
|
|
71
|
+
import { categoricalChartColorKeys as ot, categoricalChartColorTokens as et, categoricalChartsColors as rt, chartColorTokens as tt, rawChartColorTokens as at } from "./tokens/charts/palettes/cloudscape.js";
|
|
72
|
+
import { COLORBREWER as mt } from "./tokens/charts/palettes/colorbrewer.js";
|
|
73
|
+
import { tab10 as ft, tab20 as lt, tab20b as nt, tab20c as xt } from "./tokens/charts/palettes/tableau.js";
|
|
74
|
+
import { CATEGORICAL_PALETTES as Ct, CATEGORICAL_PALETTE_NAMES as ct, SEQUENTIAL_PALETTES as Tt, SEQUENTIAL_PALETTE_NAMES as ut, getAllCategoricalChartColors as dt, getAllSequentialChartColors as St, getCategoricalChartColors as gt, getSequentialChartColors as ht } from "./tokens/charts/palettes/index.js";
|
|
75
|
+
import { getColorsByTheme as Et, getTokensByTheme as Pt, resolveColorTokens as kt } from "./tokens/utils.js";
|
|
73
76
|
export {
|
|
74
77
|
p as Affix,
|
|
75
78
|
m as Alert,
|
|
@@ -78,79 +81,80 @@ export {
|
|
|
78
81
|
l as AutoComplete,
|
|
79
82
|
n as Avatar,
|
|
80
83
|
x as BackTop,
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
84
|
+
ar as Badge,
|
|
85
|
+
ge as Breadcrumb,
|
|
86
|
+
lr as Button,
|
|
87
|
+
Ct as CATEGORICAL_PALETTES,
|
|
88
|
+
ct as CATEGORICAL_PALETTE_NAMES,
|
|
89
|
+
mt as COLORBREWER,
|
|
87
90
|
i as Calendar,
|
|
88
91
|
C as Card,
|
|
89
92
|
c as Carousel,
|
|
90
93
|
T as Cascader,
|
|
91
94
|
no as Checkbox,
|
|
92
|
-
|
|
93
|
-
|
|
95
|
+
Pr as ChoiceList,
|
|
96
|
+
je as CodeBlock,
|
|
94
97
|
u as Col,
|
|
95
|
-
|
|
98
|
+
or as Collapse,
|
|
96
99
|
d as ColorPicker,
|
|
97
|
-
|
|
100
|
+
gr as ColorSelect,
|
|
98
101
|
S as ConfigProvider,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
+
Zo as DROPDOWN_COLLISION_AVOIDANCE,
|
|
103
|
+
xr as DSRoot,
|
|
104
|
+
Cr as DSRootContextProvider,
|
|
102
105
|
g as DatePicker,
|
|
103
|
-
|
|
106
|
+
me as DefaultUpload,
|
|
104
107
|
h as Descriptions,
|
|
105
108
|
A as Divider,
|
|
106
|
-
|
|
107
|
-
|
|
109
|
+
ur as DragDrop,
|
|
110
|
+
dr as DragDropRoot,
|
|
108
111
|
E as Drawer,
|
|
109
112
|
P as Dropdown,
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
113
|
+
Do as DropdownMenu,
|
|
114
|
+
Oe as Empty,
|
|
115
|
+
ye as EmptyIcon,
|
|
116
|
+
Me as Field,
|
|
114
117
|
k as Flex,
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
+
R as FloatButton,
|
|
119
|
+
Ne as Form,
|
|
120
|
+
D as Grid,
|
|
118
121
|
mo as IconButton,
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
122
|
+
rr as Input,
|
|
123
|
+
b as InputNumber,
|
|
124
|
+
pr as InternalBadge,
|
|
125
|
+
I as Layout,
|
|
126
|
+
L as List,
|
|
124
127
|
O as Mentions,
|
|
125
128
|
y as Menu,
|
|
126
129
|
ao as Modal,
|
|
127
|
-
|
|
128
|
-
|
|
130
|
+
Ar as Nav,
|
|
131
|
+
$o as POPUP_COLLISION_AVOIDANCE,
|
|
129
132
|
B as Pagination,
|
|
130
133
|
N as Popconfirm,
|
|
131
|
-
|
|
132
|
-
|
|
134
|
+
Ce as Popover,
|
|
135
|
+
ze as PopupPanel,
|
|
133
136
|
v as Progress,
|
|
134
137
|
M as QRCode,
|
|
135
|
-
|
|
138
|
+
sr as Radio,
|
|
136
139
|
_ as Rate,
|
|
140
|
+
br as Resizable,
|
|
137
141
|
U as Result,
|
|
138
142
|
F as Row,
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
143
|
+
Tt as SEQUENTIAL_PALETTES,
|
|
144
|
+
ut as SEQUENTIAL_PALETTE_NAMES,
|
|
145
|
+
xe as ScrollArea,
|
|
142
146
|
io as Segmented,
|
|
143
|
-
|
|
147
|
+
ro as Select,
|
|
144
148
|
W as Skeleton,
|
|
145
|
-
|
|
149
|
+
Te as Slider,
|
|
146
150
|
w as Space,
|
|
147
|
-
|
|
151
|
+
Ie as Spin,
|
|
148
152
|
Ao as Split,
|
|
149
153
|
Eo as Splitter,
|
|
150
|
-
|
|
151
|
-
|
|
154
|
+
Ze as Stack,
|
|
155
|
+
Xe as StackChild,
|
|
152
156
|
V as Statistic,
|
|
153
|
-
|
|
157
|
+
Rr as StatusIcon,
|
|
154
158
|
q as Steps,
|
|
155
159
|
fo as Switch,
|
|
156
160
|
co as Table,
|
|
@@ -159,78 +163,80 @@ export {
|
|
|
159
163
|
go as ThemeProvider,
|
|
160
164
|
K as TimePicker,
|
|
161
165
|
Q as Timeline,
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
166
|
+
We as Toast,
|
|
167
|
+
de as Tooltip,
|
|
168
|
+
Ue as Tour,
|
|
169
|
+
z as Transfer,
|
|
170
|
+
ae as Transition,
|
|
171
|
+
De as Tree,
|
|
172
|
+
H as TreeSelect,
|
|
169
173
|
ko as Truncate,
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
174
|
+
j as Typography,
|
|
175
|
+
se as Upload,
|
|
176
|
+
Ke as VerticalCollapsiblePanel,
|
|
173
177
|
J as Watermark,
|
|
174
|
-
|
|
178
|
+
zo as WithAntdTokens,
|
|
175
179
|
Fo as WithRenderProp,
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
+
Xr as antdColorTokens,
|
|
181
|
+
ee as buildAntdPlacement,
|
|
182
|
+
ot as categoricalChartColorKeys,
|
|
183
|
+
et as categoricalChartColorTokens,
|
|
184
|
+
rt as categoricalChartsColors,
|
|
180
185
|
jo as changeThemeWithoutTransition,
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
186
|
+
tt as chartColorTokens,
|
|
187
|
+
Io as clsx,
|
|
188
|
+
Lo as cn,
|
|
189
|
+
r as componentMetadata,
|
|
185
190
|
Oo as cx,
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
+
Yr as darkTheme,
|
|
192
|
+
dt as getAllCategoricalChartColors,
|
|
193
|
+
St as getAllSequentialChartColors,
|
|
194
|
+
gt as getCategoricalChartColors,
|
|
195
|
+
Et as getColorsByTheme,
|
|
191
196
|
t as getComponentsByCategory,
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
197
|
+
wo as getReactElementProp,
|
|
198
|
+
ht as getSequentialChartColors,
|
|
199
|
+
Pt as getTokensByTheme,
|
|
200
|
+
Pe as getUniqueKeysFromOriginals,
|
|
195
201
|
vo as isTracebackError,
|
|
196
202
|
_o as isValidHexColor,
|
|
197
|
-
|
|
203
|
+
Zr as lightTheme,
|
|
198
204
|
X as message,
|
|
199
|
-
|
|
205
|
+
Xo as moveTypingCursorToEnd,
|
|
200
206
|
Y as notification,
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
207
|
+
re as parseAntdPlacement,
|
|
208
|
+
ke as processTreeData,
|
|
209
|
+
at as rawChartColorTokens,
|
|
204
210
|
Bo as reactNodeToString,
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
211
|
+
kt as resolveColorTokens,
|
|
212
|
+
ft as tab10,
|
|
213
|
+
lt as tab20,
|
|
214
|
+
nt as tab20b,
|
|
215
|
+
xt as tab20c,
|
|
210
216
|
Z as theme,
|
|
211
|
-
|
|
212
|
-
|
|
217
|
+
Ve as toast,
|
|
218
|
+
qe as toastManager,
|
|
213
219
|
$ as unstableSetRender,
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
220
|
+
Wr as useAnimationsFinished,
|
|
221
|
+
qo as useAntdCssVarClassname,
|
|
222
|
+
Ur as useApp,
|
|
223
|
+
Br as useBreakpoint,
|
|
224
|
+
jr as useCSSVariables,
|
|
225
|
+
zr as useCharts,
|
|
226
|
+
Go as useCls,
|
|
227
|
+
Kr as useControlledState,
|
|
228
|
+
cr as useDS,
|
|
229
|
+
wr as useEnhancedEffect,
|
|
230
|
+
Vr as useEventCallback,
|
|
231
|
+
Lr as useForm,
|
|
232
|
+
Ko as useGetPrefixCls,
|
|
233
|
+
qr as useLatestRef,
|
|
234
|
+
Nr as useMessage,
|
|
235
|
+
vr as useModal,
|
|
236
|
+
Mr as useToken,
|
|
237
|
+
Ae as useUniqueKeysTree,
|
|
238
|
+
le as useUploadItemRender,
|
|
239
|
+
Or as useWatch,
|
|
234
240
|
oo as version
|
|
235
241
|
};
|
|
236
242
|
//# 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
|
@@ -231,6 +231,26 @@ const i = {
|
|
|
231
231
|
originalDocUrl: "https://base-ui.com/react/components/popover",
|
|
232
232
|
description: "A specialized panel that pops up, often resizable, for displaying rich content or tools."
|
|
233
233
|
},
|
|
234
|
+
Resizable: {
|
|
235
|
+
name: "Resizable",
|
|
236
|
+
link: "/resizable",
|
|
237
|
+
base: "custom",
|
|
238
|
+
refinements: [
|
|
239
|
+
"Custom implementation using react-use-resizable hook",
|
|
240
|
+
"Configurable resize handles for bottom, left, and right edges (all enabled by default)",
|
|
241
|
+
"Can be toggled on/off with resizable prop",
|
|
242
|
+
"Optional absolutePositioning prop for use in absolutely positioned containers",
|
|
243
|
+
"Always uses WithRenderProp to avoid wrapper elements",
|
|
244
|
+
"Directly enhances the child element with resize functionality",
|
|
245
|
+
"Validates that children is a single React element",
|
|
246
|
+
"When disabled, acts as a transparent wrapper",
|
|
247
|
+
"Manages user selection during resize operations",
|
|
248
|
+
"Supports custom styling via classNames prop"
|
|
249
|
+
],
|
|
250
|
+
category: "Utility",
|
|
251
|
+
packages: ["react-use-resizable", "merge-refs"],
|
|
252
|
+
description: "A utility wrapper component that can be resized by dragging handles, useful for creating adjustable layouts and panels."
|
|
253
|
+
},
|
|
234
254
|
Radio: {
|
|
235
255
|
name: "Radio",
|
|
236
256
|
link: "/radio",
|
|
@@ -546,7 +566,7 @@ const i = {
|
|
|
546
566
|
// Assuming this kebab-case name for Base UI docs
|
|
547
567
|
description: "A panel that can be collapsed or expanded vertically, often used in sidebars or for sectioning content."
|
|
548
568
|
}
|
|
549
|
-
},
|
|
569
|
+
}, a = () => {
|
|
550
570
|
const e = {
|
|
551
571
|
Actions: [],
|
|
552
572
|
General: [],
|
|
@@ -568,6 +588,6 @@ const i = {
|
|
|
568
588
|
};
|
|
569
589
|
export {
|
|
570
590
|
i as componentMetadata,
|
|
571
|
-
|
|
591
|
+
a as getComponentsByCategory
|
|
572
592
|
};
|
|
573
593
|
//# sourceMappingURL=metadata.js.map
|