@bioturing/components 0.46.4 → 0.48.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/base-menu/component.js +19 -21
- package/dist/components/base-menu/component.js.map +1 -1
- package/dist/components/base-menu/index.d.ts +1 -1
- package/dist/components/base-menu/index.d.ts.map +1 -1
- package/dist/components/base-menu/index.js +12 -7
- package/dist/components/base-menu/index.js.map +1 -1
- package/dist/components/base-menu/item.css +1 -1
- package/dist/components/base-menu/item.d.ts +13 -2
- package/dist/components/base-menu/item.d.ts.map +1 -1
- package/dist/components/base-menu/item.js +62 -47
- package/dist/components/base-menu/item.js.map +1 -1
- package/dist/components/base-menu/style.css +1 -1
- package/dist/components/checkbox/component.d.ts +2 -2
- package/dist/components/checkbox/component.d.ts.map +1 -1
- package/dist/components/checkbox/component.js.map +1 -1
- package/dist/components/choice-list/component.js +12 -12
- package/dist/components/combobox/component.d.ts.map +1 -1
- package/dist/components/combobox/component.js +121 -121
- package/dist/components/combobox/component.js.map +1 -1
- package/dist/components/combobox/style.css +1 -1
- package/dist/components/data-table/component.d.ts.map +1 -1
- package/dist/components/data-table/component.js +99 -79
- package/dist/components/data-table/component.js.map +1 -1
- package/dist/components/data-table/components/TableBody.d.ts +3 -2
- package/dist/components/data-table/components/TableBody.d.ts.map +1 -1
- package/dist/components/data-table/components/TableBody.js +106 -89
- package/dist/components/data-table/components/TableBody.js.map +1 -1
- package/dist/components/data-table/components/TableHeader.d.ts +3 -1
- package/dist/components/data-table/components/TableHeader.d.ts.map +1 -1
- package/dist/components/data-table/components/TableHeader.js +121 -93
- package/dist/components/data-table/components/TableHeader.js.map +1 -1
- package/dist/components/data-table/components/TablePagination.d.ts.map +1 -1
- package/dist/components/data-table/components/TablePagination.js +36 -31
- package/dist/components/data-table/components/TablePagination.js.map +1 -1
- package/dist/components/data-table/hooks.d.ts.map +1 -1
- package/dist/components/data-table/hooks.js +98 -83
- package/dist/components/data-table/hooks.js.map +1 -1
- package/dist/components/data-table/style.css +1 -1
- package/dist/components/data-table/types.d.ts +1 -1
- package/dist/components/data-table/types.d.ts.map +1 -1
- package/dist/components/data-table/utils.js +37 -30
- package/dist/components/data-table/utils.js.map +1 -1
- package/dist/components/data-table/variant-minimal.css +1 -0
- package/dist/components/data-table/variant-zebra.css +1 -0
- package/dist/components/dialog/Dialog.js +46 -46
- package/dist/components/dialog/Dialog.js.map +1 -1
- package/dist/components/dialog/dialog.css +1 -1
- package/dist/components/dropdown-menu/component.d.ts.map +1 -1
- package/dist/components/dropdown-menu/component.js +121 -144
- package/dist/components/dropdown-menu/component.js.map +1 -1
- package/dist/components/dropdown-menu/index.d.ts +2 -0
- package/dist/components/dropdown-menu/index.d.ts.map +1 -1
- package/dist/components/dropdown-menu/item.d.ts +7 -15
- package/dist/components/dropdown-menu/item.d.ts.map +1 -1
- package/dist/components/dropdown-menu/item.js +132 -81
- package/dist/components/dropdown-menu/item.js.map +1 -1
- package/dist/components/dropdown-menu/radio-group.d.ts +14 -0
- package/dist/components/dropdown-menu/radio-group.d.ts.map +1 -0
- package/dist/components/dropdown-menu/radio-group.js +45 -0
- package/dist/components/dropdown-menu/radio-group.js.map +1 -0
- package/dist/components/dropdown-menu/search-mode.d.ts +4 -0
- package/dist/components/dropdown-menu/search-mode.d.ts.map +1 -0
- package/dist/components/dropdown-menu/search-mode.js +6 -0
- package/dist/components/dropdown-menu/search-mode.js.map +1 -0
- package/dist/components/dropdown-menu/style.css +1 -1
- package/dist/components/dropdown-menu/submenu.d.ts +25 -0
- package/dist/components/dropdown-menu/submenu.d.ts.map +1 -0
- package/dist/components/dropdown-menu/submenu.js +96 -0
- package/dist/components/dropdown-menu/submenu.js.map +1 -0
- package/dist/components/dropdown-menu/types.d.ts +85 -12
- package/dist/components/dropdown-menu/types.d.ts.map +1 -1
- package/dist/components/dropdown-menu/useDropdownMenu.d.ts +4 -8
- package/dist/components/dropdown-menu/useDropdownMenu.d.ts.map +1 -1
- package/dist/components/dropdown-menu/useDropdownMenu.js +108 -81
- package/dist/components/dropdown-menu/useDropdownMenu.js.map +1 -1
- package/dist/components/form/FormItem/ItemHolder.d.ts +6 -5
- package/dist/components/form/FormItem/ItemHolder.d.ts.map +1 -1
- package/dist/components/form/FormItem/ItemHolder.js +32 -29
- package/dist/components/form/FormItem/ItemHolder.js.map +1 -1
- package/dist/components/form/FormItem/index.d.ts +6 -0
- package/dist/components/form/FormItem/index.d.ts.map +1 -1
- package/dist/components/form/FormItem/index.js +138 -127
- package/dist/components/form/FormItem/index.js.map +1 -1
- package/dist/components/form/FormValidationContext.d.ts +5 -0
- package/dist/components/form/FormValidationContext.d.ts.map +1 -0
- package/dist/components/form/FormValidationContext.js +7 -0
- package/dist/components/form/FormValidationContext.js.map +1 -0
- package/dist/components/form/component.d.ts +6 -1
- package/dist/components/form/component.d.ts.map +1 -1
- package/dist/components/form/component.js +30 -20
- package/dist/components/form/component.js.map +1 -1
- package/dist/components/form/formValidationRule.d.ts +19 -0
- package/dist/components/form/formValidationRule.d.ts.map +1 -0
- package/dist/components/form/formValidationRule.js +22 -0
- package/dist/components/form/formValidationRule.js.map +1 -0
- package/dist/components/form/index.d.ts +2 -0
- package/dist/components/form/index.d.ts.map +1 -1
- package/dist/components/form/useFormValidation.d.ts +3 -0
- package/dist/components/form/useFormValidation.d.ts.map +1 -0
- package/dist/components/form/useFormValidation.js +18 -0
- package/dist/components/form/useFormValidation.js.map +1 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/keyboard-shortcut/component.d.ts +2 -0
- package/dist/components/keyboard-shortcut/component.d.ts.map +1 -1
- package/dist/components/keyboard-shortcut/component.js +69 -49
- package/dist/components/keyboard-shortcut/component.js.map +1 -1
- package/dist/components/modal/Modal.d.ts +1 -1
- package/dist/components/modal/Modal.js +9 -9
- package/dist/components/modal/Modal.js.map +1 -1
- package/dist/components/modal/style.css +1 -1
- package/dist/components/select/component.js +29 -29
- package/dist/components/select/component.js.map +1 -1
- package/dist/components/theme-provider/component.d.ts +3 -1
- package/dist/components/theme-provider/component.d.ts.map +1 -1
- package/dist/components/theme-provider/component.js +32 -31
- package/dist/components/theme-provider/component.js.map +1 -1
- package/dist/components/theme-provider/context/index.d.ts +2 -1
- package/dist/components/theme-provider/context/index.d.ts.map +1 -1
- package/dist/components/theme-provider/context/provider.d.ts +2 -3
- package/dist/components/theme-provider/context/provider.d.ts.map +1 -1
- package/dist/components/theme-provider/context/provider.js +13 -6
- package/dist/components/theme-provider/context/provider.js.map +1 -1
- package/dist/components/theme-provider/context/themeStore.d.ts +15 -0
- package/dist/components/theme-provider/context/themeStore.d.ts.map +1 -1
- package/dist/components/theme-provider/context/themeStore.js +10 -9
- package/dist/components/theme-provider/context/themeStore.js.map +1 -1
- package/dist/components/theme-provider/style.css +1 -1
- package/dist/components/tooltip/component.d.ts.map +1 -1
- package/dist/components/tooltip/component.js +23 -12
- package/dist/components/tooltip/component.js.map +1 -1
- package/dist/index.js +273 -258
- package/dist/index.js.map +1 -1
- package/dist/metadata.d.ts +9 -0
- package/dist/metadata.d.ts.map +1 -1
- package/dist/metadata.js +14 -0
- package/dist/metadata.js.map +1 -1
- package/dist/stats.html +1 -1
- package/package.json +6 -6
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.js","sources":["../../../src/components/tooltip/component.tsx"],"sourcesContent":["\"use client\";\nimport {\n default as AntTooltip,\n TooltipRef,\n type TooltipProps as AntTooltipProps,\n} from \"antd/es/tooltip\";\n\
|
|
1
|
+
{"version":3,"file":"component.js","sources":["../../../src/components/tooltip/component.tsx"],"sourcesContent":["\"use client\";\nimport {\n default as AntTooltip,\n TooltipRef,\n type TooltipProps as AntTooltipProps,\n} from \"antd/es/tooltip\";\n\nimport \"./style.css\";\nimport { forwardRef, useRef, useImperativeHandle } from \"react\";\nimport { useThemeContext } from \"../theme-provider/context\";\n\nexport type TooltipProps = AntTooltipProps & {\n /**\n * Arrow config for of the tooltip\n * @default false\n */\n arrow?: AntTooltipProps[\"arrow\"];\n};\n\nexport const Tooltip = forwardRef<HTMLElement, TooltipProps>(\n ({ arrow = false, mouseEnterDelay, mouseLeaveDelay, children, ...rest }, ref) => {\n const tooltipRef = useRef<TooltipRef>(null);\n const { componentConfig } = useThemeContext();\n\n useImperativeHandle(ref, () => {\n const nativeElement = tooltipRef.current?.nativeElement;\n if (nativeElement instanceof Element) {\n return nativeElement as HTMLElement;\n }\n return null;\n });\n\n return (\n <AntTooltip\n arrow={arrow}\n mouseEnterDelay={mouseEnterDelay ?? componentConfig?.tooltipEnterDelay}\n mouseLeaveDelay={mouseLeaveDelay ?? componentConfig?.tooltipLeaveDelay}\n {...rest}\n ref={tooltipRef}\n >\n {children}\n </AntTooltip>\n );\n },\n);\n\nTooltip.displayName = \"Tooltip\";\n"],"names":["Tooltip","forwardRef","arrow","mouseEnterDelay","mouseLeaveDelay","children","rest","ref","tooltipRef","useRef","componentConfig","useThemeContext","useImperativeHandle","nativeElement","jsx","AntTooltip"],"mappings":";;;;;;AAmBO,MAAMA,IAAUC;AAAA,EACrB,CAAC,EAAE,OAAAC,IAAQ,IAAO,iBAAAC,GAAiB,iBAAAC,GAAiB,UAAAC,GAAU,GAAGC,EAAA,GAAQC,MAAQ;AAC/E,UAAMC,IAAaC,EAAmB,IAAI,GACpC,EAAE,iBAAAC,EAAA,IAAoBC,EAAA;AAE5B,WAAAC,EAAoBL,GAAK,MAAM;AAC7B,YAAMM,IAAgBL,EAAW,SAAS;AAC1C,aAAIK,aAAyB,UACpBA,IAEF;AAAA,IACT,CAAC,GAGC,gBAAAC;AAAA,MAACC;AAAA,MAAA;AAAA,QACC,OAAAb;AAAA,QACA,iBAAiBC,KAAmBO,GAAiB;AAAA,QACrD,iBAAiBN,KAAmBM,GAAiB;AAAA,QACpD,GAAGJ;AAAA,QACJ,KAAKE;AAAA,QAEJ,UAAAH;AAAA,MAAA;AAAA,IAAA;AAAA,EAGP;AACF;AAEAL,EAAQ,cAAc;"}
|
package/dist/index.js
CHANGED
|
@@ -1,303 +1,318 @@
|
|
|
1
1
|
import { componentMetadata as r, getComponentsByCategory as t } from "./metadata.js";
|
|
2
2
|
import { default as p } from "./components/utils/createSyntheticClickEvent.js";
|
|
3
|
-
import { Affix as f, Anchor as i, App as s, AutoComplete as
|
|
3
|
+
import { Affix as f, Anchor as i, App as s, AutoComplete as n, Avatar as x, BackTop as l, Calendar as c, Card as C, Carousel as u, Cascader as T, Col as d, ColorPicker as S, ConfigProvider as g, DatePicker as E, Descriptions as A, Divider as h, Drawer as R, Dropdown as P, Flex as D, FloatButton as L, Grid as b, InputNumber as k, Layout as B, List as N, Mentions as I, Menu as _, Pagination as O, Popconfirm as y, Progress as M, QRCode as v, Rate as w, Result as U, Row as K, Skeleton as F, Space as W, Statistic as H, Steps as G, Tabs as V, TimePicker as z, Timeline as q, Transfer as Q, TreeSelect as Y, Typography as j, Watermark as J, message as X, theme as Z, unstableSetRender as $, version as oo } from "antd";
|
|
4
4
|
import { DataTable as ro } from "./components/data-table/component.js";
|
|
5
5
|
import { Select as ao } from "./components/select/component.js";
|
|
6
6
|
import { Modal as mo } from "./components/modal/index.js";
|
|
7
7
|
import { notification as io } from "./components/notification/index.js";
|
|
8
|
-
import { NotificationProvider as
|
|
9
|
-
import { destroy as lo, error as co, info as Co, open as uo, success as To, warning as
|
|
10
|
-
import { useNotification as
|
|
11
|
-
import { Dialog as
|
|
12
|
-
import { IconButton as
|
|
13
|
-
import { Switch as
|
|
14
|
-
import { Checkbox as
|
|
15
|
-
import { Segmented as
|
|
16
|
-
import { Table as
|
|
17
|
-
import { Tag as
|
|
18
|
-
import { TagList as
|
|
8
|
+
import { NotificationProvider as no } from "./components/notification/NotificationProvider.js";
|
|
9
|
+
import { destroy as lo, error as co, info as Co, open as uo, success as To, warning as So } from "./components/notification/functions.js";
|
|
10
|
+
import { useNotification as Eo } from "./components/notification/useNotification.js";
|
|
11
|
+
import { Dialog as ho } from "./components/dialog/index.js";
|
|
12
|
+
import { IconButton as Po } from "./components/icon-button/component.js";
|
|
13
|
+
import { Switch as Lo } from "./components/switch/component.js";
|
|
14
|
+
import { Checkbox as ko } from "./components/checkbox/component.js";
|
|
15
|
+
import { Segmented as No } from "./components/segmented/component.js";
|
|
16
|
+
import { Table as _o } from "./components/table/component.js";
|
|
17
|
+
import { Tag as yo } from "./components/tag/component.js";
|
|
18
|
+
import { TagList as vo } from "./components/tag/list.js";
|
|
19
19
|
import { ThemeProvider as Uo } from "./components/theme-provider/component.js";
|
|
20
|
-
import { ThemeContext as Fo, useTheme as
|
|
21
|
-
import { ThemeContextProvider as
|
|
22
|
-
import { Split as
|
|
20
|
+
import { ThemeContext as Fo, useTheme as Wo, useThemeContext as Ho } from "./components/theme-provider/context/themeStore.js";
|
|
21
|
+
import { ThemeContextProvider as Vo } from "./components/theme-provider/context/provider.js";
|
|
22
|
+
import { Split as qo, Splitter as Qo } from "./components/splitter/component.js";
|
|
23
23
|
import { Truncate as jo } from "./components/truncate/component.js";
|
|
24
24
|
import { DropdownMenu as Xo } from "./components/dropdown-menu/component.js";
|
|
25
|
-
import { DropdownMenuItem as
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
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 {
|
|
92
|
-
import {
|
|
93
|
-
import {
|
|
94
|
-
import {
|
|
95
|
-
import {
|
|
96
|
-
import {
|
|
97
|
-
import {
|
|
98
|
-
import {
|
|
99
|
-
import {
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
25
|
+
import { DropdownMenuItem as $o } from "./components/dropdown-menu/item.js";
|
|
26
|
+
import { DropdownMenuRadioGroup as ee } from "./components/dropdown-menu/radio-group.js";
|
|
27
|
+
import { DropdownMenuSubmenu as te } from "./components/dropdown-menu/submenu.js";
|
|
28
|
+
import { CommandPalette as pe } from "./components/command-palette/component.js";
|
|
29
|
+
import { KeyboardShortcut as fe } from "./components/keyboard-shortcut/component.js";
|
|
30
|
+
import { Transition as se } from "./components/transition/component.js";
|
|
31
|
+
import { DefaultUpload as xe, Upload as le } from "./components/upload/component.js";
|
|
32
|
+
import { useUploadItemRender as Ce } from "./components/upload/hooks.js";
|
|
33
|
+
import { clsx as Te, cn as de, cx as Se } from "./components/utils/cn.js";
|
|
34
|
+
import { reactNodeToString as Ee } from "./components/utils/reactToString.js";
|
|
35
|
+
import { isTracebackError as he } from "./components/utils/isTracebackError.js";
|
|
36
|
+
import { isValidHexColor as Pe } from "./components/utils/colors.js";
|
|
37
|
+
import { WithRenderProp as Le } from "./components/utils/WithRenderProp.js";
|
|
38
|
+
import { getReactElementProp as ke, getReactElementRef as Be } from "./components/utils/reactElement.js";
|
|
39
|
+
import { default as Ie } from "merge-refs";
|
|
40
|
+
import { useAntdCssVarClassname as Oe, useCls as ye, useGetPrefixCls as Me } from "./components/utils/antdUtils.js";
|
|
41
|
+
import { changeThemeWithoutTransition as we } from "./components/utils/theme.js";
|
|
42
|
+
import { moveTypingCursorToEnd as Ke } from "./components/utils/selectionRange.js";
|
|
43
|
+
import { DROPDOWN_COLLISION_AVOIDANCE as We, POPUP_COLLISION_AVOIDANCE as He } from "./components/utils/constants.js";
|
|
44
|
+
import { buildAntdPlacement as Ve, normalizeBaseUISide as ze, parseAntdPlacement as qe } from "./components/utils/placement.js";
|
|
45
|
+
import { createRenderProp as Ye } from "./components/utils/renderProp.js";
|
|
46
|
+
import { ScrollArea as Je } from "./components/scroll-area/component.js";
|
|
47
|
+
import { Popover as Ze } from "./components/popover/component.js";
|
|
48
|
+
import { Slider as or } from "./components/slider/component.js";
|
|
49
|
+
import { Tooltip as rr } from "./components/tooltip/component.js";
|
|
50
|
+
import { Breadcrumb as ar } from "./components/breadcrumb/component.js";
|
|
51
|
+
import { BreadcrumbItem as mr } from "./components/breadcrumb/item.js";
|
|
52
|
+
import { useUniqueKeysTree as ir } from "./components/tree/useUniqueKeysTree.js";
|
|
53
|
+
import { getUniqueKeysFromOriginals as nr, processTreeData as xr } from "./components/tree/helpers.js";
|
|
54
|
+
import { Tree as cr } from "./components/tree/components.js";
|
|
55
|
+
import { Spin as ur } from "./components/spin/component.js";
|
|
56
|
+
import { Empty as dr } from "./components/empty/component.js";
|
|
57
|
+
import { Form as gr } from "./components/form/component.js";
|
|
58
|
+
import { BLOCKED_CHARS_RULE as Ar, BLOCKED_CHARS_RULE_KEY as hr, DEFAULT_BLOCKED_CHARS_MESSAGE as Rr, DEFAULT_BLOCKED_CHARS_PATTERN as Pr, createBlockedCharsRule as Dr } from "./components/form/formValidationRule.js";
|
|
59
|
+
import { Field as br } from "./components/field/component.js";
|
|
60
|
+
import { Tour as Br } from "./components/tour/component.js";
|
|
61
|
+
import { Toast as Ir } from "./components/toast/component.js";
|
|
62
|
+
import { toast as Or, toastManager as yr } from "./components/toast/function.js";
|
|
63
|
+
import { VerticalCollapsiblePanel as vr } from "./components/vertical-collapsible-panel/component.js";
|
|
64
|
+
import { PopupPanel as Ur } from "./components/popup-panel/component.js";
|
|
65
|
+
import { CodeBlock as Fr } from "./components/code-block/component.js";
|
|
66
|
+
import { StackChild as Hr } from "./components/stack/StackChild.js";
|
|
67
|
+
import { Stack as Vr } from "./components/stack/index.js";
|
|
68
|
+
import { Collapse as qr } from "./components/collapse/component.js";
|
|
69
|
+
import { Input as Yr } from "./components/input/component.js";
|
|
70
|
+
import { Badge as Jr, InternalBadge as Xr } from "./components/badge/component.js";
|
|
71
|
+
import { Radio as $r } from "./components/radio/component.js";
|
|
72
|
+
import { Button as et } from "./components/button/component.js";
|
|
73
|
+
import { DSRoot as tt } from "./components/ds-root/component.js";
|
|
74
|
+
import { useDS as pt } from "./components/ds-root/hook.js";
|
|
75
|
+
import { DragDrop as ft, DragDropRoot as it } from "./components/drag-drop/index.js";
|
|
76
|
+
import { ColorSelect as nt } from "./components/color-select/component.js";
|
|
77
|
+
import { Nav as lt } from "./components/nav/index.js";
|
|
78
|
+
import { ChoiceList as Ct } from "./components/choice-list/component.js";
|
|
79
|
+
import { StatusIcon as Tt } from "./components/status-icon/component.js";
|
|
80
|
+
import { Resizable as St } from "./components/resizable/component.js";
|
|
81
|
+
import { Combobox as Et } from "./components/combobox/component.js";
|
|
82
|
+
import { SelectTrigger as ht, SelectTriggerArrow as Rt, SelectTriggerClear as Pt, SelectTriggerContent as Dt, SelectTriggerRoot as Lt } from "./components/select-trigger/component.js";
|
|
83
|
+
import { Loader as kt } from "./components/loader/component.js";
|
|
84
|
+
import { WindowPortal as Nt } from "./components/window-portal/component.js";
|
|
85
|
+
import { Alert as _t } from "./components/alert/component.js";
|
|
86
|
+
import { LabelWithHelp as yt } from "./components/label-with-help/component.js";
|
|
87
|
+
import { BaseMenuItem as vt } from "./components/base-menu/item.js";
|
|
88
|
+
import { BaseMenu as Ut } from "./components/base-menu/index.js";
|
|
89
|
+
import { useForm as Ft, useWatch as Wt } from "antd/es/form/Form";
|
|
90
|
+
import { useMessage as Gt, useModal as Vt, useToken as zt } from "./components/hooks/antd.js";
|
|
91
|
+
import { default as Qt } from "antd/es/app/useApp";
|
|
92
|
+
import { useAnimationsFinished as jt, useEnhancedEffect as Jt, useEventCallback as Xt, useLatestRef as Zt } from "./components/hooks/base-ui.js";
|
|
93
|
+
import { useControlledState as oa } from "./components/hooks/useControlledState.js";
|
|
94
|
+
import { useCharts as ra } from "./components/hooks/useCharts.js";
|
|
95
|
+
import { useCSSVariables as aa } from "./components/hooks/useCSSVariables.js";
|
|
96
|
+
import { useHover as ma } from "./components/hooks/useHover.js";
|
|
97
|
+
import { useDraggable as ia } from "./components/hooks/useDraggable.js";
|
|
98
|
+
import { BREAKPOINTS as na, useBreakpoint as xa } from "./components/hooks/useBreakpoint.js";
|
|
99
|
+
import { useWindowSize as ca } from "./components/hooks/useWindowSize.js";
|
|
100
|
+
import { useElementSize as ua, useResizeObserver as Ta } from "./components/hooks/useResizeObserver.js";
|
|
101
|
+
import { antdColorTokens as Sa, darkTheme as ga, lightTheme as Ea } from "./tokens/and-theme/tokens.js";
|
|
102
|
+
import { categoricalChartColorKeys as ha, categoricalChartColorTokens as Ra, categoricalChartsColors as Pa, chartColorTokens as Da, rawChartColorTokens as La } from "./tokens/charts/palettes/cloudscape.js";
|
|
103
|
+
import { COLORBREWER as ka } from "./tokens/charts/palettes/colorbrewer.js";
|
|
104
|
+
import { tab10 as Na, tab20 as Ia, tab20b as _a, tab20c as Oa } from "./tokens/charts/palettes/tableau.js";
|
|
105
|
+
import { CATEGORICAL_PALETTES as Ma, CATEGORICAL_PALETTE_NAMES as va, SEQUENTIAL_PALETTES as wa, SEQUENTIAL_PALETTE_NAMES as Ua, getAllCategoricalChartColors as Ka, getAllSequentialChartColors as Fa, getCategoricalChartColors as Wa, getSequentialChartColors as Ha } from "./tokens/charts/palettes/index.js";
|
|
106
|
+
import { getColorsByTheme as Va, getTokensByTheme as za, resolveColorTokens as qa } from "./tokens/utils.js";
|
|
102
107
|
export {
|
|
103
108
|
f as Affix,
|
|
104
|
-
|
|
109
|
+
_t as Alert,
|
|
105
110
|
i as Anchor,
|
|
106
111
|
s as App,
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
112
|
+
n as AutoComplete,
|
|
113
|
+
x as Avatar,
|
|
114
|
+
Ar as BLOCKED_CHARS_RULE,
|
|
115
|
+
hr as BLOCKED_CHARS_RULE_KEY,
|
|
116
|
+
na as BREAKPOINTS,
|
|
110
117
|
l as BackTop,
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
+
Jr as Badge,
|
|
119
|
+
Ut as BaseMenu,
|
|
120
|
+
vt as BaseMenuItem,
|
|
121
|
+
ar as Breadcrumb,
|
|
122
|
+
mr as BreadcrumbItem,
|
|
123
|
+
et as Button,
|
|
124
|
+
Ma as CATEGORICAL_PALETTES,
|
|
125
|
+
va as CATEGORICAL_PALETTE_NAMES,
|
|
126
|
+
ka as COLORBREWER,
|
|
118
127
|
c as Calendar,
|
|
119
128
|
C as Card,
|
|
120
129
|
u as Carousel,
|
|
121
130
|
T as Cascader,
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
131
|
+
ko as Checkbox,
|
|
132
|
+
Ct as ChoiceList,
|
|
133
|
+
Fr as CodeBlock,
|
|
125
134
|
d as Col,
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
135
|
+
qr as Collapse,
|
|
136
|
+
S as ColorPicker,
|
|
137
|
+
nt as ColorSelect,
|
|
138
|
+
Et as Combobox,
|
|
139
|
+
pe as CommandPalette,
|
|
140
|
+
g as ConfigProvider,
|
|
141
|
+
Rr as DEFAULT_BLOCKED_CHARS_MESSAGE,
|
|
142
|
+
Pr as DEFAULT_BLOCKED_CHARS_PATTERN,
|
|
143
|
+
We as DROPDOWN_COLLISION_AVOIDANCE,
|
|
144
|
+
tt as DSRoot,
|
|
134
145
|
ro as DataTable,
|
|
135
|
-
|
|
136
|
-
|
|
146
|
+
E as DatePicker,
|
|
147
|
+
xe as DefaultUpload,
|
|
137
148
|
A as Descriptions,
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
149
|
+
ho as Dialog,
|
|
150
|
+
h as Divider,
|
|
151
|
+
ft as DragDrop,
|
|
152
|
+
it as DragDropRoot,
|
|
153
|
+
R as Drawer,
|
|
154
|
+
P as Dropdown,
|
|
144
155
|
Xo as DropdownMenu,
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
156
|
+
$o as DropdownMenuItem,
|
|
157
|
+
ee as DropdownMenuRadioGroup,
|
|
158
|
+
te as DropdownMenuSubmenu,
|
|
159
|
+
dr as Empty,
|
|
160
|
+
br as Field,
|
|
161
|
+
D as Flex,
|
|
162
|
+
L as FloatButton,
|
|
163
|
+
gr as Form,
|
|
164
|
+
b as Grid,
|
|
165
|
+
Po as IconButton,
|
|
166
|
+
Yr as Input,
|
|
167
|
+
k as InputNumber,
|
|
168
|
+
Xr as InternalBadge,
|
|
169
|
+
fe as KeyboardShortcut,
|
|
170
|
+
yt as LabelWithHelp,
|
|
171
|
+
B as Layout,
|
|
172
|
+
N as List,
|
|
173
|
+
kt as Loader,
|
|
174
|
+
I as Mentions,
|
|
175
|
+
_ as Menu,
|
|
163
176
|
mo as Modal,
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
177
|
+
lt as Nav,
|
|
178
|
+
no as NotificationProvider,
|
|
179
|
+
He as POPUP_COLLISION_AVOIDANCE,
|
|
167
180
|
O as Pagination,
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
181
|
+
y as Popconfirm,
|
|
182
|
+
Ze as Popover,
|
|
183
|
+
Ur as PopupPanel,
|
|
184
|
+
M as Progress,
|
|
185
|
+
v as QRCode,
|
|
186
|
+
$r as Radio,
|
|
187
|
+
w as Rate,
|
|
188
|
+
St as Resizable,
|
|
176
189
|
U as Result,
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
190
|
+
K as Row,
|
|
191
|
+
wa as SEQUENTIAL_PALETTES,
|
|
192
|
+
Ua as SEQUENTIAL_PALETTE_NAMES,
|
|
193
|
+
Je as ScrollArea,
|
|
194
|
+
No as Segmented,
|
|
182
195
|
ao as Select,
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
196
|
+
ht as SelectTrigger,
|
|
197
|
+
Rt as SelectTriggerArrow,
|
|
198
|
+
Pt as SelectTriggerClear,
|
|
199
|
+
Dt as SelectTriggerContent,
|
|
200
|
+
Lt as SelectTriggerRoot,
|
|
188
201
|
F as Skeleton,
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
202
|
+
or as Slider,
|
|
203
|
+
W as Space,
|
|
204
|
+
ur as Spin,
|
|
205
|
+
qo as Split,
|
|
206
|
+
Qo as Splitter,
|
|
207
|
+
Vr as Stack,
|
|
208
|
+
Hr as StackChild,
|
|
209
|
+
H as Statistic,
|
|
210
|
+
Tt as StatusIcon,
|
|
211
|
+
G as Steps,
|
|
212
|
+
Lo as Switch,
|
|
213
|
+
_o as Table,
|
|
214
|
+
V as Tabs,
|
|
215
|
+
yo as Tag,
|
|
216
|
+
vo as TagList,
|
|
204
217
|
Fo as ThemeContext,
|
|
205
|
-
|
|
218
|
+
Vo as ThemeContextProvider,
|
|
206
219
|
Uo as ThemeProvider,
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
220
|
+
z as TimePicker,
|
|
221
|
+
q as Timeline,
|
|
222
|
+
Ir as Toast,
|
|
223
|
+
rr as Tooltip,
|
|
224
|
+
Br as Tour,
|
|
212
225
|
Q as Transfer,
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
226
|
+
se as Transition,
|
|
227
|
+
cr as Tree,
|
|
228
|
+
Y as TreeSelect,
|
|
216
229
|
jo as Truncate,
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
230
|
+
j as Typography,
|
|
231
|
+
le as Upload,
|
|
232
|
+
vr as VerticalCollapsiblePanel,
|
|
233
|
+
J as Watermark,
|
|
234
|
+
Nt as WindowPortal,
|
|
235
|
+
Le as WithRenderProp,
|
|
236
|
+
Sa as antdColorTokens,
|
|
237
|
+
Ve as buildAntdPlacement,
|
|
238
|
+
ha as categoricalChartColorKeys,
|
|
239
|
+
Ra as categoricalChartColorTokens,
|
|
240
|
+
Pa as categoricalChartsColors,
|
|
241
|
+
we as changeThemeWithoutTransition,
|
|
242
|
+
Da as chartColorTokens,
|
|
243
|
+
Te as clsx,
|
|
244
|
+
de as cn,
|
|
232
245
|
r as componentMetadata,
|
|
233
|
-
|
|
246
|
+
Dr as createBlockedCharsRule,
|
|
247
|
+
Ye as createRenderProp,
|
|
234
248
|
p as createSyntheticClickEvent,
|
|
235
|
-
|
|
236
|
-
|
|
249
|
+
Se as cx,
|
|
250
|
+
ga as darkTheme,
|
|
237
251
|
lo as destroyNotification,
|
|
238
252
|
co as errorNotification,
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
253
|
+
Ka as getAllCategoricalChartColors,
|
|
254
|
+
Fa as getAllSequentialChartColors,
|
|
255
|
+
Wa as getCategoricalChartColors,
|
|
256
|
+
Va as getColorsByTheme,
|
|
243
257
|
t as getComponentsByCategory,
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
258
|
+
ke as getReactElementProp,
|
|
259
|
+
Be as getReactElementRef,
|
|
260
|
+
Ha as getSequentialChartColors,
|
|
261
|
+
za as getTokensByTheme,
|
|
262
|
+
nr as getUniqueKeysFromOriginals,
|
|
249
263
|
Co as infoNotification,
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
264
|
+
he as isTracebackError,
|
|
265
|
+
Pe as isValidHexColor,
|
|
266
|
+
Ea as lightTheme,
|
|
267
|
+
Ie as mergeRefs,
|
|
268
|
+
X as message,
|
|
269
|
+
Ke as moveTypingCursorToEnd,
|
|
270
|
+
ze as normalizeBaseUISide,
|
|
257
271
|
io as notification,
|
|
258
272
|
uo as openNotification,
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
273
|
+
qe as parseAntdPlacement,
|
|
274
|
+
xr as processTreeData,
|
|
275
|
+
La as rawChartColorTokens,
|
|
276
|
+
Ee as reactNodeToString,
|
|
277
|
+
qa as resolveColorTokens,
|
|
264
278
|
To as successNotification,
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
279
|
+
Na as tab10,
|
|
280
|
+
Ia as tab20,
|
|
281
|
+
_a as tab20b,
|
|
282
|
+
Oa as tab20c,
|
|
269
283
|
Z as theme,
|
|
270
|
-
|
|
271
|
-
|
|
284
|
+
Or as toast,
|
|
285
|
+
yr as toastManager,
|
|
272
286
|
$ as unstableSetRender,
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
287
|
+
jt as useAnimationsFinished,
|
|
288
|
+
Oe as useAntdCssVarClassname,
|
|
289
|
+
Qt as useApp,
|
|
290
|
+
xa as useBreakpoint,
|
|
291
|
+
aa as useCSSVariables,
|
|
292
|
+
ra as useCharts,
|
|
293
|
+
ye as useCls,
|
|
294
|
+
oa as useControlledState,
|
|
295
|
+
pt as useDS,
|
|
296
|
+
ia as useDraggable,
|
|
297
|
+
ua as useElementSize,
|
|
298
|
+
Jt as useEnhancedEffect,
|
|
299
|
+
Xt as useEventCallback,
|
|
300
|
+
Ft as useForm,
|
|
301
|
+
Me as useGetPrefixCls,
|
|
302
|
+
ma as useHover,
|
|
303
|
+
Zt as useLatestRef,
|
|
304
|
+
Gt as useMessage,
|
|
305
|
+
Vt as useModal,
|
|
306
|
+
Eo as useNotification,
|
|
307
|
+
Ta as useResizeObserver,
|
|
308
|
+
Wo as useTheme,
|
|
309
|
+
Ho as useThemeContext,
|
|
310
|
+
zt as useToken,
|
|
311
|
+
ir as useUniqueKeysTree,
|
|
312
|
+
Ce as useUploadItemRender,
|
|
313
|
+
Wt as useWatch,
|
|
314
|
+
ca as useWindowSize,
|
|
300
315
|
oo as version,
|
|
301
|
-
|
|
316
|
+
So as warningNotification
|
|
302
317
|
};
|
|
303
318
|
//# 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.d.ts
CHANGED
|
@@ -99,6 +99,15 @@ export declare const componentMetadata: {
|
|
|
99
99
|
originalDocUrl: string;
|
|
100
100
|
description: string;
|
|
101
101
|
};
|
|
102
|
+
BaseMenu: {
|
|
103
|
+
name: string;
|
|
104
|
+
link: string;
|
|
105
|
+
base: "custom";
|
|
106
|
+
refinements: string[];
|
|
107
|
+
category: "Navigation";
|
|
108
|
+
packages: string[];
|
|
109
|
+
description: string;
|
|
110
|
+
};
|
|
102
111
|
DropdownMenu: {
|
|
103
112
|
name: string;
|
|
104
113
|
link: string;
|