@bioturing/components 0.16.0 → 0.17.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/Badge/component.js +7 -20
- package/dist/components/Badge/component.js.map +1 -1
- package/dist/components/ColorSelect/component.js +138 -0
- package/dist/components/ColorSelect/component.js.map +1 -0
- package/dist/components/ColorSelect/style.css +1 -0
- package/dist/components/DragDrop/context.js +18 -0
- package/dist/components/DragDrop/context.js.map +1 -0
- package/dist/components/DragDrop/draggable.js +64 -0
- package/dist/components/DragDrop/draggable.js.map +1 -0
- package/dist/components/DragDrop/droppable.js +48 -0
- package/dist/components/DragDrop/droppable.js.map +1 -0
- package/dist/components/DragDrop/hooks.js +139 -0
- package/dist/components/DragDrop/hooks.js.map +1 -0
- package/dist/components/DragDrop/index.js +45 -0
- package/dist/components/DragDrop/index.js.map +1 -0
- package/dist/components/DragDrop/style.css +1 -0
- package/dist/components/IconButton/component.js +54 -43
- package/dist/components/IconButton/component.js.map +1 -1
- package/dist/components/IconButton/style.css +1 -1
- package/dist/components/Nav/context.js +7 -0
- package/dist/components/Nav/context.js.map +1 -0
- package/dist/components/Nav/group.js +16 -0
- package/dist/components/Nav/group.js.map +1 -0
- package/dist/components/Nav/heading.js +16 -0
- package/dist/components/Nav/heading.js.map +1 -0
- package/dist/components/Nav/index.js +13 -0
- package/dist/components/Nav/index.js.map +1 -0
- package/dist/components/Nav/item.js +36 -0
- package/dist/components/Nav/item.js.map +1 -0
- package/dist/components/Nav/style.css +1 -0
- package/dist/components/PopupPanel/component.js +69 -74
- package/dist/components/PopupPanel/component.js.map +1 -1
- package/dist/components/Stack/Stack.js +40 -34
- package/dist/components/Stack/Stack.js.map +1 -1
- package/dist/components/Stack/StackChild.js +59 -54
- package/dist/components/Stack/StackChild.js.map +1 -1
- package/dist/components/Tag/component.js +59 -24
- package/dist/components/Tag/component.js.map +1 -1
- package/dist/components/Tag/style.css +1 -1
- package/dist/components/ThemeProvider/component.js +18 -18
- package/dist/components/ThemeProvider/component.js.map +1 -1
- package/dist/components/ThemeProvider/style.css +1 -1
- package/dist/components/Toast/component.js +29 -35
- package/dist/components/Toast/component.js.map +1 -1
- package/dist/components/Tooltip/component.js +4 -22
- package/dist/components/Tooltip/component.js.map +1 -1
- package/dist/components/VerticalCollapsiblePanel/component.js +37 -37
- package/dist/components/VerticalCollapsiblePanel/component.js.map +1 -1
- package/dist/components/hooks/useCharts.js +19 -17
- package/dist/components/hooks/useCharts.js.map +1 -1
- package/dist/components/utils/colors.js +5 -0
- package/dist/components/utils/colors.js.map +1 -0
- package/dist/index.d.ts +724 -23
- package/dist/index.js +186 -162
- package/dist/index.js.map +1 -1
- package/dist/metadata.js +45 -7
- package/dist/metadata.js.map +1 -1
- package/dist/tailwind.css +1 -1
- package/dist/tokens/and-theme/tokens.js +13 -7
- package/dist/tokens/and-theme/tokens.js.map +1 -1
- package/dist/tokens/charts/{tokens.js → palettes/cloudscape.js} +22 -12
- package/dist/tokens/charts/palettes/cloudscape.js.map +1 -0
- package/dist/tokens/charts/palettes/colorbrewer.js +1525 -0
- package/dist/tokens/charts/palettes/colorbrewer.js.map +1 -0
- package/dist/tokens/charts/palettes/index.js +61 -0
- package/dist/tokens/charts/palettes/index.js.map +1 -0
- package/dist/tokens/charts/palettes/tableau.js +112 -0
- package/dist/tokens/charts/palettes/tableau.js.map +1 -0
- package/dist/tokens/utils.js.map +1 -1
- package/package.json +2 -2
- package/dist/tokens/charts/index.js +0 -18
- package/dist/tokens/charts/index.js.map +0 -1
- package/dist/tokens/charts/tokens.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,197 +1,221 @@
|
|
|
1
1
|
import { componentMetadata as r, getComponentsByCategory as t } from "./metadata.js";
|
|
2
|
-
import { Affix as p, Alert as m, Anchor as s, App as
|
|
2
|
+
import { Affix as p, Alert as m, Anchor as s, App as l, AutoComplete as f, 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 g, DatePicker as S, Descriptions as h, Divider as A, Drawer as E, Dropdown as k, Flex as P, FloatButton as R, Grid as D, InputNumber as b, Layout as B, List as y, Mentions as L, Menu as v, Pagination as I, Popconfirm as M, Progress as F, QRCode as N, Rate as U, Result as w, Row as _, Skeleton as O, Space as q, Statistic as G, Steps as W, Tabs as K, TimePicker as Q, Timeline as V, Transfer as H, TreeSelect as j, Typography as z, 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/IconButton/component.js";
|
|
6
|
-
import { Switch as
|
|
7
|
-
import { Checkbox as
|
|
6
|
+
import { Switch as lo } from "./components/Switch/component.js";
|
|
7
|
+
import { Checkbox as no } from "./components/Checkbox/component.js";
|
|
8
8
|
import { Segmented as io } from "./components/Segmented/component.js";
|
|
9
|
-
import { Table as
|
|
10
|
-
import { Tag as
|
|
11
|
-
import { ThemeProvider as
|
|
12
|
-
import { Split as
|
|
13
|
-
import { Truncate as
|
|
9
|
+
import { Table as co } from "./components/Table/component.js";
|
|
10
|
+
import { Tag as uo } from "./components/Tag/component.js";
|
|
11
|
+
import { ThemeProvider as So } from "./components/ThemeProvider/component.js";
|
|
12
|
+
import { Split as Ao, Splitter as Eo } from "./components/Splitter/component.js";
|
|
13
|
+
import { Truncate as Po } from "./components/Truncate/component.js";
|
|
14
14
|
import { DropdownMenu as Do } from "./components/DropdownMenu/component.js";
|
|
15
|
-
import { clsx as
|
|
16
|
-
import { reactNodeToString as
|
|
17
|
-
import { isTracebackError as
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
15
|
+
import { clsx as Bo, cn as yo, cx as Lo } from "./components/utils/cn.js";
|
|
16
|
+
import { reactNodeToString as Io } from "./components/utils/reactToString.js";
|
|
17
|
+
import { isTracebackError as Fo } from "./components/utils/isTracebackError.js";
|
|
18
|
+
import { isValidHexColor as Uo } from "./components/utils/colors.js";
|
|
19
|
+
import { parseAntdPlacement as _o, useAntdCssVarClassname as Oo, useCls as qo, useGetPrefixCls as Go } from "./components/utils/antdUtils.js";
|
|
20
|
+
import { WithAntdTokens as Ko } from "./components/utils/WithAntdTokens.js";
|
|
21
|
+
import { Transition as Vo } from "./components/Transition/component.js";
|
|
21
22
|
import { DefaultUpload as jo, Upload as zo } from "./components/Upload/component.js";
|
|
22
|
-
import { useUploadItemRender as
|
|
23
|
-
import { ScrollArea as
|
|
24
|
-
import { Popover as
|
|
25
|
-
import { Slider as
|
|
26
|
-
import { Tooltip as
|
|
27
|
-
import { Breadcrumb as
|
|
28
|
-
import { useUniqueKeysTree as
|
|
29
|
-
import { getUniqueKeysFromOriginals as
|
|
30
|
-
import { Tree as
|
|
31
|
-
import { Spin as
|
|
32
|
-
import { Empty as de, EmptyIcon as
|
|
33
|
-
import { Form as
|
|
34
|
-
import { Field as
|
|
23
|
+
import { useUploadItemRender as Xo } from "./components/Upload/hooks.js";
|
|
24
|
+
import { ScrollArea as Zo } from "./components/ScrollArea/component.js";
|
|
25
|
+
import { Popover as oe } from "./components/Popover/component.js";
|
|
26
|
+
import { Slider as re } from "./components/Slider/component.js";
|
|
27
|
+
import { Tooltip as ae } from "./components/Tooltip/component.js";
|
|
28
|
+
import { Breadcrumb as me } from "./components/Breadcrumb/component.js";
|
|
29
|
+
import { useUniqueKeysTree as le } from "./components/Tree/useUniqueKeysTree.js";
|
|
30
|
+
import { getUniqueKeysFromOriginals as ne, processTreeData as xe } from "./components/Tree/helpers.js";
|
|
31
|
+
import { Tree as Ce } from "./components/Tree/components.js";
|
|
32
|
+
import { Spin as Te } from "./components/Spin/component.js";
|
|
33
|
+
import { Empty as de, EmptyIcon as ge } from "./components/Empty/component.js";
|
|
34
|
+
import { Form as he } from "./components/Form/component.js";
|
|
35
|
+
import { Field as Ee } from "./components/Field/component.js";
|
|
35
36
|
import { Tour as Pe } from "./components/Tour/component.js";
|
|
36
|
-
import { Toast as
|
|
37
|
-
import { toast as
|
|
37
|
+
import { Toast as De } from "./components/Toast/component.js";
|
|
38
|
+
import { toast as Be, toastManager as ye } from "./components/Toast/function.js";
|
|
38
39
|
import { VerticalCollapsiblePanel as ve } from "./components/VerticalCollapsiblePanel/component.js";
|
|
39
|
-
import { PopupPanel as
|
|
40
|
-
import { CodeBlock as
|
|
41
|
-
import { StackChild as
|
|
42
|
-
import { Stack as
|
|
43
|
-
import { Collapse as
|
|
44
|
-
import { Input as
|
|
45
|
-
import { Badge as
|
|
40
|
+
import { PopupPanel as Me } from "./components/PopupPanel/component.js";
|
|
41
|
+
import { CodeBlock as Ne } from "./components/CodeBlock/component.js";
|
|
42
|
+
import { StackChild as we } from "./components/Stack/StackChild.js";
|
|
43
|
+
import { Stack as Oe } from "./components/Stack/index.js";
|
|
44
|
+
import { Collapse as Ge } from "./components/Collapse/component.js";
|
|
45
|
+
import { Input as Ke } from "./components/Input/component.js";
|
|
46
|
+
import { Badge as Ve, InternalBadge as He } from "./components/Badge/component.js";
|
|
46
47
|
import { Radio as ze } from "./components/Radio/component.js";
|
|
47
|
-
import { Button as
|
|
48
|
-
import { DSRoot as
|
|
49
|
-
import { DSRootContextProvider as
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
48
|
+
import { Button as Xe } from "./components/Button/component.js";
|
|
49
|
+
import { DSRoot as Ze } from "./components/DSRoot/component.js";
|
|
50
|
+
import { DSRootContextProvider as or, useDS as er } from "./components/DSRoot/context.js";
|
|
51
|
+
import { DragDrop as tr, DragDropRoot as ar } from "./components/DragDrop/index.js";
|
|
52
|
+
import { ColorSelect as mr } from "./components/ColorSelect/component.js";
|
|
53
|
+
import { Nav as lr } from "./components/Nav/index.js";
|
|
54
|
+
import { useForm as nr, useWatch as xr } from "antd/es/form/Form";
|
|
55
|
+
import { useBreakpoint as Cr, useMessage as cr, useModal as Tr, useToken as ur } from "./components/hooks/antd.js";
|
|
56
|
+
import { default as gr } from "antd/es/app/useApp";
|
|
57
|
+
import { useAnimationsFinished as hr, useEnhancedEffect as Ar, useEventCallback as Er, useLatestRef as kr } from "./components/hooks/base-ui.js";
|
|
58
|
+
import { useControlledState as Rr } from "./components/hooks/useControlledState.js";
|
|
59
|
+
import { useCharts as br } from "./components/hooks/useCharts.js";
|
|
60
|
+
import { antdColorTokens as yr, darkTheme as Lr, lightTheme as vr } from "./tokens/and-theme/tokens.js";
|
|
61
|
+
import { categoricalChartColorKeys as Mr, categoricalChartColorTokens as Fr, categoricalChartsColors as Nr, chartColorTokens as Ur, rawChartColorTokens as wr } from "./tokens/charts/palettes/cloudscape.js";
|
|
62
|
+
import { COLORBREWER as Or } from "./tokens/charts/palettes/colorbrewer.js";
|
|
63
|
+
import { tab10 as Gr, tab20 as Wr, tab20b as Kr, tab20c as Qr } from "./tokens/charts/palettes/tableau.js";
|
|
64
|
+
import { CATEGORICAL_PALETTES as Hr, CATEGORICAL_PALETTE_NAMES as jr, SEQUENTIAL_PALETTES as zr, SEQUENTIAL_PALETTE_NAMES as Jr, getAllCategoricalChartColors as Xr, getAllSequentialChartColors as Yr, getCategoricalChartColors as Zr, getSequentialChartColors as $r } from "./tokens/charts/palettes/index.js";
|
|
65
|
+
import { getColorsByTheme as et, getTokensByTheme as rt, resolveColorTokens as tt } from "./tokens/utils.js";
|
|
60
66
|
export {
|
|
61
67
|
p as Affix,
|
|
62
68
|
m as Alert,
|
|
63
69
|
s as Anchor,
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
70
|
+
l as App,
|
|
71
|
+
f as AutoComplete,
|
|
72
|
+
n as Avatar,
|
|
73
|
+
x as BackTop,
|
|
74
|
+
Ve as Badge,
|
|
75
|
+
me as Breadcrumb,
|
|
76
|
+
Xe as Button,
|
|
77
|
+
Hr as CATEGORICAL_PALETTES,
|
|
78
|
+
jr as CATEGORICAL_PALETTE_NAMES,
|
|
79
|
+
Or as COLORBREWER,
|
|
71
80
|
i as Calendar,
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
81
|
+
C as Card,
|
|
82
|
+
c as Carousel,
|
|
83
|
+
T as Cascader,
|
|
84
|
+
no as Checkbox,
|
|
85
|
+
Ne as CodeBlock,
|
|
86
|
+
u as Col,
|
|
87
|
+
Ge as Collapse,
|
|
88
|
+
d as ColorPicker,
|
|
89
|
+
mr as ColorSelect,
|
|
80
90
|
g as ConfigProvider,
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
91
|
+
Ze as DSRoot,
|
|
92
|
+
or as DSRootContextProvider,
|
|
93
|
+
S as DatePicker,
|
|
84
94
|
jo as DefaultUpload,
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
95
|
+
h as Descriptions,
|
|
96
|
+
A as Divider,
|
|
97
|
+
tr as DragDrop,
|
|
98
|
+
ar as DragDropRoot,
|
|
99
|
+
E as Drawer,
|
|
100
|
+
k as Dropdown,
|
|
89
101
|
Do as DropdownMenu,
|
|
90
102
|
de as Empty,
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
103
|
+
ge as EmptyIcon,
|
|
104
|
+
Ee as Field,
|
|
105
|
+
P as Flex,
|
|
106
|
+
R as FloatButton,
|
|
107
|
+
he as Form,
|
|
96
108
|
D as Grid,
|
|
97
109
|
mo as IconButton,
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
110
|
+
Ke as Input,
|
|
111
|
+
b as InputNumber,
|
|
112
|
+
He as InternalBadge,
|
|
113
|
+
B as Layout,
|
|
114
|
+
y as List,
|
|
115
|
+
L as Mentions,
|
|
116
|
+
v as Menu,
|
|
105
117
|
ao as Modal,
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
118
|
+
lr as Nav,
|
|
119
|
+
I as Pagination,
|
|
120
|
+
M as Popconfirm,
|
|
121
|
+
oe as Popover,
|
|
122
|
+
Me as PopupPanel,
|
|
123
|
+
F as Progress,
|
|
124
|
+
N as QRCode,
|
|
112
125
|
ze as Radio,
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
126
|
+
U as Rate,
|
|
127
|
+
w as Result,
|
|
128
|
+
_ as Row,
|
|
129
|
+
zr as SEQUENTIAL_PALETTES,
|
|
130
|
+
Jr as SEQUENTIAL_PALETTE_NAMES,
|
|
131
|
+
Zo as ScrollArea,
|
|
117
132
|
io as Segmented,
|
|
118
133
|
ro as Select,
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
+
O as Skeleton,
|
|
135
|
+
re as Slider,
|
|
136
|
+
q as Space,
|
|
137
|
+
Te as Spin,
|
|
138
|
+
Ao as Split,
|
|
139
|
+
Eo as Splitter,
|
|
140
|
+
Oe as Stack,
|
|
141
|
+
we as StackChild,
|
|
142
|
+
G as Statistic,
|
|
143
|
+
W as Steps,
|
|
144
|
+
lo as Switch,
|
|
145
|
+
co as Table,
|
|
146
|
+
K as Tabs,
|
|
147
|
+
uo as Tag,
|
|
148
|
+
So as ThemeProvider,
|
|
134
149
|
Q as TimePicker,
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
150
|
+
V as Timeline,
|
|
151
|
+
De as Toast,
|
|
152
|
+
ae as Tooltip,
|
|
138
153
|
Pe as Tour,
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
154
|
+
H as Transfer,
|
|
155
|
+
Vo as Transition,
|
|
156
|
+
Ce as Tree,
|
|
157
|
+
j as TreeSelect,
|
|
158
|
+
Po as Truncate,
|
|
159
|
+
z as Typography,
|
|
145
160
|
zo as Upload,
|
|
146
161
|
ve as VerticalCollapsiblePanel,
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
162
|
+
J as Watermark,
|
|
163
|
+
Ko as WithAntdTokens,
|
|
164
|
+
yr as antdColorTokens,
|
|
165
|
+
Mr as categoricalChartColorKeys,
|
|
166
|
+
Fr as categoricalChartColorTokens,
|
|
167
|
+
Nr as categoricalChartsColors,
|
|
168
|
+
Ur as chartColorTokens,
|
|
169
|
+
Bo as clsx,
|
|
170
|
+
yo as cn,
|
|
156
171
|
r as componentMetadata,
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
172
|
+
Lo as cx,
|
|
173
|
+
Lr as darkTheme,
|
|
174
|
+
Xr as getAllCategoricalChartColors,
|
|
175
|
+
Yr as getAllSequentialChartColors,
|
|
176
|
+
Zr as getCategoricalChartColors,
|
|
177
|
+
et as getColorsByTheme,
|
|
160
178
|
t as getComponentsByCategory,
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
179
|
+
$r as getSequentialChartColors,
|
|
180
|
+
rt as getTokensByTheme,
|
|
181
|
+
ne as getUniqueKeysFromOriginals,
|
|
182
|
+
Fo as isTracebackError,
|
|
183
|
+
Uo as isValidHexColor,
|
|
184
|
+
vr as lightTheme,
|
|
185
|
+
X as message,
|
|
186
|
+
Y as notification,
|
|
187
|
+
_o as parseAntdPlacement,
|
|
188
|
+
xe as processTreeData,
|
|
189
|
+
wr as rawChartColorTokens,
|
|
190
|
+
Io as reactNodeToString,
|
|
191
|
+
tt as resolveColorTokens,
|
|
192
|
+
Gr as tab10,
|
|
193
|
+
Wr as tab20,
|
|
194
|
+
Kr as tab20b,
|
|
195
|
+
Qr as tab20c,
|
|
196
|
+
Z as theme,
|
|
197
|
+
Be as toast,
|
|
198
|
+
ye as toastManager,
|
|
175
199
|
$ as unstableSetRender,
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
200
|
+
hr as useAnimationsFinished,
|
|
201
|
+
Oo as useAntdCssVarClassname,
|
|
202
|
+
gr as useApp,
|
|
203
|
+
Cr as useBreakpoint,
|
|
204
|
+
br as useCharts,
|
|
205
|
+
qo as useCls,
|
|
206
|
+
Rr as useControlledState,
|
|
207
|
+
er as useDS,
|
|
208
|
+
Ar as useEnhancedEffect,
|
|
209
|
+
Er as useEventCallback,
|
|
210
|
+
nr as useForm,
|
|
211
|
+
Go as useGetPrefixCls,
|
|
212
|
+
kr as useLatestRef,
|
|
213
|
+
cr as useMessage,
|
|
214
|
+
Tr as useModal,
|
|
215
|
+
ur as useToken,
|
|
216
|
+
le as useUniqueKeysTree,
|
|
217
|
+
Xo as useUploadItemRender,
|
|
218
|
+
xr as useWatch,
|
|
195
219
|
oo as version
|
|
196
220
|
};
|
|
197
221
|
//# 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
|
@@ -1,4 +1,18 @@
|
|
|
1
1
|
const i = {
|
|
2
|
+
DragDrop: {
|
|
3
|
+
name: "DragDrop",
|
|
4
|
+
link: "/drag-drop",
|
|
5
|
+
base: "custom",
|
|
6
|
+
refinements: [
|
|
7
|
+
"Custom implementation for drag and drop functionality",
|
|
8
|
+
"Type-safe with TypeScript generics",
|
|
9
|
+
"Supports custom styling and rendering",
|
|
10
|
+
"Provides Draggable and Droppable subcomponents",
|
|
11
|
+
"Handles drag events with proper context management"
|
|
12
|
+
],
|
|
13
|
+
category: "Data Entry",
|
|
14
|
+
description: "A component for creating drag and drop interfaces with customizable draggable items and drop zones."
|
|
15
|
+
},
|
|
2
16
|
Badge: {
|
|
3
17
|
name: "Badge",
|
|
4
18
|
link: "/badge",
|
|
@@ -80,6 +94,19 @@ const i = {
|
|
|
80
94
|
originalDocUrl: "https://base-ui.com/react/components/menu",
|
|
81
95
|
description: "A menu that appears when a user interacts with a button or other control."
|
|
82
96
|
},
|
|
97
|
+
Nav: {
|
|
98
|
+
name: "Nav",
|
|
99
|
+
link: "/nav",
|
|
100
|
+
base: "custom",
|
|
101
|
+
refinements: [
|
|
102
|
+
"Supports icon and label via a render prop pattern",
|
|
103
|
+
"Manages hover state to reveal label when collapsed",
|
|
104
|
+
"Supports active and collapsed/expanded (currentPanel) states",
|
|
105
|
+
"Uses component-level CSS imports and custom transition classes"
|
|
106
|
+
],
|
|
107
|
+
category: "Navigation",
|
|
108
|
+
description: "A navigation item with icon and label, supporting active highlighting and hover reveal."
|
|
109
|
+
},
|
|
83
110
|
Empty: {
|
|
84
111
|
name: "Empty",
|
|
85
112
|
link: "/empty",
|
|
@@ -170,12 +197,7 @@ const i = {
|
|
|
170
197
|
link: "/popover",
|
|
171
198
|
base: "antd",
|
|
172
199
|
// Retains AntD as 'base' because it aims for API compatibility
|
|
173
|
-
refinements: [
|
|
174
|
-
"Refactored to use `@base-ui-components/react/popover` internally",
|
|
175
|
-
"Maintains Ant Design API compatibility",
|
|
176
|
-
"Custom prop mapping for placement and trigger to align with Base UI Popover",
|
|
177
|
-
"Combined title and content props into a single node for Base UI Popover's content area"
|
|
178
|
-
],
|
|
200
|
+
refinements: [],
|
|
179
201
|
category: "Overlay",
|
|
180
202
|
originalDocUrl: "https://ant.design/components/popover",
|
|
181
203
|
// Original AntD doc for API reference
|
|
@@ -324,12 +346,28 @@ const i = {
|
|
|
324
346
|
"Defaults to using the `X` icon (bold) from `@bioturing/assets` as the `closeIcon` if the tag is `closable` and no custom icon is provided.",
|
|
325
347
|
"Introduces an `active` boolean prop (defaults to false).",
|
|
326
348
|
"When `active={true}`, applies specific styling (background, border, text color using `--ds-color-primary` tokens) via a `data-active` attribute and `style.css`.",
|
|
327
|
-
"Applies BioTuring Design System specific styling via `./style.css`, including base styles for alignment and consistent close icon coloring (`--ds-color-icon`)."
|
|
349
|
+
"Applies BioTuring Design System specific styling via `./style.css`, including base styles for alignment and consistent close icon coloring (`--ds-color-icon`).",
|
|
350
|
+
"Introduces a `size` prop with options `small`, `medium`, and `large` to control tag dimensions."
|
|
328
351
|
],
|
|
329
352
|
category: "Data Display",
|
|
330
353
|
originalDocUrl: "https://ant.design/components/tag",
|
|
331
354
|
description: "Small UI elements for categorization, filtering, or highlighting items."
|
|
332
355
|
},
|
|
356
|
+
ColorSelect: {
|
|
357
|
+
name: "ColorSelect",
|
|
358
|
+
link: "/color-select",
|
|
359
|
+
base: "antd",
|
|
360
|
+
refinements: [
|
|
361
|
+
"Combines Ant Design `ColorPicker` with a `Select`-like input for color selection.",
|
|
362
|
+
"Supports preset colors via the `presetColors` prop and freeform hex input.",
|
|
363
|
+
"Displays selected colors as closable `Tag`s with color swatches.",
|
|
364
|
+
"Provides controlled/uncontrolled APIs (`value`/`defaultValue`, `open`/`defaultOpen`).",
|
|
365
|
+
"Emits a `toast` notification on invalid color entries.",
|
|
366
|
+
"Uses `Stack` for layout and `style.css` for BioTuring styling."
|
|
367
|
+
],
|
|
368
|
+
category: "Data Entry",
|
|
369
|
+
description: "A combined color picker and selector allowing preset and custom color selection with tag display."
|
|
370
|
+
},
|
|
333
371
|
ThemeProvider: {
|
|
334
372
|
name: "ThemeProvider",
|
|
335
373
|
link: "/theme-provider",
|