@bioturing/components 0.43.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 (89) hide show
  1. package/dist/components/button/style.css +1 -1
  2. package/dist/components/dialog/Dialog.d.ts +53 -0
  3. package/dist/components/dialog/Dialog.d.ts.map +1 -0
  4. package/dist/components/dialog/Dialog.js +231 -0
  5. package/dist/components/dialog/Dialog.js.map +1 -0
  6. package/dist/components/dialog/constants.d.ts +20 -0
  7. package/dist/components/dialog/constants.d.ts.map +1 -0
  8. package/dist/components/dialog/constants.js +20 -0
  9. package/dist/components/dialog/constants.js.map +1 -0
  10. package/dist/components/dialog/dialog.css +1 -0
  11. package/dist/components/dialog/index.d.ts +4 -0
  12. package/dist/components/dialog/index.d.ts.map +1 -0
  13. package/dist/components/dialog/index.js +8 -0
  14. package/dist/components/dialog/index.js.map +1 -0
  15. package/dist/components/ds-root/component.d.ts.map +1 -1
  16. package/dist/components/ds-root/component.js +16 -14
  17. package/dist/components/ds-root/component.js.map +1 -1
  18. package/dist/components/icon-button/style.css +1 -1
  19. package/dist/components/index.d.ts +3 -1
  20. package/dist/components/index.d.ts.map +1 -1
  21. package/dist/components/notification/NotificationProvider.d.ts +6 -0
  22. package/dist/components/notification/NotificationProvider.d.ts.map +1 -0
  23. package/dist/components/notification/NotificationProvider.js +67 -0
  24. package/dist/components/notification/NotificationProvider.js.map +1 -0
  25. package/dist/components/notification/NotificationService.d.ts +35 -0
  26. package/dist/components/notification/NotificationService.d.ts.map +1 -0
  27. package/dist/components/notification/NotificationService.js +26 -0
  28. package/dist/components/notification/NotificationService.js.map +1 -0
  29. package/dist/components/notification/functions.d.ts +11 -0
  30. package/dist/components/notification/functions.d.ts.map +1 -0
  31. package/dist/components/notification/functions.js +38 -0
  32. package/dist/components/notification/functions.js.map +1 -0
  33. package/dist/components/notification/index.d.ts +11 -0
  34. package/dist/components/notification/index.d.ts.map +1 -0
  35. package/dist/components/notification/index.js +27 -0
  36. package/dist/components/notification/index.js.map +1 -0
  37. package/dist/components/notification/style.css +1 -0
  38. package/dist/components/notification/themedNotificationConfig.d.ts +5 -0
  39. package/dist/components/notification/themedNotificationConfig.d.ts.map +1 -0
  40. package/dist/components/notification/themedNotificationConfig.js +34 -0
  41. package/dist/components/notification/themedNotificationConfig.js.map +1 -0
  42. package/dist/components/notification/useNotification.d.ts +3 -0
  43. package/dist/components/notification/useNotification.d.ts.map +1 -0
  44. package/dist/components/notification/useNotification.js +25 -0
  45. package/dist/components/notification/useNotification.js.map +1 -0
  46. package/dist/components/popup-panel/component.d.ts.map +1 -1
  47. package/dist/components/popup-panel/component.js +184 -182
  48. package/dist/components/popup-panel/component.js.map +1 -1
  49. package/dist/components/select-trigger/style.css +1 -1
  50. package/dist/components/spin/Indicator/Looper.d.ts +6 -0
  51. package/dist/components/spin/Indicator/Looper.d.ts.map +1 -0
  52. package/dist/components/spin/Indicator/Looper.js +15 -0
  53. package/dist/components/spin/Indicator/Looper.js.map +1 -0
  54. package/dist/components/spin/Indicator/Progress.d.ts +6 -0
  55. package/dist/components/spin/Indicator/Progress.d.ts.map +1 -0
  56. package/dist/components/spin/Indicator/Progress.js +59 -0
  57. package/dist/components/spin/Indicator/Progress.js.map +1 -0
  58. package/dist/components/spin/Indicator/index.d.ts +8 -0
  59. package/dist/components/spin/Indicator/index.d.ts.map +1 -0
  60. package/dist/components/spin/Indicator/index.js +20 -0
  61. package/dist/components/spin/Indicator/index.js.map +1 -0
  62. package/dist/components/spin/component.d.ts +28 -4
  63. package/dist/components/spin/component.d.ts.map +1 -1
  64. package/dist/components/spin/component.js +162 -14
  65. package/dist/components/spin/component.js.map +1 -1
  66. package/dist/components/spin/style.css +1 -1
  67. package/dist/components/spin/usePercent.d.ts +2 -0
  68. package/dist/components/spin/usePercent.d.ts.map +1 -0
  69. package/dist/components/spin/usePercent.js +27 -0
  70. package/dist/components/spin/usePercent.js.map +1 -0
  71. package/dist/components/theme-provider/style.css +1 -1
  72. package/dist/components/tour/style.css +1 -1
  73. package/dist/components/utils/cn.d.ts.map +1 -1
  74. package/dist/components/utils/cn.js +112 -20
  75. package/dist/components/utils/cn.js.map +1 -1
  76. package/dist/components/utils/theme.d.ts.map +1 -1
  77. package/dist/components/utils/theme.js +3 -1
  78. package/dist/components/utils/theme.js.map +1 -1
  79. package/dist/index.js +267 -253
  80. package/dist/index.js.map +1 -1
  81. package/dist/metadata.d.ts +29 -1
  82. package/dist/metadata.d.ts.map +1 -1
  83. package/dist/metadata.js +50 -1
  84. package/dist/metadata.js.map +1 -1
  85. package/dist/stats.html +1 -1
  86. package/dist/tokens/and-theme/tokens.d.ts.map +1 -1
  87. package/dist/tokens/and-theme/tokens.js +61 -56
  88. package/dist/tokens/and-theme/tokens.js.map +1 -1
  89. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"theme.js","sources":["../../../src/components/utils/theme.ts"],"sourcesContent":["\"use client\";\n\nimport { flushSync } from \"react-dom\";\n\n/**\n * Changes the theme without transition\n * @param fn Callback function to change the theme\n */\nexport const changeThemeWithoutTransition = (fn: () => void) => {\n // https://paco.me/writing/disable-theme-transitions\n const css = document.createElement(\"style\");\n css.appendChild(\n document.createTextNode(\n `* {\n -webkit-transition: none !important;\n -moz-transition: none !important;\n -o-transition: none !important;\n -ms-transition: none !important;\n transition: none !important;\n }`\n )\n );\n document.head.appendChild(css);\n flushSync(() => {\n fn();\n });\n // force reflow\n const _ = window.getComputedStyle(css).opacity;\n document.head.removeChild(css);\n};\n"],"names":["changeThemeWithoutTransition","fn","css","flushSync"],"mappings":";;AAQO,MAAMA,IAA+B,CAACC,MAAmB;AAE9D,QAAMC,IAAM,SAAS,cAAc,OAAO;AAC1C,EAAAA,EAAI;AAAA,IACF,SAAS;AAAA,MACP;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAAA;AAAA,EAOF,GAEF,SAAS,KAAK,YAAYA,CAAG,GAC7BC,EAAU,MAAM;AACd,IAAAF,EAAA;AAAA,EACF,CAAC,GAES,OAAO,iBAAiBC,CAAG,EAAE,SACvC,SAAS,KAAK,YAAYA,CAAG;AAC/B;"}
1
+ {"version":3,"file":"theme.js","sources":["../../../src/components/utils/theme.ts"],"sourcesContent":["\"use client\";\n\nimport { flushSync } from \"react-dom\";\n\n/**\n * Changes the theme without transition\n * @param fn Callback function to change the theme\n */\nexport const changeThemeWithoutTransition = (fn: () => void) => {\n // https://paco.me/writing/disable-theme-transitions\n const css = document.createElement(\"style\");\n css.appendChild(\n document.createTextNode(\n `*,\n *::before,\n *::after {\n -webkit-transition: none !important;\n -moz-transition: none !important;\n -o-transition: none !important;\n -ms-transition: none !important;\n transition: none !important;\n }`,\n ),\n );\n document.head.appendChild(css);\n flushSync(() => {\n fn();\n });\n // force reflow\n const _ = window.getComputedStyle(css).opacity;\n document.head.removeChild(css);\n};\n"],"names":["changeThemeWithoutTransition","fn","css","flushSync"],"mappings":";;AAQO,MAAMA,IAA+B,CAACC,MAAmB;AAE9D,QAAMC,IAAM,SAAS,cAAc,OAAO;AAC1C,EAAAA,EAAI;AAAA,IACF,SAAS;AAAA,MACP;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAAA;AAAA,EASF,GAEF,SAAS,KAAK,YAAYA,CAAG,GAC7BC,EAAU,MAAM;AACd,IAAAF,EAAA;AAAA,EACF,CAAC,GAES,OAAO,iBAAiBC,CAAG,EAAE,SACvC,SAAS,KAAK,YAAYA,CAAG;AAC/B;"}
package/dist/index.js CHANGED
@@ -1,289 +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 { IconButton as le } from "./components/icon-button/component.js";
8
- import { Switch as ne } from "./components/switch/component.js";
9
- import { Checkbox as Ce } from "./components/checkbox/component.js";
10
- import { Segmented as ue } from "./components/segmented/component.js";
11
- import { Table as de } from "./components/table/component.js";
12
- import { Tag as Se } from "./components/tag/component.js";
13
- import { TagList as Ae } from "./components/tag/list.js";
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
- import { ThemeContextProvider as Ie } from "./components/theme-provider/context/provider.js";
17
- import { Split as Be, Splitter as Oe } from "./components/splitter/component.js";
18
- import { Truncate as ye } from "./components/truncate/component.js";
19
- import { DropdownMenu as Me } from "./components/dropdown-menu/component.js";
20
- import { DropdownMenuItem as _e } from "./components/dropdown-menu/item.js";
21
- import { CommandPalette as We } from "./components/command-palette/component.js";
22
- import { KeyboardShortcut as Ve } from "./components/keyboard-shortcut/component.js";
23
- import { Transition as Ke } from "./components/transition/component.js";
24
- import { DefaultUpload as Ge, Upload as He } from "./components/upload/component.js";
25
- import { useUploadItemRender as je } from "./components/upload/hooks.js";
26
- import { clsx as Xe, cn as Ye, cx as Ze } from "./components/utils/cn.js";
27
- import { reactNodeToString as eo } from "./components/utils/reactToString.js";
28
- import { isTracebackError as ro } from "./components/utils/isTracebackError.js";
29
- import { isValidHexColor as ao } from "./components/utils/colors.js";
30
- import { WithRenderProp as po } from "./components/utils/WithRenderProp.js";
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";
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";
97
102
  export {
98
103
  f as Affix,
99
- ft as Alert,
100
- x as Anchor,
101
- l as App,
102
- s as AutoComplete,
104
+ At as Alert,
105
+ i as Anchor,
106
+ s as App,
107
+ x as AutoComplete,
103
108
  n as Avatar,
104
- Mt as BREAKPOINTS,
105
- i as BackTop,
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
- C as Calendar,
114
- 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,
115
120
  u as Carousel,
116
121
  T as Cascader,
117
- Ce as Checkbox,
118
- Kr as ChoiceList,
119
- ur as CodeBlock,
122
+ No as Checkbox,
123
+ tt as ChoiceList,
124
+ Ir as CodeBlock,
120
125
  d as Col,
121
- Ar as Collapse,
126
+ wr as Collapse,
122
127
  g as ColorPicker,
123
- Wr as ColorSelect,
124
- Jr as Combobox,
125
- We as CommandPalette,
128
+ $r as ColorSelect,
129
+ st as Combobox,
130
+ oe as CommandPalette,
126
131
  S as ConfigProvider,
127
- Eo as DROPDOWN_COLLISION_AVOIDANCE,
128
- vr as DSRoot,
129
- te as DataTable,
132
+ Me as DROPDOWN_COLLISION_AVOIDANCE,
133
+ Hr as DSRoot,
134
+ ro as DataTable,
130
135
  h as DatePicker,
131
- Ge as DefaultUpload,
136
+ me as DefaultUpload,
132
137
  A as Descriptions,
138
+ Eo as Dialog,
133
139
  E as Divider,
134
- wr as DragDrop,
135
- _r as DragDropRoot,
140
+ Xr as DragDrop,
141
+ Yr as DragDropRoot,
136
142
  P as Drawer,
137
143
  R as Dropdown,
138
- Me as DropdownMenu,
139
- _e as DropdownMenuItem,
140
- Zo as Empty,
141
- rr as Field,
144
+ Xo as DropdownMenu,
145
+ Zo as DropdownMenuItem,
146
+ lr as Empty,
147
+ Tr as Field,
142
148
  b as Flex,
143
149
  k as FloatButton,
144
- er as Form,
150
+ Cr as Form,
145
151
  D as Grid,
146
- le as IconButton,
147
- Pr as Input,
148
- I as InputNumber,
149
- kr as InternalBadge,
150
- Ve as KeyboardShortcut,
151
- lt as LabelWithHelp,
152
- L as Layout,
153
- B as List,
154
- tt as Loader,
155
- O as Mentions,
156
- v as Menu,
157
- fe as Modal,
158
- Vr as Nav,
159
- Po as POPUP_COLLISION_AVOIDANCE,
160
- y as Pagination,
161
- N as Popconfirm,
162
- yo as Popover,
163
- Cr as PopupPanel,
164
- M as Progress,
165
- w as QRCode,
166
- Ir 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,
167
174
  _ as Rate,
168
- Qr as Resizable,
175
+ ft as Resizable,
169
176
  U as Result,
170
177
  W as Row,
171
- xa as SEQUENTIAL_PALETTES,
172
- la as SEQUENTIAL_PALETTE_NAMES,
173
- Oo as ScrollArea,
174
- ue as Segmented,
175
- me as Select,
176
- Yr as SelectTrigger,
177
- Zr as SelectTriggerArrow,
178
- $r as SelectTriggerClear,
179
- et as SelectTriggerContent,
180
- ot 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,
181
188
  F as Skeleton,
182
- Mo as Slider,
189
+ Je as Slider,
183
190
  V as Space,
184
- Xo as Spin,
185
- Be as Split,
186
- Oe as Splitter,
187
- Sr as Stack,
188
- dr as StackChild,
191
+ xr as Spin,
192
+ Go as Split,
193
+ Ho as Splitter,
194
+ Or as Stack,
195
+ yr as StackChild,
189
196
  z as Statistic,
190
- Gr as StatusIcon,
197
+ pt as StatusIcon,
191
198
  K as Steps,
192
- ne as Switch,
193
- de as Table,
199
+ ko as Switch,
200
+ Bo as Table,
194
201
  q as Tabs,
195
- Se as Tag,
196
- Ae as TagList,
197
- be as ThemeContext,
198
- Ie as ThemeContextProvider,
199
- Pe as ThemeProvider,
202
+ vo as Tag,
203
+ Mo as TagList,
204
+ Fo as ThemeContext,
205
+ Ko as ThemeContextProvider,
206
+ Uo as ThemeProvider,
200
207
  G as TimePicker,
201
208
  H as Timeline,
202
- pr as Toast,
203
- _o as Tooltip,
204
- ar as Tour,
209
+ hr as Toast,
210
+ Ye as Tooltip,
211
+ gr as Tour,
205
212
  Q as Transfer,
206
- Ke as Transition,
207
- jo as Tree,
213
+ ae as Transition,
214
+ ir as Tree,
208
215
  j as TreeSelect,
209
- ye as Truncate,
216
+ jo as Truncate,
210
217
  J as Typography,
211
- He as Upload,
212
- nr as VerticalCollapsiblePanel,
218
+ fe as Upload,
219
+ br as VerticalCollapsiblePanel,
213
220
  X as Watermark,
214
- mt as WindowPortal,
215
- po as WithRenderProp,
216
- Kt as antdColorTokens,
217
- bo as buildAntdPlacement,
218
- Qt as categoricalChartColorKeys,
219
- jt as categoricalChartColorTokens,
220
- Jt as categoricalChartsColors,
221
- go as changeThemeWithoutTransition,
222
- Xt as chartColorTokens,
223
- Xe as clsx,
224
- Ye 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,
225
232
  r as componentMetadata,
226
- Lo as createRenderProp,
227
- m as createSyntheticClickEvent,
228
- Ze as cx,
229
- qt as darkTheme,
230
- sa as getAllCategoricalChartColors,
231
- na as getAllSequentialChartColors,
232
- ia as getCategoricalChartColors,
233
- ua 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,
234
243
  t as getComponentsByCategory,
235
- xo as getReactElementProp,
236
- lo as getReactElementRef,
237
- Ca as getSequentialChartColors,
238
- Ta as getTokensByTheme,
239
- Go as getUniqueKeysFromOriginals,
240
- ro as isTracebackError,
241
- ao as isValidHexColor,
242
- Gt as lightTheme,
243
- no 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,
244
254
  Y as message,
245
- ho as moveTypingCursorToEnd,
246
- ko as normalizeBaseUISide,
247
- Z as notification,
248
- Do as parseAntdPlacement,
249
- Ho as processTreeData,
250
- Yt as rawChartColorTokens,
251
- eo as reactNodeToString,
252
- da as resolveColorTokens,
253
- oa as tab10,
254
- ra as tab20,
255
- ta as tab20b,
256
- aa as tab20c,
257
- $ as theme,
258
- xr as toast,
259
- lr as toastManager,
260
- ee as unstableSetRender,
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,
281
- ke as useTheme,
282
- Tt as useToken,
283
- Ko as useUniqueKeysTree,
284
- je as useUploadItemRender,
285
- it as useWatch,
286
- Ut as useWindowSize,
287
- 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
288
302
  };
289
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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}