@overdoser/react-toolkit 0.8.3 → 0.10.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.
- package/AGENTS.md +6 -0
- package/CHANGELOG.md +88 -0
- package/README.md +2 -0
- package/components/Timeline/GanttTimeline.d.ts +144 -0
- package/components/Timeline/GanttTimeline.js +312 -0
- package/components/Timeline/GanttTimeline.module.scss.js +55 -0
- package/components/Timeline/HistoryTimeline.d.ts +184 -0
- package/components/Timeline/HistoryTimeline.js +445 -0
- package/components/Timeline/HistoryTimeline.module.scss.js +59 -0
- package/components/Timeline/Timeline.module.scss.js +111 -0
- package/components/Timeline/TimelineShared.d.ts +79 -0
- package/components/Timeline/TimelineShared.js +173 -0
- package/components/Timeline/TraceTimeline.d.ts +180 -0
- package/components/Timeline/TraceTimeline.js +536 -0
- package/components/Timeline/TraceTimeline.module.scss.js +111 -0
- package/components/Timeline/demoData.d.ts +42 -0
- package/components/Timeline/historyLayout.d.ts +82 -0
- package/components/Timeline/historyLayout.js +264 -0
- package/components/Timeline/index.d.ts +7 -0
- package/components/Timeline/timelineCore.d.ts +100 -0
- package/components/Timeline/timelineCore.js +193 -0
- package/components/Timeline/traceLayout.d.ts +72 -0
- package/components/Timeline/traceLayout.js +92 -0
- package/components/Timeline/useTimeline.d.ts +39 -0
- package/components/Timeline/useTimeline.js +81 -0
- package/index.css +1 -1
- package/index.d.ts +2 -0
- package/index.js +93 -87
- package/index.layered.css +1 -1
- package/llms.txt +115 -1
- package/manifest.json +323 -0
- package/package.json +2 -1
- package/recipes/live-timeline-feed.tsx +147 -0
package/index.js
CHANGED
|
@@ -1,121 +1,127 @@
|
|
|
1
1
|
/* empty css */
|
|
2
2
|
import { useClickOutside as t } from "./hooks/useClickOutside.js";
|
|
3
|
-
import { useFocusTrap as
|
|
3
|
+
import { useFocusTrap as p } from "./hooks/useFocusTrap.js";
|
|
4
4
|
import { useKeyboard as f } from "./hooks/useKeyboard.js";
|
|
5
5
|
import { ActionButton as i } from "./components/ActionButton/ActionButton.js";
|
|
6
6
|
import { Alert as s } from "./components/Alert/Alert.js";
|
|
7
|
-
import { AreaChart as
|
|
8
|
-
import { Avatar as
|
|
9
|
-
import { Badge as
|
|
7
|
+
import { AreaChart as l } from "./components/Chart/AreaChart.js";
|
|
8
|
+
import { Avatar as T } from "./components/Avatar/Avatar.js";
|
|
9
|
+
import { Badge as c } from "./components/Badge/Badge.js";
|
|
10
10
|
import { BarChart as C } from "./components/Chart/BarChart.js";
|
|
11
11
|
import { BreadcrumbItem as B, Breadcrumbs as S } from "./components/Breadcrumbs/Breadcrumbs.js";
|
|
12
12
|
import { Button as D } from "./components/Button/Button.js";
|
|
13
13
|
import { Checkbox as P } from "./components/inputs/Checkbox/Checkbox.js";
|
|
14
14
|
import { CheckboxGroup as v } from "./components/inputs/Checkbox/CheckboxGroup.js";
|
|
15
|
-
import { CopyButton as
|
|
15
|
+
import { CopyButton as y } from "./components/ActionButton/CopyButton.js";
|
|
16
16
|
import { DatePicker as A } from "./components/inputs/DatePicker/DatePicker.js";
|
|
17
17
|
import { Divider as G } from "./components/Divider/Divider.js";
|
|
18
|
-
import { Draggable as
|
|
19
|
-
import { Drawer as
|
|
20
|
-
import { Dropdown as
|
|
21
|
-
import { DropdownItem as
|
|
18
|
+
import { Draggable as H } from "./components/Draggable/Draggable.js";
|
|
19
|
+
import { Drawer as M } from "./components/Drawer/Drawer.js";
|
|
20
|
+
import { Dropdown as O } from "./components/Dropdown/Dropdown.js";
|
|
21
|
+
import { DropdownItem as q } from "./components/Dropdown/DropdownItem.js";
|
|
22
22
|
import { Dropzone as J } from "./components/Dropzone/Dropzone.js";
|
|
23
23
|
import { Form as U } from "./components/Form/Form.js";
|
|
24
24
|
import { FormField as W } from "./components/Form/FormField.js";
|
|
25
25
|
import { FormRow as Y } from "./components/Form/FormRow.js";
|
|
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 {
|
|
26
|
+
import { GanttTimeline as _ } from "./components/Timeline/GanttTimeline.js";
|
|
27
|
+
import { HistoryTimeline as oo } from "./components/Timeline/HistoryTimeline.js";
|
|
28
|
+
import { Input as eo } from "./components/inputs/Input/Input.js";
|
|
29
|
+
import { LineChart as mo } from "./components/Chart/LineChart.js";
|
|
30
|
+
import { Link as xo } from "./components/Link/Link.js";
|
|
31
|
+
import { List as ao, ListItem as io } from "./components/List/List.js";
|
|
32
|
+
import { Modal as so } from "./components/Modal/Modal.js";
|
|
33
|
+
import { NumberInput as lo } from "./components/inputs/NumberInput/NumberInput.js";
|
|
34
|
+
import { Pagination as go } from "./components/Pagination/Pagination.js";
|
|
35
|
+
import { PieChart as bo } from "./components/Chart/PieChart.js";
|
|
36
|
+
import { Popover as ho } from "./components/Popover/Popover.js";
|
|
37
|
+
import { RadarChart as So } from "./components/Chart/RadarChart.js";
|
|
38
|
+
import { Radio as Do, RadioGroup as Fo } from "./components/inputs/Radio/Radio.js";
|
|
39
|
+
import { Select as Ro } from "./components/inputs/Select/Select.js";
|
|
40
|
+
import { Skeleton as Io } from "./components/Skeleton/Skeleton.js";
|
|
41
|
+
import { Slider as wo } from "./components/inputs/Slider/Slider.js";
|
|
42
|
+
import { Sparkline as Lo } from "./components/Chart/Sparkline.js";
|
|
43
|
+
import { Spinner as zo } from "./components/Spinner/Spinner.js";
|
|
44
|
+
import { Table as Ko } from "./components/Table/Table.js";
|
|
45
|
+
import { Tabs as No } from "./components/Tabs/Tabs.js";
|
|
46
|
+
import { Textarea as jo } from "./components/inputs/Textarea/Textarea.js";
|
|
47
|
+
import { Timer as Eo } from "./components/Timer/Timer.js";
|
|
48
|
+
import { ToastProvider as Qo, toast as Uo, useToast as Vo } from "./components/Toast/Toast.js";
|
|
49
|
+
import { ToggleIconButton as Xo } from "./components/ToggleIconButton/ToggleIconButton.js";
|
|
50
|
+
import { Tooltip as Zo } from "./components/Tooltip/Tooltip.js";
|
|
51
|
+
import { TraceTimeline as $o } from "./components/Timeline/TraceTimeline.js";
|
|
52
|
+
import { TradingChart as rr, formatCrosshairTime as er } from "./components/Chart/TradingChart.js";
|
|
53
|
+
import { Typography as mr } from "./components/Typography/Typography.js";
|
|
54
|
+
import { bollinger as xr, ema as fr, rsi as ar, sma as ir, volume as nr } from "./components/Chart/trading/indicators.js";
|
|
55
|
+
import { paginationRange as ur } from "./components/Pagination/paginationRange.js";
|
|
56
|
+
import { periodToSeconds as dr, suggestPeriodForResolution as Tr, suggestResolutionForPeriod as gr } from "./components/Chart/trading/period.js";
|
|
57
|
+
import { useTableSort as br } from "./components/Table/useTableSort.js";
|
|
55
58
|
export {
|
|
56
59
|
i as ActionButton,
|
|
57
60
|
s as Alert,
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
+
l as AreaChart,
|
|
62
|
+
T as Avatar,
|
|
63
|
+
c as Badge,
|
|
61
64
|
C as BarChart,
|
|
62
65
|
B as BreadcrumbItem,
|
|
63
66
|
S as Breadcrumbs,
|
|
64
67
|
D as Button,
|
|
65
68
|
P as Checkbox,
|
|
66
69
|
v as CheckboxGroup,
|
|
67
|
-
|
|
70
|
+
y as CopyButton,
|
|
68
71
|
A as DatePicker,
|
|
69
72
|
G as Divider,
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
73
|
+
H as Draggable,
|
|
74
|
+
M as Drawer,
|
|
75
|
+
O as Dropdown,
|
|
76
|
+
q as DropdownItem,
|
|
74
77
|
J as Dropzone,
|
|
75
78
|
U as Form,
|
|
76
79
|
W as FormField,
|
|
77
80
|
Y as FormRow,
|
|
78
|
-
_ as
|
|
79
|
-
oo as
|
|
80
|
-
eo as
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
io as
|
|
85
|
-
so as
|
|
86
|
-
lo as
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
ho as
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
Fo as
|
|
93
|
-
Ro as
|
|
94
|
-
Io as
|
|
95
|
-
|
|
96
|
-
Lo as
|
|
97
|
-
zo as
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
Xo as
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
rr as
|
|
107
|
-
|
|
108
|
-
xr as
|
|
109
|
-
|
|
110
|
-
er as
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
81
|
+
_ as GanttTimeline,
|
|
82
|
+
oo as HistoryTimeline,
|
|
83
|
+
eo as Input,
|
|
84
|
+
mo as LineChart,
|
|
85
|
+
xo as Link,
|
|
86
|
+
ao as List,
|
|
87
|
+
io as ListItem,
|
|
88
|
+
so as Modal,
|
|
89
|
+
lo as NumberInput,
|
|
90
|
+
go as Pagination,
|
|
91
|
+
bo as PieChart,
|
|
92
|
+
ho as Popover,
|
|
93
|
+
So as RadarChart,
|
|
94
|
+
Do as Radio,
|
|
95
|
+
Fo as RadioGroup,
|
|
96
|
+
Ro as Select,
|
|
97
|
+
Io as Skeleton,
|
|
98
|
+
wo as Slider,
|
|
99
|
+
Lo as Sparkline,
|
|
100
|
+
zo as Spinner,
|
|
101
|
+
Ko as Table,
|
|
102
|
+
No as Tabs,
|
|
103
|
+
jo as Textarea,
|
|
104
|
+
Eo as Timer,
|
|
105
|
+
Qo as ToastProvider,
|
|
106
|
+
Xo as ToggleIconButton,
|
|
107
|
+
Zo as Tooltip,
|
|
108
|
+
$o as TraceTimeline,
|
|
109
|
+
rr as TradingChart,
|
|
110
|
+
mr as Typography,
|
|
111
|
+
xr as bollinger,
|
|
112
|
+
fr as ema,
|
|
113
|
+
er as formatCrosshairTime,
|
|
114
|
+
ur as paginationRange,
|
|
115
|
+
dr as periodToSeconds,
|
|
116
|
+
ar as rsi,
|
|
117
|
+
ir as sma,
|
|
118
|
+
Tr as suggestPeriodForResolution,
|
|
119
|
+
gr as suggestResolutionForPeriod,
|
|
120
|
+
Uo as toast,
|
|
115
121
|
t as useClickOutside,
|
|
116
|
-
|
|
122
|
+
p as useFocusTrap,
|
|
117
123
|
f as useKeyboard,
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
124
|
+
br as useTableSort,
|
|
125
|
+
Vo as useToast,
|
|
126
|
+
nr as volumeSeries
|
|
121
127
|
};
|