@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.
Files changed (73) hide show
  1. package/dist/components/Badge/component.js +7 -20
  2. package/dist/components/Badge/component.js.map +1 -1
  3. package/dist/components/ColorSelect/component.js +138 -0
  4. package/dist/components/ColorSelect/component.js.map +1 -0
  5. package/dist/components/ColorSelect/style.css +1 -0
  6. package/dist/components/DragDrop/context.js +18 -0
  7. package/dist/components/DragDrop/context.js.map +1 -0
  8. package/dist/components/DragDrop/draggable.js +64 -0
  9. package/dist/components/DragDrop/draggable.js.map +1 -0
  10. package/dist/components/DragDrop/droppable.js +48 -0
  11. package/dist/components/DragDrop/droppable.js.map +1 -0
  12. package/dist/components/DragDrop/hooks.js +139 -0
  13. package/dist/components/DragDrop/hooks.js.map +1 -0
  14. package/dist/components/DragDrop/index.js +45 -0
  15. package/dist/components/DragDrop/index.js.map +1 -0
  16. package/dist/components/DragDrop/style.css +1 -0
  17. package/dist/components/IconButton/component.js +54 -43
  18. package/dist/components/IconButton/component.js.map +1 -1
  19. package/dist/components/IconButton/style.css +1 -1
  20. package/dist/components/Nav/context.js +7 -0
  21. package/dist/components/Nav/context.js.map +1 -0
  22. package/dist/components/Nav/group.js +16 -0
  23. package/dist/components/Nav/group.js.map +1 -0
  24. package/dist/components/Nav/heading.js +16 -0
  25. package/dist/components/Nav/heading.js.map +1 -0
  26. package/dist/components/Nav/index.js +13 -0
  27. package/dist/components/Nav/index.js.map +1 -0
  28. package/dist/components/Nav/item.js +36 -0
  29. package/dist/components/Nav/item.js.map +1 -0
  30. package/dist/components/Nav/style.css +1 -0
  31. package/dist/components/PopupPanel/component.js +69 -74
  32. package/dist/components/PopupPanel/component.js.map +1 -1
  33. package/dist/components/Stack/Stack.js +40 -34
  34. package/dist/components/Stack/Stack.js.map +1 -1
  35. package/dist/components/Stack/StackChild.js +59 -54
  36. package/dist/components/Stack/StackChild.js.map +1 -1
  37. package/dist/components/Tag/component.js +59 -24
  38. package/dist/components/Tag/component.js.map +1 -1
  39. package/dist/components/Tag/style.css +1 -1
  40. package/dist/components/ThemeProvider/component.js +18 -18
  41. package/dist/components/ThemeProvider/component.js.map +1 -1
  42. package/dist/components/ThemeProvider/style.css +1 -1
  43. package/dist/components/Toast/component.js +29 -35
  44. package/dist/components/Toast/component.js.map +1 -1
  45. package/dist/components/Tooltip/component.js +4 -22
  46. package/dist/components/Tooltip/component.js.map +1 -1
  47. package/dist/components/VerticalCollapsiblePanel/component.js +37 -37
  48. package/dist/components/VerticalCollapsiblePanel/component.js.map +1 -1
  49. package/dist/components/hooks/useCharts.js +19 -17
  50. package/dist/components/hooks/useCharts.js.map +1 -1
  51. package/dist/components/utils/colors.js +5 -0
  52. package/dist/components/utils/colors.js.map +1 -0
  53. package/dist/index.d.ts +724 -23
  54. package/dist/index.js +186 -162
  55. package/dist/index.js.map +1 -1
  56. package/dist/metadata.js +45 -7
  57. package/dist/metadata.js.map +1 -1
  58. package/dist/tailwind.css +1 -1
  59. package/dist/tokens/and-theme/tokens.js +13 -7
  60. package/dist/tokens/and-theme/tokens.js.map +1 -1
  61. package/dist/tokens/charts/{tokens.js → palettes/cloudscape.js} +22 -12
  62. package/dist/tokens/charts/palettes/cloudscape.js.map +1 -0
  63. package/dist/tokens/charts/palettes/colorbrewer.js +1525 -0
  64. package/dist/tokens/charts/palettes/colorbrewer.js.map +1 -0
  65. package/dist/tokens/charts/palettes/index.js +61 -0
  66. package/dist/tokens/charts/palettes/index.js.map +1 -0
  67. package/dist/tokens/charts/palettes/tableau.js +112 -0
  68. package/dist/tokens/charts/palettes/tableau.js.map +1 -0
  69. package/dist/tokens/utils.js.map +1 -1
  70. package/package.json +2 -2
  71. package/dist/tokens/charts/index.js +0 -18
  72. package/dist/tokens/charts/index.js.map +0 -1
  73. 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 f, AutoComplete as n, Avatar as x, BackTop as l, Calendar as i, Card as c, Carousel as u, Cascader as d, Col as C, ColorPicker as T, ConfigProvider as g, DatePicker as h, Descriptions as k, Divider as S, Drawer as P, Dropdown as y, Flex as A, FloatButton as B, Grid as D, InputNumber as R, Layout as b, List as v, Mentions as M, Menu as F, Pagination as w, Popconfirm as E, Progress as I, QRCode as U, Rate as K, Result as L, Row as W, Skeleton as q, Space as G, Statistic as N, Steps as V, Tabs as O, TimePicker as Q, Timeline as j, Transfer as z, TreeSelect as H, Typography as J, Watermark as X, message as Y, notification as Z, theme as _, unstableSetRender as $, version as oo } from "antd";
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 fo } from "./components/Switch/component.js";
7
- import { Checkbox as xo } from "./components/Checkbox/component.js";
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 uo } from "./components/Table/component.js";
10
- import { Tag as To } from "./components/Tag/component.js";
11
- import { ThemeProvider as ho } from "./components/ThemeProvider/component.js";
12
- import { Split as So, Splitter as Po } from "./components/Splitter/component.js";
13
- import { Truncate as Ao } from "./components/Truncate/component.js";
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 bo, cn as vo, cx as Mo } from "./components/utils/cn.js";
16
- import { reactNodeToString as wo } from "./components/utils/reactToString.js";
17
- import { isTracebackError as Io } from "./components/utils/isTracebackError.js";
18
- import { parseAntdPlacement as Ko, useAntdCssVarClassname as Lo, useCls as Wo, useGetPrefixCls as qo } from "./components/utils/antdUtils.js";
19
- import { WithAntdTokens as No } from "./components/utils/WithAntdTokens.js";
20
- import { Transition as Oo } from "./components/Transition/component.js";
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 Jo } from "./components/Upload/hooks.js";
23
- import { ScrollArea as Yo } from "./components/ScrollArea/component.js";
24
- import { Popover as _o } from "./components/Popover/component.js";
25
- import { Slider as oe } from "./components/Slider/component.js";
26
- import { Tooltip as re } from "./components/Tooltip/component.js";
27
- import { Breadcrumb as ae } from "./components/Breadcrumb/component.js";
28
- import { useUniqueKeysTree as me } from "./components/Tree/useUniqueKeysTree.js";
29
- import { getUniqueKeysFromOriginals as fe, processTreeData as ne } from "./components/Tree/helpers.js";
30
- import { Tree as le } from "./components/Tree/components.js";
31
- import { Spin as ce } from "./components/Spin/component.js";
32
- import { Empty as de, EmptyIcon as Ce } from "./components/Empty/component.js";
33
- import { Form as ge } from "./components/Form/component.js";
34
- import { Field as ke } from "./components/Field/component.js";
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 Ae } from "./components/Toast/component.js";
37
- import { toast as De, toastManager as Re } from "./components/Toast/function.js";
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 Fe } from "./components/PopupPanel/component.js";
40
- import { CodeBlock as Ee } from "./components/CodeBlock/component.js";
41
- import { StackChild as Ue } from "./components/Stack/StackChild.js";
42
- import { Stack as Le } from "./components/Stack/index.js";
43
- import { Collapse as qe } from "./components/Collapse/component.js";
44
- import { Input as Ne } from "./components/Input/component.js";
45
- import { Badge as Oe, InternalBadge as Qe } from "./components/Badge/component.js";
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 Je } from "./components/Button/component.js";
48
- import { DSRoot as Ye } from "./components/DSRoot/component.js";
49
- import { DSRootContextProvider as _e, useDS as $e } from "./components/DSRoot/context.js";
50
- import { useForm as er, useWatch as rr } from "antd/es/form/Form";
51
- import { useBreakpoint as ar, useMessage as pr, useModal as mr, useToken as sr } from "./components/hooks/antd.js";
52
- import { default as nr } from "antd/es/app/useApp";
53
- import { useAnimationsFinished as lr, useEnhancedEffect as ir, useEventCallback as cr, useLatestRef as ur } from "./components/hooks/base-ui.js";
54
- import { useControlledState as Cr } from "./components/hooks/useControlledState.js";
55
- import { useCharts as gr } from "./components/hooks/useCharts.js";
56
- import { antdColorTokens as kr, darkTheme as Sr, lightTheme as Pr } from "./tokens/and-theme/tokens.js";
57
- import { categoricalChartColorKeys as Ar, categoricalChartColorTokens as Br, categoricalChartsColors as Dr } from "./tokens/charts/index.js";
58
- import { chartColorTokens as br, rawChartColorTokens as vr } from "./tokens/charts/tokens.js";
59
- import { getColorsByTheme as Fr, getTokensByTheme as wr, resolveColorTokens as Er } from "./tokens/utils.js";
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
- f as App,
65
- n as AutoComplete,
66
- x as Avatar,
67
- l as BackTop,
68
- Oe as Badge,
69
- ae as Breadcrumb,
70
- Je as Button,
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
- c as Card,
73
- u as Carousel,
74
- d as Cascader,
75
- xo as Checkbox,
76
- Ee as CodeBlock,
77
- C as Col,
78
- qe as Collapse,
79
- T as ColorPicker,
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
- Ye as DSRoot,
82
- _e as DSRootContextProvider,
83
- h as DatePicker,
91
+ Ze as DSRoot,
92
+ or as DSRootContextProvider,
93
+ S as DatePicker,
84
94
  jo as DefaultUpload,
85
- k as Descriptions,
86
- S as Divider,
87
- P as Drawer,
88
- y as Dropdown,
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
- Ce as EmptyIcon,
92
- ke as Field,
93
- A as Flex,
94
- B as FloatButton,
95
- ge as Form,
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
- Ne as Input,
99
- R as InputNumber,
100
- Qe as InternalBadge,
101
- b as Layout,
102
- v as List,
103
- M as Mentions,
104
- F as Menu,
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
- w as Pagination,
107
- E as Popconfirm,
108
- _o as Popover,
109
- Fe as PopupPanel,
110
- I as Progress,
111
- U as QRCode,
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
- K as Rate,
114
- L as Result,
115
- W as Row,
116
- Yo as ScrollArea,
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
- q as Skeleton,
120
- oe as Slider,
121
- G as Space,
122
- ce as Spin,
123
- So as Split,
124
- Po as Splitter,
125
- Le as Stack,
126
- Ue as StackChild,
127
- N as Statistic,
128
- V as Steps,
129
- fo as Switch,
130
- uo as Table,
131
- O as Tabs,
132
- To as Tag,
133
- ho as ThemeProvider,
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
- j as Timeline,
136
- Ae as Toast,
137
- re as Tooltip,
150
+ V as Timeline,
151
+ De as Toast,
152
+ ae as Tooltip,
138
153
  Pe as Tour,
139
- z as Transfer,
140
- Oo as Transition,
141
- le as Tree,
142
- H as TreeSelect,
143
- Ao as Truncate,
144
- J as Typography,
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
- X as Watermark,
148
- No as WithAntdTokens,
149
- kr as antdColorTokens,
150
- Ar as categoricalChartColorKeys,
151
- Br as categoricalChartColorTokens,
152
- Dr as categoricalChartsColors,
153
- br as chartColorTokens,
154
- bo as clsx,
155
- vo as cn,
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
- Mo as cx,
158
- Sr as darkTheme,
159
- Fr as getColorsByTheme,
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
- wr as getTokensByTheme,
162
- fe as getUniqueKeysFromOriginals,
163
- Io as isTracebackError,
164
- Pr as lightTheme,
165
- Y as message,
166
- Z as notification,
167
- Ko as parseAntdPlacement,
168
- ne as processTreeData,
169
- vr as rawChartColorTokens,
170
- wo as reactNodeToString,
171
- Er as resolveColorTokens,
172
- _ as theme,
173
- De as toast,
174
- Re as toastManager,
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
- lr as useAnimationsFinished,
177
- Lo as useAntdCssVarClassname,
178
- nr as useApp,
179
- ar as useBreakpoint,
180
- gr as useCharts,
181
- Wo as useCls,
182
- Cr as useControlledState,
183
- $e as useDS,
184
- ir as useEnhancedEffect,
185
- cr as useEventCallback,
186
- er as useForm,
187
- qo as useGetPrefixCls,
188
- ur as useLatestRef,
189
- pr as useMessage,
190
- mr as useModal,
191
- sr as useToken,
192
- me as useUniqueKeysTree,
193
- Jo as useUploadItemRender,
194
- rr as useWatch,
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",