@bioturing/components 0.44.0 → 0.44.1

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 (39) hide show
  1. package/dist/components/ds-root/component.d.ts.map +1 -1
  2. package/dist/components/ds-root/component.js +16 -14
  3. package/dist/components/ds-root/component.js.map +1 -1
  4. package/dist/components/index.d.ts +2 -1
  5. package/dist/components/index.d.ts.map +1 -1
  6. package/dist/components/notification/NotificationProvider.d.ts +6 -0
  7. package/dist/components/notification/NotificationProvider.d.ts.map +1 -0
  8. package/dist/components/notification/NotificationProvider.js +67 -0
  9. package/dist/components/notification/NotificationProvider.js.map +1 -0
  10. package/dist/components/notification/NotificationService.d.ts +35 -0
  11. package/dist/components/notification/NotificationService.d.ts.map +1 -0
  12. package/dist/components/notification/NotificationService.js +26 -0
  13. package/dist/components/notification/NotificationService.js.map +1 -0
  14. package/dist/components/notification/functions.d.ts +11 -0
  15. package/dist/components/notification/functions.d.ts.map +1 -0
  16. package/dist/components/notification/functions.js +38 -0
  17. package/dist/components/notification/functions.js.map +1 -0
  18. package/dist/components/notification/index.d.ts +11 -0
  19. package/dist/components/notification/index.d.ts.map +1 -0
  20. package/dist/components/notification/index.js +27 -0
  21. package/dist/components/notification/index.js.map +1 -0
  22. package/dist/components/notification/style.css +1 -0
  23. package/dist/components/notification/themedNotificationConfig.d.ts +5 -0
  24. package/dist/components/notification/themedNotificationConfig.d.ts.map +1 -0
  25. package/dist/components/notification/themedNotificationConfig.js +34 -0
  26. package/dist/components/notification/themedNotificationConfig.js.map +1 -0
  27. package/dist/components/notification/useNotification.d.ts +3 -0
  28. package/dist/components/notification/useNotification.d.ts.map +1 -0
  29. package/dist/components/notification/useNotification.js +25 -0
  30. package/dist/components/notification/useNotification.js.map +1 -0
  31. package/dist/components/tour/style.css +1 -1
  32. package/dist/index.js +267 -255
  33. package/dist/index.js.map +1 -1
  34. package/dist/metadata.d.ts +9 -0
  35. package/dist/metadata.d.ts.map +1 -1
  36. package/dist/metadata.js +13 -0
  37. package/dist/metadata.js.map +1 -1
  38. package/dist/stats.html +1 -1
  39. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,291 +1,303 @@
1
1
  import { componentMetadata as r, getComponentsByCategory as t } from "./metadata.js";
2
- import { default as m } from "./components/utils/createSyntheticClickEvent.js";
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
- import { DataTable as te } from "./components/data-table/component.js";
5
- import { Select as me } from "./components/select/component.js";
6
- import { Modal as fe } from "./components/modal/index.js";
7
- import { Dialog as le } from "./components/dialog/index.js";
8
- import { IconButton as ne } from "./components/icon-button/component.js";
9
- import { Switch as Ce } from "./components/switch/component.js";
10
- import { Checkbox as ue } from "./components/checkbox/component.js";
11
- import { Segmented as de } from "./components/segmented/component.js";
12
- import { Table as Se } from "./components/table/component.js";
13
- import { Tag as Ae } from "./components/tag/component.js";
14
- import { TagList as Pe } from "./components/tag/list.js";
15
- import { ThemeProvider as be } from "./components/theme-provider/component.js";
16
- import { ThemeContext as De, useTheme as Ie } from "./components/theme-provider/context/themeStore.js";
17
- import { ThemeContextProvider as Be } from "./components/theme-provider/context/provider.js";
18
- import { Split as ve, Splitter as ye } from "./components/splitter/component.js";
19
- import { Truncate as Me } from "./components/truncate/component.js";
20
- import { DropdownMenu as _e } from "./components/dropdown-menu/component.js";
21
- import { DropdownMenuItem as We } from "./components/dropdown-menu/item.js";
22
- import { CommandPalette as Ve } from "./components/command-palette/component.js";
23
- import { KeyboardShortcut as Ke } from "./components/keyboard-shortcut/component.js";
24
- import { Transition as Ge } from "./components/transition/component.js";
25
- import { DefaultUpload as Qe, Upload as je } from "./components/upload/component.js";
26
- import { useUploadItemRender as Xe } from "./components/upload/hooks.js";
27
- import { clsx as Ze, cn as $e, cx as eo } from "./components/utils/cn.js";
28
- import { reactNodeToString as ro } from "./components/utils/reactToString.js";
29
- import { isTracebackError as ao } from "./components/utils/isTracebackError.js";
30
- import { isValidHexColor as po } from "./components/utils/colors.js";
31
- import { WithRenderProp as xo } from "./components/utils/WithRenderProp.js";
32
- import { getReactElementProp as so, getReactElementRef as no } from "./components/utils/reactElement.js";
33
- import { default as Co } from "merge-refs";
34
- import { useAntdCssVarClassname as uo, useCls as To, useGetPrefixCls as go } from "./components/utils/antdUtils.js";
35
- import { changeThemeWithoutTransition as ho } from "./components/utils/theme.js";
36
- import { moveTypingCursorToEnd as Eo } from "./components/utils/selectionRange.js";
37
- import { DROPDOWN_COLLISION_AVOIDANCE as Ro, POPUP_COLLISION_AVOIDANCE as bo } from "./components/utils/constants.js";
38
- import { buildAntdPlacement as Do, normalizeBaseUISide as Io, parseAntdPlacement as Lo } from "./components/utils/placement.js";
39
- import { createRenderProp as Oo } from "./components/utils/renderProp.js";
40
- import { ScrollArea as yo } from "./components/scroll-area/component.js";
41
- import { Popover as Mo } from "./components/popover/component.js";
42
- import { Slider as _o } from "./components/slider/component.js";
43
- import { Tooltip as Wo } from "./components/tooltip/component.js";
44
- import { Breadcrumb as Vo } from "./components/breadcrumb/component.js";
45
- import { BreadcrumbItem as Ko } from "./components/breadcrumb/item.js";
46
- import { useUniqueKeysTree as Go } from "./components/tree/useUniqueKeysTree.js";
47
- import { getUniqueKeysFromOriginals as Qo, processTreeData as jo } from "./components/tree/helpers.js";
48
- import { Tree as Xo } from "./components/tree/components.js";
49
- import { Spin as Zo } from "./components/spin/component.js";
50
- import { Empty as er } from "./components/empty/component.js";
51
- import { Form as rr } from "./components/form/component.js";
52
- import { Field as ar } from "./components/field/component.js";
53
- import { Tour as pr } from "./components/tour/component.js";
54
- import { Toast as xr } from "./components/toast/component.js";
55
- import { toast as sr, toastManager as nr } from "./components/toast/function.js";
56
- import { VerticalCollapsiblePanel as Cr } from "./components/vertical-collapsible-panel/component.js";
57
- import { PopupPanel as ur } from "./components/popup-panel/component.js";
58
- import { CodeBlock as dr } from "./components/code-block/component.js";
59
- import { StackChild as Sr } from "./components/stack/StackChild.js";
60
- import { Stack as Ar } from "./components/stack/index.js";
61
- import { Collapse as Pr } from "./components/collapse/component.js";
62
- import { Input as br } from "./components/input/component.js";
63
- import { Badge as Dr, InternalBadge as Ir } from "./components/badge/component.js";
64
- import { Radio as Br } from "./components/radio/component.js";
65
- import { Button as vr } from "./components/button/component.js";
66
- import { DSRoot as Nr } from "./components/ds-root/component.js";
67
- import { useDS as wr } from "./components/ds-root/hook.js";
68
- import { DragDrop as Ur, DragDropRoot as Wr } from "./components/drag-drop/index.js";
69
- import { ColorSelect as Vr } from "./components/color-select/component.js";
70
- import { Nav as Kr } from "./components/nav/index.js";
71
- import { ChoiceList as Gr } from "./components/choice-list/component.js";
72
- import { StatusIcon as Qr } from "./components/status-icon/component.js";
73
- import { Resizable as Jr } from "./components/resizable/component.js";
74
- import { Combobox as Yr } from "./components/combobox/component.js";
75
- import { SelectTrigger as $r, SelectTriggerArrow as et, SelectTriggerClear as ot, SelectTriggerContent as rt, SelectTriggerRoot as tt } from "./components/select-trigger/component.js";
76
- import { Loader as mt } from "./components/loader/component.js";
77
- import { WindowPortal as ft } from "./components/window-portal/component.js";
78
- import { Alert as lt } from "./components/alert/component.js";
79
- import { LabelWithHelp as nt } from "./components/label-with-help/component.js";
80
- import { useForm as Ct, useWatch as ct } from "antd/es/form/Form";
81
- import { useMessage as Tt, useModal as dt, useToken as gt } from "./components/hooks/antd.js";
82
- import { default as ht } from "antd/es/app/useApp";
83
- import { useAnimationsFinished as Et, useEnhancedEffect as Pt, useEventCallback as Rt, useLatestRef as bt } from "./components/hooks/base-ui.js";
84
- import { useControlledState as Dt } from "./components/hooks/useControlledState.js";
85
- import { useCharts as Lt } from "./components/hooks/useCharts.js";
86
- import { useCSSVariables as Ot } from "./components/hooks/useCSSVariables.js";
87
- import { useHover as yt } from "./components/hooks/useHover.js";
88
- import { useDraggable as Mt } from "./components/hooks/useDraggable.js";
89
- import { BREAKPOINTS as _t, useBreakpoint as Ut } from "./components/hooks/useBreakpoint.js";
90
- import { useWindowSize as Ft } from "./components/hooks/useWindowSize.js";
91
- import { useElementSize as zt, useResizeObserver as Kt } from "./components/hooks/useResizeObserver.js";
92
- import { antdColorTokens as Gt, darkTheme as Ht, lightTheme as Qt } from "./tokens/and-theme/tokens.js";
93
- import { categoricalChartColorKeys as Jt, categoricalChartColorTokens as Xt, categoricalChartsColors as Yt, chartColorTokens as Zt, rawChartColorTokens as $t } from "./tokens/charts/palettes/cloudscape.js";
94
- import { COLORBREWER as oa } from "./tokens/charts/palettes/colorbrewer.js";
95
- import { tab10 as ta, tab20 as aa, tab20b as ma, tab20c as pa } from "./tokens/charts/palettes/tableau.js";
96
- import { CATEGORICAL_PALETTES as xa, CATEGORICAL_PALETTE_NAMES as la, SEQUENTIAL_PALETTES as sa, SEQUENTIAL_PALETTE_NAMES as na, getAllCategoricalChartColors as ia, getAllSequentialChartColors as Ca, getCategoricalChartColors as ca, getSequentialChartColors as ua } from "./tokens/charts/palettes/index.js";
97
- import { getColorsByTheme as da, getTokensByTheme as ga, resolveColorTokens as Sa } from "./tokens/utils.js";
2
+ import { default as p } from "./components/utils/createSyntheticClickEvent.js";
3
+ import { Affix as f, Anchor as i, App as s, AutoComplete as x, Avatar as n, BackTop as l, 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 N, Layout as I, List as L, Mentions as y, Menu as B, Pagination as O, Popconfirm as v, Progress as w, QRCode as M, 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, theme as Z, unstableSetRender as $, version as oo } from "antd";
4
+ import { DataTable as ro } from "./components/data-table/component.js";
5
+ import { Select as ao } from "./components/select/component.js";
6
+ import { Modal as mo } from "./components/modal/index.js";
7
+ import { notification as io } from "./components/notification/index.js";
8
+ import { NotificationProvider as xo } from "./components/notification/NotificationProvider.js";
9
+ import { destroy as lo, error as co, info as Co, open as uo, success as To, warning as go } from "./components/notification/functions.js";
10
+ import { useNotification as ho } from "./components/notification/useNotification.js";
11
+ import { Dialog as Eo } from "./components/dialog/index.js";
12
+ import { IconButton as Ro } from "./components/icon-button/component.js";
13
+ import { Switch as ko } from "./components/switch/component.js";
14
+ import { Checkbox as No } from "./components/checkbox/component.js";
15
+ import { Segmented as Lo } from "./components/segmented/component.js";
16
+ import { Table as Bo } from "./components/table/component.js";
17
+ import { Tag as vo } from "./components/tag/component.js";
18
+ import { TagList as Mo } from "./components/tag/list.js";
19
+ import { ThemeProvider as Uo } from "./components/theme-provider/component.js";
20
+ import { ThemeContext as Fo, useTheme as Vo } from "./components/theme-provider/context/themeStore.js";
21
+ import { ThemeContextProvider as Ko } from "./components/theme-provider/context/provider.js";
22
+ import { Split as Go, Splitter as Ho } from "./components/splitter/component.js";
23
+ import { Truncate as jo } from "./components/truncate/component.js";
24
+ import { DropdownMenu as Xo } from "./components/dropdown-menu/component.js";
25
+ import { DropdownMenuItem as Zo } from "./components/dropdown-menu/item.js";
26
+ import { CommandPalette as oe } from "./components/command-palette/component.js";
27
+ import { KeyboardShortcut as re } from "./components/keyboard-shortcut/component.js";
28
+ import { Transition as ae } from "./components/transition/component.js";
29
+ import { DefaultUpload as me, Upload as fe } from "./components/upload/component.js";
30
+ import { useUploadItemRender as se } from "./components/upload/hooks.js";
31
+ import { clsx as ne, cn as le, cx as ce } from "./components/utils/cn.js";
32
+ import { reactNodeToString as ue } from "./components/utils/reactToString.js";
33
+ import { isTracebackError as de } from "./components/utils/isTracebackError.js";
34
+ import { isValidHexColor as Se } from "./components/utils/colors.js";
35
+ import { WithRenderProp as Ae } from "./components/utils/WithRenderProp.js";
36
+ import { getReactElementProp as Pe, getReactElementRef as Re } from "./components/utils/reactElement.js";
37
+ import { default as ke } from "merge-refs";
38
+ import { useAntdCssVarClassname as Ne, useCls as Ie, useGetPrefixCls as Le } from "./components/utils/antdUtils.js";
39
+ import { changeThemeWithoutTransition as Be } from "./components/utils/theme.js";
40
+ import { moveTypingCursorToEnd as ve } from "./components/utils/selectionRange.js";
41
+ import { DROPDOWN_COLLISION_AVOIDANCE as Me, POPUP_COLLISION_AVOIDANCE as _e } from "./components/utils/constants.js";
42
+ import { buildAntdPlacement as We, normalizeBaseUISide as Fe, parseAntdPlacement as Ve } from "./components/utils/placement.js";
43
+ import { createRenderProp as Ke } from "./components/utils/renderProp.js";
44
+ import { ScrollArea as Ge } from "./components/scroll-area/component.js";
45
+ import { Popover as Qe } from "./components/popover/component.js";
46
+ import { Slider as Je } from "./components/slider/component.js";
47
+ import { Tooltip as Ye } from "./components/tooltip/component.js";
48
+ import { Breadcrumb as $e } from "./components/breadcrumb/component.js";
49
+ import { BreadcrumbItem as er } from "./components/breadcrumb/item.js";
50
+ import { useUniqueKeysTree as tr } from "./components/tree/useUniqueKeysTree.js";
51
+ import { getUniqueKeysFromOriginals as pr, processTreeData as mr } from "./components/tree/helpers.js";
52
+ import { Tree as ir } from "./components/tree/components.js";
53
+ import { Spin as xr } from "./components/spin/component.js";
54
+ import { Empty as lr } from "./components/empty/component.js";
55
+ import { Form as Cr } from "./components/form/component.js";
56
+ import { Field as Tr } from "./components/field/component.js";
57
+ import { Tour as gr } from "./components/tour/component.js";
58
+ import { Toast as hr } from "./components/toast/component.js";
59
+ import { toast as Er, toastManager as Pr } from "./components/toast/function.js";
60
+ import { VerticalCollapsiblePanel as br } from "./components/vertical-collapsible-panel/component.js";
61
+ import { PopupPanel as Dr } from "./components/popup-panel/component.js";
62
+ import { CodeBlock as Ir } from "./components/code-block/component.js";
63
+ import { StackChild as yr } from "./components/stack/StackChild.js";
64
+ import { Stack as Or } from "./components/stack/index.js";
65
+ import { Collapse as wr } from "./components/collapse/component.js";
66
+ import { Input as _r } from "./components/input/component.js";
67
+ import { Badge as Wr, InternalBadge as Fr } from "./components/badge/component.js";
68
+ import { Radio as zr } from "./components/radio/component.js";
69
+ import { Button as qr } from "./components/button/component.js";
70
+ import { DSRoot as Hr } from "./components/ds-root/component.js";
71
+ import { useDS as jr } from "./components/ds-root/hook.js";
72
+ import { DragDrop as Xr, DragDropRoot as Yr } from "./components/drag-drop/index.js";
73
+ import { ColorSelect as $r } from "./components/color-select/component.js";
74
+ import { Nav as et } from "./components/nav/index.js";
75
+ import { ChoiceList as tt } from "./components/choice-list/component.js";
76
+ import { StatusIcon as pt } from "./components/status-icon/component.js";
77
+ import { Resizable as ft } from "./components/resizable/component.js";
78
+ import { Combobox as st } from "./components/combobox/component.js";
79
+ import { SelectTrigger as nt, SelectTriggerArrow as lt, SelectTriggerClear as ct, SelectTriggerContent as Ct, SelectTriggerRoot as ut } from "./components/select-trigger/component.js";
80
+ import { Loader as dt } from "./components/loader/component.js";
81
+ import { WindowPortal as St } from "./components/window-portal/component.js";
82
+ import { Alert as At } from "./components/alert/component.js";
83
+ import { LabelWithHelp as Pt } from "./components/label-with-help/component.js";
84
+ import { useForm as bt, useWatch as kt } from "antd/es/form/Form";
85
+ import { useMessage as Nt, useModal as It, useToken as Lt } from "./components/hooks/antd.js";
86
+ import { default as Bt } from "antd/es/app/useApp";
87
+ import { useAnimationsFinished as vt, useEnhancedEffect as wt, useEventCallback as Mt, useLatestRef as _t } from "./components/hooks/base-ui.js";
88
+ import { useControlledState as Wt } from "./components/hooks/useControlledState.js";
89
+ import { useCharts as Vt } from "./components/hooks/useCharts.js";
90
+ import { useCSSVariables as Kt } from "./components/hooks/useCSSVariables.js";
91
+ import { useHover as Gt } from "./components/hooks/useHover.js";
92
+ import { useDraggable as Qt } from "./components/hooks/useDraggable.js";
93
+ import { BREAKPOINTS as Jt, useBreakpoint as Xt } from "./components/hooks/useBreakpoint.js";
94
+ import { useWindowSize as Zt } from "./components/hooks/useWindowSize.js";
95
+ import { useElementSize as oa, useResizeObserver as ea } from "./components/hooks/useResizeObserver.js";
96
+ import { antdColorTokens as ta, darkTheme as aa, lightTheme as pa } from "./tokens/and-theme/tokens.js";
97
+ import { categoricalChartColorKeys as fa, categoricalChartColorTokens as ia, categoricalChartsColors as sa, chartColorTokens as xa, rawChartColorTokens as na } from "./tokens/charts/palettes/cloudscape.js";
98
+ import { COLORBREWER as ca } from "./tokens/charts/palettes/colorbrewer.js";
99
+ import { tab10 as ua, tab20 as Ta, tab20b as da, tab20c as ga } from "./tokens/charts/palettes/tableau.js";
100
+ import { CATEGORICAL_PALETTES as ha, CATEGORICAL_PALETTE_NAMES as Aa, SEQUENTIAL_PALETTES as Ea, SEQUENTIAL_PALETTE_NAMES as Pa, getAllCategoricalChartColors as Ra, getAllSequentialChartColors as ba, getCategoricalChartColors as ka, getSequentialChartColors as Da } from "./tokens/charts/palettes/index.js";
101
+ import { getColorsByTheme as Ia, getTokensByTheme as La, resolveColorTokens as ya } from "./tokens/utils.js";
98
102
  export {
99
103
  f as Affix,
100
- lt as Alert,
101
- x as Anchor,
102
- l as App,
103
- s as AutoComplete,
104
+ At as Alert,
105
+ i as Anchor,
106
+ s as App,
107
+ x as AutoComplete,
104
108
  n as Avatar,
105
- _t as BREAKPOINTS,
106
- i as BackTop,
107
- Dr as Badge,
108
- Vo as Breadcrumb,
109
- Ko as BreadcrumbItem,
110
- vr as Button,
111
- xa as CATEGORICAL_PALETTES,
112
- la as CATEGORICAL_PALETTE_NAMES,
113
- oa as COLORBREWER,
114
- C as Calendar,
115
- c as Card,
109
+ Jt as BREAKPOINTS,
110
+ l as BackTop,
111
+ Wr as Badge,
112
+ $e as Breadcrumb,
113
+ er as BreadcrumbItem,
114
+ qr as Button,
115
+ ha as CATEGORICAL_PALETTES,
116
+ Aa as CATEGORICAL_PALETTE_NAMES,
117
+ ca as COLORBREWER,
118
+ c as Calendar,
119
+ C as Card,
116
120
  u as Carousel,
117
121
  T as Cascader,
118
- ue as Checkbox,
119
- Gr as ChoiceList,
120
- dr as CodeBlock,
122
+ No as Checkbox,
123
+ tt as ChoiceList,
124
+ Ir as CodeBlock,
121
125
  d as Col,
122
- Pr as Collapse,
126
+ wr as Collapse,
123
127
  g as ColorPicker,
124
- Vr as ColorSelect,
125
- Yr as Combobox,
126
- Ve as CommandPalette,
128
+ $r as ColorSelect,
129
+ st as Combobox,
130
+ oe as CommandPalette,
127
131
  S as ConfigProvider,
128
- Ro as DROPDOWN_COLLISION_AVOIDANCE,
129
- Nr as DSRoot,
130
- te as DataTable,
132
+ Me as DROPDOWN_COLLISION_AVOIDANCE,
133
+ Hr as DSRoot,
134
+ ro as DataTable,
131
135
  h as DatePicker,
132
- Qe as DefaultUpload,
136
+ me as DefaultUpload,
133
137
  A as Descriptions,
134
- le as Dialog,
138
+ Eo as Dialog,
135
139
  E as Divider,
136
- Ur as DragDrop,
137
- Wr as DragDropRoot,
140
+ Xr as DragDrop,
141
+ Yr as DragDropRoot,
138
142
  P as Drawer,
139
143
  R as Dropdown,
140
- _e as DropdownMenu,
141
- We as DropdownMenuItem,
142
- er as Empty,
143
- ar as Field,
144
+ Xo as DropdownMenu,
145
+ Zo as DropdownMenuItem,
146
+ lr as Empty,
147
+ Tr as Field,
144
148
  b as Flex,
145
149
  k as FloatButton,
146
- rr as Form,
150
+ Cr as Form,
147
151
  D as Grid,
148
- ne as IconButton,
149
- br as Input,
150
- I as InputNumber,
151
- Ir as InternalBadge,
152
- Ke as KeyboardShortcut,
153
- nt as LabelWithHelp,
154
- L as Layout,
155
- B as List,
156
- mt as Loader,
157
- O as Mentions,
158
- v as Menu,
159
- fe as Modal,
160
- Kr as Nav,
161
- bo as POPUP_COLLISION_AVOIDANCE,
162
- y as Pagination,
163
- N as Popconfirm,
164
- Mo as Popover,
165
- ur as PopupPanel,
166
- M as Progress,
167
- w as QRCode,
168
- Br as Radio,
152
+ Ro as IconButton,
153
+ _r as Input,
154
+ N as InputNumber,
155
+ Fr as InternalBadge,
156
+ re as KeyboardShortcut,
157
+ Pt as LabelWithHelp,
158
+ I as Layout,
159
+ L as List,
160
+ dt as Loader,
161
+ y as Mentions,
162
+ B as Menu,
163
+ mo as Modal,
164
+ et as Nav,
165
+ xo as NotificationProvider,
166
+ _e as POPUP_COLLISION_AVOIDANCE,
167
+ O as Pagination,
168
+ v as Popconfirm,
169
+ Qe as Popover,
170
+ Dr as PopupPanel,
171
+ w as Progress,
172
+ M as QRCode,
173
+ zr as Radio,
169
174
  _ as Rate,
170
- Jr as Resizable,
175
+ ft as Resizable,
171
176
  U as Result,
172
177
  W as Row,
173
- sa as SEQUENTIAL_PALETTES,
174
- na as SEQUENTIAL_PALETTE_NAMES,
175
- yo as ScrollArea,
176
- de as Segmented,
177
- me as Select,
178
- $r as SelectTrigger,
179
- et as SelectTriggerArrow,
180
- ot as SelectTriggerClear,
181
- rt as SelectTriggerContent,
182
- tt as SelectTriggerRoot,
178
+ Ea as SEQUENTIAL_PALETTES,
179
+ Pa as SEQUENTIAL_PALETTE_NAMES,
180
+ Ge as ScrollArea,
181
+ Lo as Segmented,
182
+ ao as Select,
183
+ nt as SelectTrigger,
184
+ lt as SelectTriggerArrow,
185
+ ct as SelectTriggerClear,
186
+ Ct as SelectTriggerContent,
187
+ ut as SelectTriggerRoot,
183
188
  F as Skeleton,
184
- _o as Slider,
189
+ Je as Slider,
185
190
  V as Space,
186
- Zo as Spin,
187
- ve as Split,
188
- ye as Splitter,
189
- Ar as Stack,
190
- Sr as StackChild,
191
+ xr as Spin,
192
+ Go as Split,
193
+ Ho as Splitter,
194
+ Or as Stack,
195
+ yr as StackChild,
191
196
  z as Statistic,
192
- Qr as StatusIcon,
197
+ pt as StatusIcon,
193
198
  K as Steps,
194
- Ce as Switch,
195
- Se as Table,
199
+ ko as Switch,
200
+ Bo as Table,
196
201
  q as Tabs,
197
- Ae as Tag,
198
- Pe as TagList,
199
- De as ThemeContext,
200
- Be as ThemeContextProvider,
201
- be as ThemeProvider,
202
+ vo as Tag,
203
+ Mo as TagList,
204
+ Fo as ThemeContext,
205
+ Ko as ThemeContextProvider,
206
+ Uo as ThemeProvider,
202
207
  G as TimePicker,
203
208
  H as Timeline,
204
- xr as Toast,
205
- Wo as Tooltip,
206
- pr as Tour,
209
+ hr as Toast,
210
+ Ye as Tooltip,
211
+ gr as Tour,
207
212
  Q as Transfer,
208
- Ge as Transition,
209
- Xo as Tree,
213
+ ae as Transition,
214
+ ir as Tree,
210
215
  j as TreeSelect,
211
- Me as Truncate,
216
+ jo as Truncate,
212
217
  J as Typography,
213
- je as Upload,
214
- Cr as VerticalCollapsiblePanel,
218
+ fe as Upload,
219
+ br as VerticalCollapsiblePanel,
215
220
  X as Watermark,
216
- ft as WindowPortal,
217
- xo as WithRenderProp,
218
- Gt as antdColorTokens,
219
- Do as buildAntdPlacement,
220
- Jt as categoricalChartColorKeys,
221
- Xt as categoricalChartColorTokens,
222
- Yt as categoricalChartsColors,
223
- ho as changeThemeWithoutTransition,
224
- Zt as chartColorTokens,
225
- Ze as clsx,
226
- $e as cn,
221
+ St as WindowPortal,
222
+ Ae as WithRenderProp,
223
+ ta as antdColorTokens,
224
+ We as buildAntdPlacement,
225
+ fa as categoricalChartColorKeys,
226
+ ia as categoricalChartColorTokens,
227
+ sa as categoricalChartsColors,
228
+ Be as changeThemeWithoutTransition,
229
+ xa as chartColorTokens,
230
+ ne as clsx,
231
+ le as cn,
227
232
  r as componentMetadata,
228
- Oo as createRenderProp,
229
- m as createSyntheticClickEvent,
230
- eo as cx,
231
- Ht as darkTheme,
232
- ia as getAllCategoricalChartColors,
233
- Ca as getAllSequentialChartColors,
234
- ca as getCategoricalChartColors,
235
- da as getColorsByTheme,
233
+ Ke as createRenderProp,
234
+ p as createSyntheticClickEvent,
235
+ ce as cx,
236
+ aa as darkTheme,
237
+ lo as destroyNotification,
238
+ co as errorNotification,
239
+ Ra as getAllCategoricalChartColors,
240
+ ba as getAllSequentialChartColors,
241
+ ka as getCategoricalChartColors,
242
+ Ia as getColorsByTheme,
236
243
  t as getComponentsByCategory,
237
- so as getReactElementProp,
238
- no as getReactElementRef,
239
- ua as getSequentialChartColors,
240
- ga as getTokensByTheme,
241
- Qo as getUniqueKeysFromOriginals,
242
- ao as isTracebackError,
243
- po as isValidHexColor,
244
- Qt as lightTheme,
245
- Co as mergeRefs,
244
+ Pe as getReactElementProp,
245
+ Re as getReactElementRef,
246
+ Da as getSequentialChartColors,
247
+ La as getTokensByTheme,
248
+ pr as getUniqueKeysFromOriginals,
249
+ Co as infoNotification,
250
+ de as isTracebackError,
251
+ Se as isValidHexColor,
252
+ pa as lightTheme,
253
+ ke as mergeRefs,
246
254
  Y as message,
247
- Eo as moveTypingCursorToEnd,
248
- Io as normalizeBaseUISide,
249
- Z as notification,
250
- Lo as parseAntdPlacement,
251
- jo as processTreeData,
252
- $t as rawChartColorTokens,
253
- ro as reactNodeToString,
254
- Sa as resolveColorTokens,
255
- ta as tab10,
256
- aa as tab20,
257
- ma as tab20b,
258
- pa as tab20c,
259
- $ as theme,
260
- sr as toast,
261
- nr as toastManager,
262
- ee as unstableSetRender,
263
- Et as useAnimationsFinished,
264
- uo as useAntdCssVarClassname,
265
- ht as useApp,
266
- Ut as useBreakpoint,
267
- Ot as useCSSVariables,
268
- Lt as useCharts,
269
- To as useCls,
270
- Dt as useControlledState,
271
- wr as useDS,
272
- Mt as useDraggable,
273
- zt as useElementSize,
274
- Pt as useEnhancedEffect,
275
- Rt as useEventCallback,
276
- Ct as useForm,
277
- go as useGetPrefixCls,
278
- yt as useHover,
279
- bt as useLatestRef,
280
- Tt as useMessage,
281
- dt as useModal,
282
- Kt as useResizeObserver,
283
- Ie as useTheme,
284
- gt as useToken,
285
- Go as useUniqueKeysTree,
286
- Xe as useUploadItemRender,
287
- ct as useWatch,
288
- Ft as useWindowSize,
289
- oe as version
255
+ ve as moveTypingCursorToEnd,
256
+ Fe as normalizeBaseUISide,
257
+ io as notification,
258
+ uo as openNotification,
259
+ Ve as parseAntdPlacement,
260
+ mr as processTreeData,
261
+ na as rawChartColorTokens,
262
+ ue as reactNodeToString,
263
+ ya as resolveColorTokens,
264
+ To as successNotification,
265
+ ua as tab10,
266
+ Ta as tab20,
267
+ da as tab20b,
268
+ ga as tab20c,
269
+ Z as theme,
270
+ Er as toast,
271
+ Pr as toastManager,
272
+ $ as unstableSetRender,
273
+ vt as useAnimationsFinished,
274
+ Ne as useAntdCssVarClassname,
275
+ Bt as useApp,
276
+ Xt as useBreakpoint,
277
+ Kt as useCSSVariables,
278
+ Vt as useCharts,
279
+ Ie as useCls,
280
+ Wt as useControlledState,
281
+ jr as useDS,
282
+ Qt as useDraggable,
283
+ oa as useElementSize,
284
+ wt as useEnhancedEffect,
285
+ Mt as useEventCallback,
286
+ bt as useForm,
287
+ Le as useGetPrefixCls,
288
+ Gt as useHover,
289
+ _t as useLatestRef,
290
+ Nt as useMessage,
291
+ It as useModal,
292
+ ho as useNotification,
293
+ ea as useResizeObserver,
294
+ Vo as useTheme,
295
+ Lt as useToken,
296
+ tr as useUniqueKeysTree,
297
+ se as useUploadItemRender,
298
+ kt as useWatch,
299
+ Zt as useWindowSize,
300
+ oo as version,
301
+ go as warningNotification
290
302
  };
291
303
  //# 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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -169,6 +169,15 @@ export declare const componentMetadata: {
169
169
  originalDocUrl: string;
170
170
  description: string;
171
171
  };
172
+ Notification: {
173
+ name: string;
174
+ link: string;
175
+ base: "antd";
176
+ refinements: string[];
177
+ category: "Feedback";
178
+ originalDocUrl: string;
179
+ description: string;
180
+ };
172
181
  Dialog: {
173
182
  name: string;
174
183
  link: string;
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgwBe,CAAC;AAE9C;;GAEG;AACH,eAAO,MAAM,uBAAuB,QAAO,MAAM,CAC/C,iBAAiB,EACjB,iBAAiB,EAAE,CA0BpB,CAAC"}
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8wBe,CAAC;AAE9C;;GAEG;AACH,eAAO,MAAM,uBAAuB,QAAO,MAAM,CAC/C,iBAAiB,EACjB,iBAAiB,EAAE,CA0BpB,CAAC"}
package/dist/metadata.js CHANGED
@@ -197,6 +197,19 @@ const i = {
197
197
  originalDocUrl: "https://ant.design/components/message",
198
198
  description: "The Message component provides feedback in response to user operations. Unlike notification, messages are simpler and typically auto-dismiss after a short duration."
199
199
  },
200
+ Notification: {
201
+ name: "Notification",
202
+ link: "/notification",
203
+ base: "antd",
204
+ refinements: [
205
+ "Wraps Ant Design's static notification API in a DS provider so notifications inherit the active light or dark theme",
206
+ "Supports imperative `open`, `success`, `info`, `warning`, and `error` helpers with update and destroy handles similar to the DS modal utility",
207
+ "Mounts notification context inside `DSRoot` to keep tokens, prefix classes, and theming aligned with the rest of the system"
208
+ ],
209
+ category: "Feedback",
210
+ originalDocUrl: "https://ant.design/components/notification",
211
+ description: "Displays persistent feedback in the corner of the viewport for richer status updates, follow-up actions, and contextual alerts."
212
+ },
200
213
  Dialog: {
201
214
  name: "Dialog",
202
215
  link: "/dialog",