@bioturing/components 0.42.0-beta.1 → 0.43.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/component.d.ts.map +1 -1
- package/dist/components/button/component.js +41 -34
- package/dist/components/button/component.js.map +1 -1
- package/dist/components/button/style.css +1 -1
- package/dist/components/combobox/component.d.ts.map +1 -1
- package/dist/components/combobox/component.js +136 -126
- package/dist/components/combobox/component.js.map +1 -1
- package/dist/components/command-palette/component.d.ts +7 -0
- package/dist/components/command-palette/component.d.ts.map +1 -1
- package/dist/components/command-palette/component.js +35 -33
- package/dist/components/command-palette/component.js.map +1 -1
- package/dist/components/dropdown-menu/component.d.ts +8 -1
- package/dist/components/dropdown-menu/component.d.ts.map +1 -1
- package/dist/components/dropdown-menu/component.js +165 -141
- package/dist/components/dropdown-menu/component.js.map +1 -1
- package/dist/components/dropdown-menu/style.css +1 -1
- package/dist/components/ds-root/component.d.ts +6 -1
- package/dist/components/ds-root/component.d.ts.map +1 -1
- package/dist/components/ds-root/component.js +15 -14
- package/dist/components/ds-root/component.js.map +1 -1
- package/dist/components/form/style.css +1 -1
- package/dist/components/hooks/index.d.ts +0 -1
- package/dist/components/hooks/index.d.ts.map +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/label-with-help/component.d.ts +20 -0
- package/dist/components/label-with-help/component.d.ts.map +1 -0
- package/dist/components/label-with-help/component.js +39 -0
- package/dist/components/label-with-help/component.js.map +1 -0
- package/dist/components/label-with-help/index.d.ts +2 -0
- package/dist/components/label-with-help/index.d.ts.map +1 -0
- package/dist/components/label-with-help/style.css +1 -0
- package/dist/components/modal/Modal.d.ts.map +1 -1
- package/dist/components/modal/Modal.js +157 -133
- package/dist/components/modal/Modal.js.map +1 -1
- package/dist/components/popup-panel/component.d.ts +2 -111
- package/dist/components/popup-panel/component.d.ts.map +1 -1
- package/dist/components/popup-panel/component.js +253 -139
- package/dist/components/popup-panel/component.js.map +1 -1
- package/dist/components/popup-panel/constants.d.ts +1 -0
- package/dist/components/popup-panel/constants.d.ts.map +1 -1
- package/dist/components/popup-panel/constants.js +2 -0
- package/dist/components/popup-panel/constants.js.map +1 -1
- package/dist/components/popup-panel/index.d.ts +1 -0
- package/dist/components/popup-panel/index.d.ts.map +1 -1
- package/dist/components/popup-panel/types.d.ts +124 -0
- package/dist/components/popup-panel/types.d.ts.map +1 -0
- package/dist/components/popup-panel/utils.d.ts +1 -1
- package/dist/components/popup-panel/utils.d.ts.map +1 -1
- package/dist/components/popup-panel/utils.js +5 -5
- package/dist/components/popup-panel/utils.js.map +1 -1
- package/dist/components/resizable/component.d.ts.map +1 -1
- package/dist/components/resizable/component.js +28 -28
- package/dist/components/resizable/component.js.map +1 -1
- package/dist/components/select/component.d.ts.map +1 -1
- package/dist/components/select/component.js +130 -120
- package/dist/components/select/component.js.map +1 -1
- package/dist/components/toast/component.d.ts +2 -2
- package/dist/components/toast/component.d.ts.map +1 -1
- package/dist/components/toast/component.js +14 -20
- package/dist/components/toast/component.js.map +1 -1
- package/dist/components/toast/function.d.ts +7 -8
- package/dist/components/toast/function.d.ts.map +1 -1
- package/dist/components/toast/function.js.map +1 -1
- package/dist/components/toast/style.css +1 -1
- package/dist/components/toast/types.d.ts +4 -0
- package/dist/components/toast/types.d.ts.map +1 -1
- package/dist/components/utils/placement.d.ts +9 -2
- package/dist/components/utils/placement.d.ts.map +1 -1
- package/dist/components/utils/placement.js +29 -18
- package/dist/components/utils/placement.js.map +1 -1
- package/dist/components/utils/reactElement.d.ts +2 -0
- package/dist/components/utils/reactElement.d.ts.map +1 -1
- package/dist/components/utils/reactElement.js +10 -2
- package/dist/components/utils/reactElement.js.map +1 -1
- package/dist/components/utils/renderProp.d.ts.map +1 -1
- package/dist/components/utils/renderProp.js +9 -8
- package/dist/components/utils/renderProp.js.map +1 -1
- package/dist/index.js +191 -189
- package/dist/metadata.d.ts +8 -0
- package/dist/metadata.d.ts.map +1 -1
- package/dist/metadata.js +15 -0
- package/dist/metadata.js.map +1 -1
- package/dist/stats.html +1 -1
- package/package.json +2 -2
- package/dist/components/hooks/useBaseUIPlacement.d.ts +0 -64
- package/dist/components/hooks/useBaseUIPlacement.d.ts.map +0 -1
- package/dist/components/hooks/useBaseUIPlacement.js +0 -61
- package/dist/components/hooks/useBaseUIPlacement.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { componentMetadata as r, getComponentsByCategory as t } from "./metadata.js";
|
|
2
2
|
import { default as m } from "./components/utils/createSyntheticClickEvent.js";
|
|
3
|
-
import { Affix as f, Anchor as x, App as
|
|
3
|
+
import { Affix as f, Anchor as x, App as l, AutoComplete as s, Avatar as n, BackTop as i, Calendar as C, Card as c, Carousel as u, Cascader as T, Col as d, ColorPicker as g, ConfigProvider as S, DatePicker as h, Descriptions as A, Divider as E, Drawer as P, Dropdown as R, Flex as b, FloatButton as k, Grid as D, InputNumber as I, Layout as L, List as B, Mentions as O, Menu as v, Pagination as y, Popconfirm as N, Progress as M, QRCode as w, Rate as _, Result as U, Row as W, Skeleton as F, Space as V, Statistic as z, Steps as K, Tabs as q, TimePicker as G, Timeline as H, Transfer as Q, TreeSelect as j, Typography as J, Watermark as X, message as Y, notification as Z, theme as $, unstableSetRender as ee, version as oe } from "antd";
|
|
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 { IconButton as
|
|
7
|
+
import { IconButton as le } from "./components/icon-button/component.js";
|
|
8
8
|
import { Switch as ne } from "./components/switch/component.js";
|
|
9
9
|
import { Checkbox as Ce } from "./components/checkbox/component.js";
|
|
10
10
|
import { Segmented as ue } from "./components/segmented/component.js";
|
|
11
11
|
import { Table as de } from "./components/table/component.js";
|
|
12
12
|
import { Tag as Se } from "./components/tag/component.js";
|
|
13
13
|
import { TagList as Ae } from "./components/tag/list.js";
|
|
14
|
-
import { ThemeProvider as
|
|
15
|
-
import { ThemeContext as
|
|
14
|
+
import { ThemeProvider as Pe } from "./components/theme-provider/component.js";
|
|
15
|
+
import { ThemeContext as be, useTheme as ke } from "./components/theme-provider/context/themeStore.js";
|
|
16
16
|
import { ThemeContextProvider as Ie } from "./components/theme-provider/context/provider.js";
|
|
17
17
|
import { Split as Be, Splitter as Oe } from "./components/splitter/component.js";
|
|
18
18
|
import { Truncate as ye } from "./components/truncate/component.js";
|
|
@@ -20,268 +20,270 @@ import { DropdownMenu as Me } from "./components/dropdown-menu/component.js";
|
|
|
20
20
|
import { DropdownMenuItem as _e } from "./components/dropdown-menu/item.js";
|
|
21
21
|
import { CommandPalette as We } from "./components/command-palette/component.js";
|
|
22
22
|
import { KeyboardShortcut as Ve } from "./components/keyboard-shortcut/component.js";
|
|
23
|
-
import { Transition as
|
|
24
|
-
import { DefaultUpload as Ge, Upload as
|
|
23
|
+
import { Transition as Ke } from "./components/transition/component.js";
|
|
24
|
+
import { DefaultUpload as Ge, Upload as He } from "./components/upload/component.js";
|
|
25
25
|
import { useUploadItemRender as je } from "./components/upload/hooks.js";
|
|
26
26
|
import { clsx as Xe, cn as Ye, cx as Ze } from "./components/utils/cn.js";
|
|
27
27
|
import { reactNodeToString as eo } from "./components/utils/reactToString.js";
|
|
28
28
|
import { isTracebackError as ro } from "./components/utils/isTracebackError.js";
|
|
29
29
|
import { isValidHexColor as ao } from "./components/utils/colors.js";
|
|
30
30
|
import { WithRenderProp as po } from "./components/utils/WithRenderProp.js";
|
|
31
|
-
import { getReactElementProp as xo } from "./components/utils/reactElement.js";
|
|
32
|
-
import { default as
|
|
33
|
-
import { useAntdCssVarClassname as
|
|
34
|
-
import { changeThemeWithoutTransition as
|
|
35
|
-
import { moveTypingCursorToEnd as
|
|
36
|
-
import { DROPDOWN_COLLISION_AVOIDANCE as
|
|
37
|
-
import { buildAntdPlacement as bo, parseAntdPlacement as
|
|
38
|
-
import { createRenderProp as
|
|
39
|
-
import { ScrollArea as
|
|
40
|
-
import { Popover as
|
|
41
|
-
import { Slider as
|
|
42
|
-
import { Tooltip as
|
|
43
|
-
import { Breadcrumb as
|
|
44
|
-
import { BreadcrumbItem as
|
|
45
|
-
import { useUniqueKeysTree as
|
|
46
|
-
import { getUniqueKeysFromOriginals as
|
|
47
|
-
import { Tree as
|
|
48
|
-
import { Spin as
|
|
49
|
-
import { Empty as
|
|
50
|
-
import { Form as
|
|
51
|
-
import { Field as
|
|
52
|
-
import { Tour as
|
|
53
|
-
import { Toast as
|
|
54
|
-
import { toast as
|
|
55
|
-
import { VerticalCollapsiblePanel as
|
|
56
|
-
import { PopupPanel as
|
|
57
|
-
import { CodeBlock as
|
|
58
|
-
import { StackChild as
|
|
59
|
-
import { Stack as
|
|
60
|
-
import { Collapse as
|
|
61
|
-
import { Input as
|
|
62
|
-
import { Badge as
|
|
63
|
-
import { Radio as
|
|
64
|
-
import { Button as
|
|
65
|
-
import { DSRoot as
|
|
66
|
-
import { useDS as
|
|
67
|
-
import { DragDrop as
|
|
68
|
-
import { ColorSelect as
|
|
69
|
-
import { Nav as
|
|
70
|
-
import { ChoiceList as
|
|
71
|
-
import { StatusIcon as
|
|
72
|
-
import { Resizable as
|
|
73
|
-
import { Combobox as
|
|
74
|
-
import { SelectTrigger as
|
|
75
|
-
import { Loader as
|
|
76
|
-
import { WindowPortal as
|
|
77
|
-
import { Alert as
|
|
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 { antdColorTokens as
|
|
92
|
-
import { categoricalChartColorKeys as
|
|
93
|
-
import { COLORBREWER as
|
|
94
|
-
import { tab10 as
|
|
95
|
-
import { CATEGORICAL_PALETTES as
|
|
96
|
-
import { getColorsByTheme as
|
|
31
|
+
import { getReactElementProp as xo, getReactElementRef as lo } from "./components/utils/reactElement.js";
|
|
32
|
+
import { default as no } from "merge-refs";
|
|
33
|
+
import { useAntdCssVarClassname as Co, useCls as co, useGetPrefixCls as uo } from "./components/utils/antdUtils.js";
|
|
34
|
+
import { changeThemeWithoutTransition as go } from "./components/utils/theme.js";
|
|
35
|
+
import { moveTypingCursorToEnd as ho } from "./components/utils/selectionRange.js";
|
|
36
|
+
import { DROPDOWN_COLLISION_AVOIDANCE as Eo, POPUP_COLLISION_AVOIDANCE as Po } from "./components/utils/constants.js";
|
|
37
|
+
import { buildAntdPlacement as bo, normalizeBaseUISide as ko, parseAntdPlacement as Do } from "./components/utils/placement.js";
|
|
38
|
+
import { createRenderProp as Lo } from "./components/utils/renderProp.js";
|
|
39
|
+
import { ScrollArea as Oo } from "./components/scroll-area/component.js";
|
|
40
|
+
import { Popover as yo } from "./components/popover/component.js";
|
|
41
|
+
import { Slider as Mo } from "./components/slider/component.js";
|
|
42
|
+
import { Tooltip as _o } from "./components/tooltip/component.js";
|
|
43
|
+
import { Breadcrumb as Wo } from "./components/breadcrumb/component.js";
|
|
44
|
+
import { BreadcrumbItem as Vo } from "./components/breadcrumb/item.js";
|
|
45
|
+
import { useUniqueKeysTree as Ko } from "./components/tree/useUniqueKeysTree.js";
|
|
46
|
+
import { getUniqueKeysFromOriginals as Go, processTreeData as Ho } from "./components/tree/helpers.js";
|
|
47
|
+
import { Tree as jo } from "./components/tree/components.js";
|
|
48
|
+
import { Spin as Xo } from "./components/spin/component.js";
|
|
49
|
+
import { Empty as Zo } from "./components/empty/component.js";
|
|
50
|
+
import { Form as er } from "./components/form/component.js";
|
|
51
|
+
import { Field as rr } from "./components/field/component.js";
|
|
52
|
+
import { Tour as ar } from "./components/tour/component.js";
|
|
53
|
+
import { Toast as pr } from "./components/toast/component.js";
|
|
54
|
+
import { toast as xr, toastManager as lr } from "./components/toast/function.js";
|
|
55
|
+
import { VerticalCollapsiblePanel as nr } from "./components/vertical-collapsible-panel/component.js";
|
|
56
|
+
import { PopupPanel as Cr } from "./components/popup-panel/component.js";
|
|
57
|
+
import { CodeBlock as ur } from "./components/code-block/component.js";
|
|
58
|
+
import { StackChild as dr } from "./components/stack/StackChild.js";
|
|
59
|
+
import { Stack as Sr } from "./components/stack/index.js";
|
|
60
|
+
import { Collapse as Ar } from "./components/collapse/component.js";
|
|
61
|
+
import { Input as Pr } from "./components/input/component.js";
|
|
62
|
+
import { Badge as br, InternalBadge as kr } from "./components/badge/component.js";
|
|
63
|
+
import { Radio as Ir } from "./components/radio/component.js";
|
|
64
|
+
import { Button as Br } from "./components/button/component.js";
|
|
65
|
+
import { DSRoot as vr } from "./components/ds-root/component.js";
|
|
66
|
+
import { useDS as Nr } from "./components/ds-root/hook.js";
|
|
67
|
+
import { DragDrop as wr, DragDropRoot as _r } from "./components/drag-drop/index.js";
|
|
68
|
+
import { ColorSelect as Wr } from "./components/color-select/component.js";
|
|
69
|
+
import { Nav as Vr } from "./components/nav/index.js";
|
|
70
|
+
import { ChoiceList as Kr } from "./components/choice-list/component.js";
|
|
71
|
+
import { StatusIcon as Gr } from "./components/status-icon/component.js";
|
|
72
|
+
import { Resizable as Qr } from "./components/resizable/component.js";
|
|
73
|
+
import { Combobox as Jr } from "./components/combobox/component.js";
|
|
74
|
+
import { SelectTrigger as Yr, SelectTriggerArrow as Zr, SelectTriggerClear as $r, SelectTriggerContent as et, SelectTriggerRoot as ot } from "./components/select-trigger/component.js";
|
|
75
|
+
import { Loader as tt } from "./components/loader/component.js";
|
|
76
|
+
import { WindowPortal as mt } from "./components/window-portal/component.js";
|
|
77
|
+
import { Alert as ft } from "./components/alert/component.js";
|
|
78
|
+
import { LabelWithHelp as lt } from "./components/label-with-help/component.js";
|
|
79
|
+
import { useForm as nt, useWatch as it } from "antd/es/form/Form";
|
|
80
|
+
import { useMessage as ct, useModal as ut, useToken as Tt } from "./components/hooks/antd.js";
|
|
81
|
+
import { default as gt } from "antd/es/app/useApp";
|
|
82
|
+
import { useAnimationsFinished as ht, useEnhancedEffect as At, useEventCallback as Et, useLatestRef as Pt } from "./components/hooks/base-ui.js";
|
|
83
|
+
import { useControlledState as bt } from "./components/hooks/useControlledState.js";
|
|
84
|
+
import { useCharts as Dt } from "./components/hooks/useCharts.js";
|
|
85
|
+
import { useCSSVariables as Lt } from "./components/hooks/useCSSVariables.js";
|
|
86
|
+
import { useHover as Ot } from "./components/hooks/useHover.js";
|
|
87
|
+
import { useDraggable as yt } from "./components/hooks/useDraggable.js";
|
|
88
|
+
import { BREAKPOINTS as Mt, useBreakpoint as wt } from "./components/hooks/useBreakpoint.js";
|
|
89
|
+
import { useWindowSize as Ut } from "./components/hooks/useWindowSize.js";
|
|
90
|
+
import { useElementSize as Ft, useResizeObserver as Vt } from "./components/hooks/useResizeObserver.js";
|
|
91
|
+
import { antdColorTokens as Kt, darkTheme as qt, lightTheme as Gt } from "./tokens/and-theme/tokens.js";
|
|
92
|
+
import { categoricalChartColorKeys as Qt, categoricalChartColorTokens as jt, categoricalChartsColors as Jt, chartColorTokens as Xt, rawChartColorTokens as Yt } from "./tokens/charts/palettes/cloudscape.js";
|
|
93
|
+
import { COLORBREWER as $t } from "./tokens/charts/palettes/colorbrewer.js";
|
|
94
|
+
import { tab10 as oa, tab20 as ra, tab20b as ta, tab20c as aa } from "./tokens/charts/palettes/tableau.js";
|
|
95
|
+
import { CATEGORICAL_PALETTES as pa, CATEGORICAL_PALETTE_NAMES as fa, SEQUENTIAL_PALETTES as xa, SEQUENTIAL_PALETTE_NAMES as la, getAllCategoricalChartColors as sa, getAllSequentialChartColors as na, getCategoricalChartColors as ia, getSequentialChartColors as Ca } from "./tokens/charts/palettes/index.js";
|
|
96
|
+
import { getColorsByTheme as ua, getTokensByTheme as Ta, resolveColorTokens as da } from "./tokens/utils.js";
|
|
97
97
|
export {
|
|
98
98
|
f as Affix,
|
|
99
|
-
|
|
99
|
+
ft as Alert,
|
|
100
100
|
x as Anchor,
|
|
101
|
-
|
|
102
|
-
|
|
101
|
+
l as App,
|
|
102
|
+
s as AutoComplete,
|
|
103
103
|
n as Avatar,
|
|
104
|
-
|
|
104
|
+
Mt as BREAKPOINTS,
|
|
105
105
|
i as BackTop,
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
106
|
+
br as Badge,
|
|
107
|
+
Wo as Breadcrumb,
|
|
108
|
+
Vo as BreadcrumbItem,
|
|
109
|
+
Br as Button,
|
|
110
|
+
pa as CATEGORICAL_PALETTES,
|
|
111
|
+
fa as CATEGORICAL_PALETTE_NAMES,
|
|
112
|
+
$t as COLORBREWER,
|
|
113
113
|
C as Calendar,
|
|
114
114
|
c as Card,
|
|
115
115
|
u as Carousel,
|
|
116
116
|
T as Cascader,
|
|
117
117
|
Ce as Checkbox,
|
|
118
|
-
|
|
119
|
-
|
|
118
|
+
Kr as ChoiceList,
|
|
119
|
+
ur as CodeBlock,
|
|
120
120
|
d as Col,
|
|
121
|
-
|
|
121
|
+
Ar as Collapse,
|
|
122
122
|
g as ColorPicker,
|
|
123
|
-
|
|
124
|
-
|
|
123
|
+
Wr as ColorSelect,
|
|
124
|
+
Jr as Combobox,
|
|
125
125
|
We as CommandPalette,
|
|
126
126
|
S as ConfigProvider,
|
|
127
|
-
|
|
128
|
-
|
|
127
|
+
Eo as DROPDOWN_COLLISION_AVOIDANCE,
|
|
128
|
+
vr as DSRoot,
|
|
129
129
|
te as DataTable,
|
|
130
130
|
h as DatePicker,
|
|
131
131
|
Ge as DefaultUpload,
|
|
132
132
|
A as Descriptions,
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
133
|
+
E as Divider,
|
|
134
|
+
wr as DragDrop,
|
|
135
|
+
_r as DragDropRoot,
|
|
136
|
+
P as Drawer,
|
|
137
|
+
R as Dropdown,
|
|
138
138
|
Me as DropdownMenu,
|
|
139
139
|
_e as DropdownMenuItem,
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
140
|
+
Zo as Empty,
|
|
141
|
+
rr as Field,
|
|
142
|
+
b as Flex,
|
|
143
143
|
k as FloatButton,
|
|
144
|
-
|
|
144
|
+
er as Form,
|
|
145
145
|
D as Grid,
|
|
146
|
-
|
|
147
|
-
|
|
146
|
+
le as IconButton,
|
|
147
|
+
Pr as Input,
|
|
148
148
|
I as InputNumber,
|
|
149
|
-
|
|
149
|
+
kr as InternalBadge,
|
|
150
150
|
Ve as KeyboardShortcut,
|
|
151
|
+
lt as LabelWithHelp,
|
|
151
152
|
L as Layout,
|
|
152
153
|
B as List,
|
|
153
|
-
|
|
154
|
+
tt as Loader,
|
|
154
155
|
O as Mentions,
|
|
155
156
|
v as Menu,
|
|
156
157
|
fe as Modal,
|
|
157
|
-
|
|
158
|
+
Vr as Nav,
|
|
158
159
|
Po as POPUP_COLLISION_AVOIDANCE,
|
|
159
160
|
y as Pagination,
|
|
160
161
|
N as Popconfirm,
|
|
161
|
-
|
|
162
|
-
|
|
162
|
+
yo as Popover,
|
|
163
|
+
Cr as PopupPanel,
|
|
163
164
|
M as Progress,
|
|
164
165
|
w as QRCode,
|
|
165
|
-
|
|
166
|
+
Ir as Radio,
|
|
166
167
|
_ as Rate,
|
|
167
|
-
|
|
168
|
+
Qr as Resizable,
|
|
168
169
|
U as Result,
|
|
169
170
|
W as Row,
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
171
|
+
xa as SEQUENTIAL_PALETTES,
|
|
172
|
+
la as SEQUENTIAL_PALETTE_NAMES,
|
|
173
|
+
Oo as ScrollArea,
|
|
173
174
|
ue as Segmented,
|
|
174
175
|
me as Select,
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
176
|
+
Yr as SelectTrigger,
|
|
177
|
+
Zr as SelectTriggerArrow,
|
|
178
|
+
$r as SelectTriggerClear,
|
|
179
|
+
et as SelectTriggerContent,
|
|
180
|
+
ot as SelectTriggerRoot,
|
|
180
181
|
F as Skeleton,
|
|
181
|
-
|
|
182
|
+
Mo as Slider,
|
|
182
183
|
V as Space,
|
|
183
|
-
|
|
184
|
+
Xo as Spin,
|
|
184
185
|
Be as Split,
|
|
185
186
|
Oe as Splitter,
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
187
|
+
Sr as Stack,
|
|
188
|
+
dr as StackChild,
|
|
189
|
+
z as Statistic,
|
|
190
|
+
Gr as StatusIcon,
|
|
191
|
+
K as Steps,
|
|
191
192
|
ne as Switch,
|
|
192
193
|
de as Table,
|
|
193
|
-
|
|
194
|
+
q as Tabs,
|
|
194
195
|
Se as Tag,
|
|
195
196
|
Ae as TagList,
|
|
196
|
-
|
|
197
|
+
be as ThemeContext,
|
|
197
198
|
Ie as ThemeContextProvider,
|
|
198
|
-
|
|
199
|
+
Pe as ThemeProvider,
|
|
199
200
|
G as TimePicker,
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
201
|
+
H as Timeline,
|
|
202
|
+
pr as Toast,
|
|
203
|
+
_o as Tooltip,
|
|
204
|
+
ar as Tour,
|
|
205
|
+
Q as Transfer,
|
|
206
|
+
Ke as Transition,
|
|
207
|
+
jo as Tree,
|
|
207
208
|
j as TreeSelect,
|
|
208
209
|
ye as Truncate,
|
|
209
210
|
J as Typography,
|
|
210
|
-
|
|
211
|
-
|
|
211
|
+
He as Upload,
|
|
212
|
+
nr as VerticalCollapsiblePanel,
|
|
212
213
|
X as Watermark,
|
|
213
|
-
|
|
214
|
+
mt as WindowPortal,
|
|
214
215
|
po as WithRenderProp,
|
|
215
|
-
|
|
216
|
+
Kt as antdColorTokens,
|
|
216
217
|
bo as buildAntdPlacement,
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
218
|
+
Qt as categoricalChartColorKeys,
|
|
219
|
+
jt as categoricalChartColorTokens,
|
|
220
|
+
Jt as categoricalChartsColors,
|
|
221
|
+
go as changeThemeWithoutTransition,
|
|
222
|
+
Xt as chartColorTokens,
|
|
222
223
|
Xe as clsx,
|
|
223
224
|
Ye as cn,
|
|
224
225
|
r as componentMetadata,
|
|
225
|
-
|
|
226
|
+
Lo as createRenderProp,
|
|
226
227
|
m as createSyntheticClickEvent,
|
|
227
228
|
Ze as cx,
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
229
|
+
qt as darkTheme,
|
|
230
|
+
sa as getAllCategoricalChartColors,
|
|
231
|
+
na as getAllSequentialChartColors,
|
|
232
|
+
ia as getCategoricalChartColors,
|
|
233
|
+
ua as getColorsByTheme,
|
|
233
234
|
t as getComponentsByCategory,
|
|
234
235
|
xo as getReactElementProp,
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
236
|
+
lo as getReactElementRef,
|
|
237
|
+
Ca as getSequentialChartColors,
|
|
238
|
+
Ta as getTokensByTheme,
|
|
239
|
+
Go as getUniqueKeysFromOriginals,
|
|
238
240
|
ro as isTracebackError,
|
|
239
241
|
ao as isValidHexColor,
|
|
240
|
-
|
|
241
|
-
|
|
242
|
+
Gt as lightTheme,
|
|
243
|
+
no as mergeRefs,
|
|
242
244
|
Y as message,
|
|
243
|
-
|
|
245
|
+
ho as moveTypingCursorToEnd,
|
|
246
|
+
ko as normalizeBaseUISide,
|
|
244
247
|
Z as notification,
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
+
Do as parseAntdPlacement,
|
|
249
|
+
Ho as processTreeData,
|
|
250
|
+
Yt as rawChartColorTokens,
|
|
248
251
|
eo as reactNodeToString,
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
252
|
+
da as resolveColorTokens,
|
|
253
|
+
oa as tab10,
|
|
254
|
+
ra as tab20,
|
|
255
|
+
ta as tab20b,
|
|
256
|
+
aa as tab20c,
|
|
254
257
|
$ as theme,
|
|
255
|
-
|
|
256
|
-
|
|
258
|
+
xr as toast,
|
|
259
|
+
lr as toastManager,
|
|
257
260
|
ee as unstableSetRender,
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
_t as useResizeObserver,
|
|
261
|
+
ht as useAnimationsFinished,
|
|
262
|
+
Co as useAntdCssVarClassname,
|
|
263
|
+
gt as useApp,
|
|
264
|
+
wt as useBreakpoint,
|
|
265
|
+
Lt as useCSSVariables,
|
|
266
|
+
Dt as useCharts,
|
|
267
|
+
co as useCls,
|
|
268
|
+
bt as useControlledState,
|
|
269
|
+
Nr as useDS,
|
|
270
|
+
yt as useDraggable,
|
|
271
|
+
Ft as useElementSize,
|
|
272
|
+
At as useEnhancedEffect,
|
|
273
|
+
Et as useEventCallback,
|
|
274
|
+
nt as useForm,
|
|
275
|
+
uo as useGetPrefixCls,
|
|
276
|
+
Ot as useHover,
|
|
277
|
+
Pt as useLatestRef,
|
|
278
|
+
ct as useMessage,
|
|
279
|
+
ut as useModal,
|
|
280
|
+
Vt as useResizeObserver,
|
|
279
281
|
ke as useTheme,
|
|
280
|
-
|
|
281
|
-
|
|
282
|
+
Tt as useToken,
|
|
283
|
+
Ko as useUniqueKeysTree,
|
|
282
284
|
je as useUploadItemRender,
|
|
283
|
-
|
|
284
|
-
|
|
285
|
+
it as useWatch,
|
|
286
|
+
Ut as useWindowSize,
|
|
285
287
|
oe as version
|
|
286
288
|
};
|
|
287
289
|
//# sourceMappingURL=index.js.map
|
package/dist/metadata.d.ts
CHANGED
|
@@ -464,6 +464,14 @@ export declare const componentMetadata: {
|
|
|
464
464
|
category: "Utility";
|
|
465
465
|
description: string;
|
|
466
466
|
};
|
|
467
|
+
LabelWithHelp: {
|
|
468
|
+
name: string;
|
|
469
|
+
link: string;
|
|
470
|
+
base: "custom";
|
|
471
|
+
refinements: string[];
|
|
472
|
+
category: "Data Display";
|
|
473
|
+
description: string;
|
|
474
|
+
};
|
|
467
475
|
};
|
|
468
476
|
/**
|
|
469
477
|
* Get all components by category
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0tBe,CAAC;AAE9C;;GAEG;AACH,eAAO,MAAM,uBAAuB,QAAO,MAAM,CAC/C,iBAAiB,EACjB,iBAAiB,EAAE,CA0BpB,CAAC"}
|
package/dist/metadata.js
CHANGED
|
@@ -675,6 +675,21 @@ const i = {
|
|
|
675
675
|
],
|
|
676
676
|
category: "Utility",
|
|
677
677
|
description: "Renders React components in a separate browser window while maintaining state synchronization and theme consistency with the parent window."
|
|
678
|
+
},
|
|
679
|
+
LabelWithHelp: {
|
|
680
|
+
name: "LabelWithHelp",
|
|
681
|
+
link: "/label-with-help",
|
|
682
|
+
base: "custom",
|
|
683
|
+
refinements: [
|
|
684
|
+
"Renders a question mark icon with `cursor: help` next to any content, showing a tooltip on hover.",
|
|
685
|
+
"Uses `<span>` elements internally to safely nest inside `<label>` wrappers (e.g., Checkbox, Radio) without accessibility issues.",
|
|
686
|
+
"When `tooltip` is falsy, renders bare children without any wrapper element.",
|
|
687
|
+
"Supports `forwardRef` for ref forwarding to the outer `<span>`.",
|
|
688
|
+
"Leverages the existing `IconButton` component with `render={<span />}` for non-interactive tooltip display.",
|
|
689
|
+
"Customizable via `iconButtonProps` to control size, tooltip behavior, and other `IconButton` options."
|
|
690
|
+
],
|
|
691
|
+
category: "Data Display",
|
|
692
|
+
description: "A wrapper component that adds a question mark icon with a tooltip next to any content, commonly used to provide contextual help or explanation text."
|
|
678
693
|
}
|
|
679
694
|
}, a = () => {
|
|
680
695
|
const e = {
|