@oprt/react 0.0.0-stage → 0.2.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/LICENSE +21 -0
- package/README.md +105 -2
- package/dist/ActionStatus/ActionStatus.js +104 -0
- package/dist/ActionStatus/ActionStatus.manifest.js +64 -0
- package/dist/ActionStatus/index.js +7 -0
- package/dist/Alert/Alert.js +86 -0
- package/dist/Alert/Alert.manifest.js +36 -0
- package/dist/Alert/index.js +7 -0
- package/dist/AppShell/AppShell.js +103 -0
- package/dist/AppShell/AppShell.manifest.js +66 -0
- package/dist/AppShell/index.js +9 -0
- package/dist/AttachmentPreview/AttachmentPreview.js +145 -0
- package/dist/AttachmentPreview/AttachmentPreview.manifest.js +42 -0
- package/dist/AttachmentPreview/index.js +9 -0
- package/dist/Avatar/Avatar.js +87 -0
- package/dist/Avatar/Avatar.manifest.js +25 -0
- package/dist/Avatar/index.js +7 -0
- package/dist/Badge/Badge.js +124 -0
- package/dist/Badge/Badge.manifest.js +41 -0
- package/dist/Badge/index.js +7 -0
- package/dist/Breadcrumb/Breadcrumb.js +64 -0
- package/dist/Breadcrumb/Breadcrumb.manifest.js +28 -0
- package/dist/Breadcrumb/index.js +7 -0
- package/dist/BulkActionBar/BulkActionBar.js +145 -0
- package/dist/BulkActionBar/BulkActionBar.manifest.js +46 -0
- package/dist/BulkActionBar/index.js +9 -0
- package/dist/BulkActionBar/selection.js +44 -0
- package/dist/BulkResults/BulkResults.js +269 -0
- package/dist/BulkResults/BulkResults.manifest.js +45 -0
- package/dist/BulkResults/index.js +7 -0
- package/dist/Button/Button.js +170 -0
- package/dist/Button/Button.manifest.js +36 -0
- package/dist/Button/index.js +7 -0
- package/dist/ButtonGroup/ButtonGroup.js +60 -0
- package/dist/ButtonGroup/ButtonGroup.manifest.js +22 -0
- package/dist/ButtonGroup/index.js +7 -0
- package/dist/Calendar/Calendar.js +106 -0
- package/dist/Calendar/Calendar.manifest.js +32 -0
- package/dist/Calendar/index.js +7 -0
- package/dist/Card/Card.js +70 -0
- package/dist/Card/Card.manifest.js +57 -0
- package/dist/Card/index.js +16 -0
- package/dist/Chart/Chart.js +1200 -0
- package/dist/Chart/Chart.manifest.js +110 -0
- package/dist/Chart/ChartControls.js +190 -0
- package/dist/Chart/geometry.js +217 -0
- package/dist/Chart/index.js +9 -0
- package/dist/Checkbox/Checkbox.js +166 -0
- package/dist/Checkbox/Checkbox.manifest.js +38 -0
- package/dist/Checkbox/index.js +7 -0
- package/dist/Collapsible/Collapsible.js +177 -0
- package/dist/Collapsible/Collapsible.manifest.js +54 -0
- package/dist/Collapsible/index.js +12 -0
- package/dist/CollectionState/CollectionState.js +68 -0
- package/dist/CollectionState/CollectionState.manifest.js +44 -0
- package/dist/CollectionState/index.js +7 -0
- package/dist/ComboBox/ComboBox.js +221 -0
- package/dist/ComboBox/ComboBox.manifest.js +87 -0
- package/dist/ComboBox/index.js +7 -0
- package/dist/CommandPalette/CommandPalette.js +276 -0
- package/dist/CommandPalette/CommandPalette.manifest.js +24 -0
- package/dist/CommandPalette/index.js +7 -0
- package/dist/ConfirmDialog/ConfirmDialog.js +84 -0
- package/dist/ConfirmDialog/ConfirmDialog.manifest.js +32 -0
- package/dist/ConfirmDialog/index.js +7 -0
- package/dist/ContextMenu/ContextMenu.js +192 -0
- package/dist/ContextMenu/ContextMenu.manifest.js +41 -0
- package/dist/ContextMenu/index.js +7 -0
- package/dist/CoordinateInput/CoordinateInput.js +141 -0
- package/dist/CoordinateInput/CoordinateInput.manifest.js +36 -0
- package/dist/CoordinateInput/index.js +9 -0
- package/dist/CopyButton/CopyButton.js +129 -0
- package/dist/CopyButton/CopyButton.manifest.js +35 -0
- package/dist/CopyButton/index.js +7 -0
- package/dist/DataGrid/DataGrid.js +459 -0
- package/dist/DataGrid/DataGrid.manifest.js +135 -0
- package/dist/DataGrid/PageControls.js +41 -0
- package/dist/DataGrid/index.js +9 -0
- package/dist/DataTable/DataTable.js +375 -0
- package/dist/DataTable/DataTable.manifest.js +86 -0
- package/dist/DataTable/index.js +9 -0
- package/dist/DataTable/sort.js +45 -0
- package/dist/DataTable/useScrollsSideways.js +61 -0
- package/dist/DataTable/useTableWindow.js +185 -0
- package/dist/DatePicker/DatePicker.js +187 -0
- package/dist/DatePicker/DatePicker.manifest.js +40 -0
- package/dist/DatePicker/index.js +7 -0
- package/dist/DateRangePicker/DateRangePicker.js +156 -0
- package/dist/DateRangePicker/DateRangePicker.manifest.js +41 -0
- package/dist/DateRangePicker/index.js +7 -0
- package/dist/DateTimePicker/DateTimePicker.js +213 -0
- package/dist/DateTimePicker/DateTimePicker.manifest.js +44 -0
- package/dist/DateTimePicker/index.js +7 -0
- package/dist/DescriptionList/DescriptionList.js +93 -0
- package/dist/DescriptionList/DescriptionList.manifest.js +40 -0
- package/dist/DescriptionList/index.js +9 -0
- package/dist/Dialog/Dialog.js +214 -0
- package/dist/Dialog/Dialog.manifest.js +31 -0
- package/dist/Dialog/index.js +7 -0
- package/dist/Divider/Divider.js +64 -0
- package/dist/Divider/Divider.manifest.js +21 -0
- package/dist/Divider/index.js +7 -0
- package/dist/DropdownMenu/DropdownMenu.js +170 -0
- package/dist/DropdownMenu/DropdownMenu.manifest.js +82 -0
- package/dist/DropdownMenu/index.js +16 -0
- package/dist/EntityPreview/EntityPreview.js +82 -0
- package/dist/EntityPreview/EntityPreview.manifest.js +43 -0
- package/dist/EntityPreview/index.js +7 -0
- package/dist/EventTimeline/EventTimeline.js +249 -0
- package/dist/EventTimeline/EventTimeline.manifest.js +57 -0
- package/dist/EventTimeline/index.js +7 -0
- package/dist/Field/Field.js +81 -0
- package/dist/Field/Field.manifest.js +32 -0
- package/dist/Field/index.js +9 -0
- package/dist/FileUpload/FileUpload.js +215 -0
- package/dist/FileUpload/FileUpload.manifest.js +48 -0
- package/dist/FileUpload/index.js +7 -0
- package/dist/FilterBar/FilterBar.js +173 -0
- package/dist/FilterBar/FilterBar.manifest.js +49 -0
- package/dist/FilterBar/index.js +7 -0
- package/dist/FormErrorSummary/FormErrorSummary.js +70 -0
- package/dist/FormErrorSummary/FormErrorSummary.manifest.js +29 -0
- package/dist/FormErrorSummary/index.js +9 -0
- package/dist/FormSection/FormSection.js +51 -0
- package/dist/FormSection/FormSection.manifest.js +30 -0
- package/dist/FormSection/index.js +7 -0
- package/dist/InlineEdit/InlineEdit.js +261 -0
- package/dist/InlineEdit/InlineEdit.manifest.js +40 -0
- package/dist/InlineEdit/index.js +7 -0
- package/dist/Input/Input.js +126 -0
- package/dist/Input/Input.manifest.js +49 -0
- package/dist/Input/index.js +7 -0
- package/dist/Inspector/Inspector.js +63 -0
- package/dist/Inspector/Inspector.manifest.js +35 -0
- package/dist/Inspector/index.js +7 -0
- package/dist/JobStatus/JobStatus.js +118 -0
- package/dist/JobStatus/JobStatus.manifest.js +53 -0
- package/dist/JobStatus/index.js +7 -0
- package/dist/LayerControl/LayerControl.js +199 -0
- package/dist/LayerControl/LayerControl.manifest.js +34 -0
- package/dist/LayerControl/index.js +7 -0
- package/dist/Link/Link.js +83 -0
- package/dist/Link/Link.manifest.js +37 -0
- package/dist/Link/index.js +7 -0
- package/dist/MapControls/MapControls.js +122 -0
- package/dist/MapControls/MapControls.manifest.js +31 -0
- package/dist/MapControls/index.js +7 -0
- package/dist/MapLegend/MapLegend.js +89 -0
- package/dist/MapLegend/MapLegend.manifest.js +29 -0
- package/dist/MapLegend/index.js +7 -0
- package/dist/MapScale/MapScale.js +96 -0
- package/dist/MapScale/MapScale.manifest.js +31 -0
- package/dist/MapScale/index.js +7 -0
- package/dist/MediaFrame/MediaFrame.js +113 -0
- package/dist/MediaFrame/MediaFrame.manifest.js +57 -0
- package/dist/MediaFrame/index.js +7 -0
- package/dist/MultiSelect/MultiSelect.js +113 -0
- package/dist/MultiSelect/MultiSelect.manifest.js +51 -0
- package/dist/MultiSelect/index.js +7 -0
- package/dist/NumberInput/NumberInput.js +210 -0
- package/dist/NumberInput/NumberInput.manifest.js +56 -0
- package/dist/NumberInput/index.js +7 -0
- package/dist/OperationalStatus/OperationalStatus.js +89 -0
- package/dist/OperationalStatus/OperationalStatus.manifest.js +39 -0
- package/dist/OperationalStatus/index.js +9 -0
- package/dist/PlaybackControls/PlaybackControls.js +289 -0
- package/dist/PlaybackControls/PlaybackControls.manifest.js +85 -0
- package/dist/PlaybackControls/index.js +7 -0
- package/dist/Popover/Popover.js +302 -0
- package/dist/Popover/Popover.manifest.js +50 -0
- package/dist/Popover/index.js +7 -0
- package/dist/Progress/Progress.js +132 -0
- package/dist/Progress/Progress.manifest.js +30 -0
- package/dist/Progress/index.js +7 -0
- package/dist/PropertyFilter/PropertyFilter.js +306 -0
- package/dist/PropertyFilter/PropertyFilter.manifest.js +32 -0
- package/dist/PropertyFilter/index.js +11 -0
- package/dist/PropertyFilter/tokenError.js +17 -0
- package/dist/RadioGroup/RadioGroup.js +143 -0
- package/dist/RadioGroup/RadioGroup.manifest.js +44 -0
- package/dist/RadioGroup/index.js +9 -0
- package/dist/Select/Select.js +219 -0
- package/dist/Select/Select.manifest.js +77 -0
- package/dist/Select/index.js +9 -0
- package/dist/Sidebar/Sidebar.js +146 -0
- package/dist/Sidebar/Sidebar.manifest.js +72 -0
- package/dist/Sidebar/index.js +18 -0
- package/dist/Skeleton/Skeleton.js +76 -0
- package/dist/Skeleton/Skeleton.manifest.js +30 -0
- package/dist/Skeleton/index.js +7 -0
- package/dist/Slider/Slider.js +246 -0
- package/dist/Slider/Slider.manifest.js +56 -0
- package/dist/Slider/index.js +7 -0
- package/dist/Sparkline/Sparkline.js +135 -0
- package/dist/Sparkline/Sparkline.manifest.js +37 -0
- package/dist/Sparkline/index.js +7 -0
- package/dist/SplitPane/SplitPane.js +316 -0
- package/dist/SplitPane/SplitPane.manifest.js +79 -0
- package/dist/SplitPane/index.js +7 -0
- package/dist/StatCard/StatCard.js +163 -0
- package/dist/StatCard/StatCard.manifest.js +45 -0
- package/dist/StatCard/index.js +7 -0
- package/dist/Tabs/Tabs.js +181 -0
- package/dist/Tabs/Tabs.manifest.js +72 -0
- package/dist/Tabs/index.js +16 -0
- package/dist/Tabs/useTabsIndicator.js +71 -0
- package/dist/Tabs/useTabsScroll.js +123 -0
- package/dist/TagGroup/TagGroup.js +142 -0
- package/dist/TagGroup/TagGroup.manifest.js +35 -0
- package/dist/TagGroup/index.js +7 -0
- package/dist/Textarea/Textarea.js +68 -0
- package/dist/Textarea/Textarea.manifest.js +25 -0
- package/dist/Textarea/index.js +7 -0
- package/dist/TimeField/TimeField.js +118 -0
- package/dist/TimeField/TimeField.manifest.js +42 -0
- package/dist/TimeField/index.js +7 -0
- package/dist/TimeRange/TimeRange.js +184 -0
- package/dist/TimeRange/TimeRange.manifest.js +48 -0
- package/dist/TimeRange/index.js +9 -0
- package/dist/Toast/Toast.js +188 -0
- package/dist/Toast/Toast.manifest.js +77 -0
- package/dist/Toast/index.js +9 -0
- package/dist/Toggle/Toggle.js +154 -0
- package/dist/Toggle/Toggle.manifest.js +54 -0
- package/dist/Toggle/index.js +7 -0
- package/dist/Toolbar/Toolbar.js +86 -0
- package/dist/Toolbar/Toolbar.manifest.js +70 -0
- package/dist/Toolbar/index.js +12 -0
- package/dist/Tooltip/Tooltip.js +123 -0
- package/dist/Tooltip/Tooltip.manifest.js +27 -0
- package/dist/Tooltip/index.js +7 -0
- package/dist/TreeView/TreeView.js +129 -0
- package/dist/TreeView/TreeView.manifest.js +56 -0
- package/dist/TreeView/index.js +7 -0
- package/dist/UploadQueue/UploadQueue.js +296 -0
- package/dist/UploadQueue/UploadQueue.manifest.js +34 -0
- package/dist/UploadQueue/index.js +7 -0
- package/dist/_internal/MotionPopover.js +113 -0
- package/dist/_internal/aria.js +40 -0
- package/dist/_internal/bytes.js +18 -0
- package/dist/_internal/controlStyles.js +26 -0
- package/dist/_internal/date.js +179 -0
- package/dist/_internal/devValidate.js +51 -0
- package/dist/_internal/fieldIds.js +50 -0
- package/dist/_internal/hydration.js +74 -0
- package/dist/_internal/manifest-entry.js +0 -0
- package/dist/_internal/mergeRefs.js +68 -0
- package/dist/_internal/motion.js +138 -0
- package/dist/_internal/navigationLandmark.js +13 -0
- package/dist/_internal/numberText.js +176 -0
- package/dist/_internal/overlay.js +53 -0
- package/dist/_internal/segmentField.js +125 -0
- package/dist/_internal/suggestions.js +20 -0
- package/dist/_internal/timestamp.js +25 -0
- package/dist/_internal/unavailable.js +13 -0
- package/dist/_internal/useActionFocus.js +27 -0
- package/dist/_internal/useElementWidth.js +37 -0
- package/dist/_internal/useIsMounted.js +18 -0
- package/dist/_internal/useIsomorphicLayoutEffect.js +8 -0
- package/dist/_internal/useRestoreFocusOnRemoval.js +57 -0
- package/dist/index.cjs +17831 -0
- package/dist/index.d.cts +2330 -0
- package/dist/index.d.ts +2330 -0
- package/dist/index.js +407 -0
- package/dist/version.js +8 -0
- package/package.json +80 -3
package/dist/index.js
ADDED
|
@@ -0,0 +1,407 @@
|
|
|
1
|
+
// src/index.ts
|
|
2
|
+
import { Alert, AlertManifest } from "./Alert/index.js";
|
|
3
|
+
import { Avatar, AvatarManifest } from "./Avatar/index.js";
|
|
4
|
+
import { Badge, BadgeManifest } from "./Badge/index.js";
|
|
5
|
+
import { TagGroup, TagGroupManifest } from "./TagGroup/index.js";
|
|
6
|
+
import {
|
|
7
|
+
PropertyFilter,
|
|
8
|
+
PropertyFilterManifest,
|
|
9
|
+
getPropertyFilterTokenError
|
|
10
|
+
} from "./PropertyFilter/index.js";
|
|
11
|
+
import {
|
|
12
|
+
CollectionState,
|
|
13
|
+
CollectionStateManifest
|
|
14
|
+
} from "./CollectionState/index.js";
|
|
15
|
+
import {
|
|
16
|
+
Breadcrumb,
|
|
17
|
+
BreadcrumbManifest
|
|
18
|
+
} from "./Breadcrumb/index.js";
|
|
19
|
+
import { Button, ButtonManifest } from "./Button/index.js";
|
|
20
|
+
import { ButtonGroup, ButtonGroupManifest } from "./ButtonGroup/index.js";
|
|
21
|
+
import {
|
|
22
|
+
Card,
|
|
23
|
+
CardHeader,
|
|
24
|
+
CardBody,
|
|
25
|
+
CardFooter,
|
|
26
|
+
CardManifest,
|
|
27
|
+
CardCompositionRules
|
|
28
|
+
} from "./Card/index.js";
|
|
29
|
+
import { Checkbox, CheckboxManifest } from "./Checkbox/index.js";
|
|
30
|
+
import {
|
|
31
|
+
Collapsible,
|
|
32
|
+
CollapsibleItem,
|
|
33
|
+
CollapsibleManifest,
|
|
34
|
+
CollapsibleCompositionRules
|
|
35
|
+
} from "./Collapsible/index.js";
|
|
36
|
+
import {
|
|
37
|
+
CommandPalette,
|
|
38
|
+
CommandPaletteManifest
|
|
39
|
+
} from "./CommandPalette/index.js";
|
|
40
|
+
import { ConfirmDialog, ConfirmDialogManifest } from "./ConfirmDialog/index.js";
|
|
41
|
+
import {
|
|
42
|
+
DataTable,
|
|
43
|
+
DataTableManifest
|
|
44
|
+
} from "./DataTable/index.js";
|
|
45
|
+
import { Dialog, DialogManifest } from "./Dialog/index.js";
|
|
46
|
+
import { Divider, DividerManifest } from "./Divider/index.js";
|
|
47
|
+
import {
|
|
48
|
+
DropdownMenu,
|
|
49
|
+
DropdownMenuItem,
|
|
50
|
+
DropdownMenuSeparator,
|
|
51
|
+
DropdownMenuLabel,
|
|
52
|
+
DropdownMenuManifest,
|
|
53
|
+
DropdownMenuCompositionRules
|
|
54
|
+
} from "./DropdownMenu/index.js";
|
|
55
|
+
import {
|
|
56
|
+
Field,
|
|
57
|
+
FieldManifest,
|
|
58
|
+
useFieldContext,
|
|
59
|
+
useOptionalFieldContext
|
|
60
|
+
} from "./Field/index.js";
|
|
61
|
+
import { FilterBar, FilterBarManifest } from "./FilterBar/index.js";
|
|
62
|
+
import { Input, InputManifest } from "./Input/index.js";
|
|
63
|
+
import { Progress, ProgressManifest } from "./Progress/index.js";
|
|
64
|
+
import {
|
|
65
|
+
RadioGroup,
|
|
66
|
+
Radio,
|
|
67
|
+
RadioGroupManifest,
|
|
68
|
+
RadioGroupCompositionRules
|
|
69
|
+
} from "./RadioGroup/index.js";
|
|
70
|
+
import {
|
|
71
|
+
Select,
|
|
72
|
+
SelectOption,
|
|
73
|
+
SelectManifest,
|
|
74
|
+
SelectCompositionRules
|
|
75
|
+
} from "./Select/index.js";
|
|
76
|
+
import {
|
|
77
|
+
Sidebar,
|
|
78
|
+
SidebarLogo,
|
|
79
|
+
SidebarSection,
|
|
80
|
+
SidebarItem,
|
|
81
|
+
SidebarFooter,
|
|
82
|
+
SidebarManifest,
|
|
83
|
+
SidebarCompositionRules
|
|
84
|
+
} from "./Sidebar/index.js";
|
|
85
|
+
import { Skeleton, SkeletonManifest } from "./Skeleton/index.js";
|
|
86
|
+
import { Slider, SliderManifest } from "./Slider/index.js";
|
|
87
|
+
import { StatCard, StatCardManifest } from "./StatCard/index.js";
|
|
88
|
+
import {
|
|
89
|
+
Tabs,
|
|
90
|
+
TabsList,
|
|
91
|
+
TabsTrigger,
|
|
92
|
+
TabsContent,
|
|
93
|
+
TabsManifest,
|
|
94
|
+
TabsCompositionRules
|
|
95
|
+
} from "./Tabs/index.js";
|
|
96
|
+
import { Textarea, TextareaManifest } from "./Textarea/index.js";
|
|
97
|
+
import {
|
|
98
|
+
ToastProvider,
|
|
99
|
+
Toast,
|
|
100
|
+
ToastManifest,
|
|
101
|
+
ToastCompositionRules
|
|
102
|
+
} from "./Toast/index.js";
|
|
103
|
+
import { Toggle, ToggleManifest } from "./Toggle/index.js";
|
|
104
|
+
import {
|
|
105
|
+
Toolbar,
|
|
106
|
+
ToolbarSeparator,
|
|
107
|
+
ToolbarManifest,
|
|
108
|
+
ToolbarCompositionRules
|
|
109
|
+
} from "./Toolbar/index.js";
|
|
110
|
+
import { Tooltip, TooltipManifest } from "./Tooltip/index.js";
|
|
111
|
+
import {
|
|
112
|
+
Chart,
|
|
113
|
+
ChartManifest
|
|
114
|
+
} from "./Chart/index.js";
|
|
115
|
+
import { Sparkline, SparklineManifest } from "./Sparkline/index.js";
|
|
116
|
+
import {
|
|
117
|
+
DataGrid,
|
|
118
|
+
DataGridManifest
|
|
119
|
+
} from "./DataGrid/index.js";
|
|
120
|
+
import { ComboBox, ComboBoxManifest } from "./ComboBox/index.js";
|
|
121
|
+
import { SplitPane, SplitPaneManifest } from "./SplitPane/index.js";
|
|
122
|
+
import {
|
|
123
|
+
TimeRange,
|
|
124
|
+
TimeRangeManifest
|
|
125
|
+
} from "./TimeRange/index.js";
|
|
126
|
+
import {
|
|
127
|
+
EventTimeline,
|
|
128
|
+
EventTimelineManifest
|
|
129
|
+
} from "./EventTimeline/index.js";
|
|
130
|
+
import {
|
|
131
|
+
AppShell,
|
|
132
|
+
AppShellManifest
|
|
133
|
+
} from "./AppShell/index.js";
|
|
134
|
+
import { Inspector, InspectorManifest } from "./Inspector/index.js";
|
|
135
|
+
import { TreeView, TreeViewManifest } from "./TreeView/index.js";
|
|
136
|
+
import {
|
|
137
|
+
OperationalStatus,
|
|
138
|
+
OperationalStatusManifest
|
|
139
|
+
} from "./OperationalStatus/index.js";
|
|
140
|
+
import {
|
|
141
|
+
ActionStatus,
|
|
142
|
+
ActionStatusManifest
|
|
143
|
+
} from "./ActionStatus/index.js";
|
|
144
|
+
import {
|
|
145
|
+
MultiSelect,
|
|
146
|
+
MultiSelectManifest
|
|
147
|
+
} from "./MultiSelect/index.js";
|
|
148
|
+
import { NumberInput, NumberInputManifest } from "./NumberInput/index.js";
|
|
149
|
+
import {
|
|
150
|
+
CoordinateInput,
|
|
151
|
+
CoordinateInputManifest
|
|
152
|
+
} from "./CoordinateInput/index.js";
|
|
153
|
+
import { Link, LinkManifest } from "./Link/index.js";
|
|
154
|
+
import {
|
|
155
|
+
DescriptionList,
|
|
156
|
+
DescriptionListManifest
|
|
157
|
+
} from "./DescriptionList/index.js";
|
|
158
|
+
import {
|
|
159
|
+
CopyButton,
|
|
160
|
+
CopyButtonManifest
|
|
161
|
+
} from "./CopyButton/index.js";
|
|
162
|
+
import { Popover, PopoverManifest } from "./Popover/index.js";
|
|
163
|
+
import {
|
|
164
|
+
EntityPreview,
|
|
165
|
+
EntityPreviewManifest
|
|
166
|
+
} from "./EntityPreview/index.js";
|
|
167
|
+
import { FormSection, FormSectionManifest } from "./FormSection/index.js";
|
|
168
|
+
import {
|
|
169
|
+
FormErrorSummary,
|
|
170
|
+
FormErrorSummaryManifest
|
|
171
|
+
} from "./FormErrorSummary/index.js";
|
|
172
|
+
import { Calendar, CalendarManifest } from "./Calendar/index.js";
|
|
173
|
+
import { DatePicker, DatePickerManifest } from "./DatePicker/index.js";
|
|
174
|
+
import { InlineEdit, InlineEditManifest } from "./InlineEdit/index.js";
|
|
175
|
+
import {
|
|
176
|
+
ContextMenu,
|
|
177
|
+
ContextMenuManifest
|
|
178
|
+
} from "./ContextMenu/index.js";
|
|
179
|
+
import { TimeField, TimeFieldManifest } from "./TimeField/index.js";
|
|
180
|
+
import { DateTimePicker, DateTimePickerManifest } from "./DateTimePicker/index.js";
|
|
181
|
+
import {
|
|
182
|
+
DateRangePicker,
|
|
183
|
+
DateRangePickerManifest
|
|
184
|
+
} from "./DateRangePicker/index.js";
|
|
185
|
+
import {
|
|
186
|
+
FileUpload,
|
|
187
|
+
FileUploadManifest
|
|
188
|
+
} from "./FileUpload/index.js";
|
|
189
|
+
import {
|
|
190
|
+
UploadQueue,
|
|
191
|
+
UploadQueueManifest
|
|
192
|
+
} from "./UploadQueue/index.js";
|
|
193
|
+
import {
|
|
194
|
+
AttachmentPreview,
|
|
195
|
+
AttachmentPreviewManifest
|
|
196
|
+
} from "./AttachmentPreview/index.js";
|
|
197
|
+
import { JobStatus, JobStatusManifest } from "./JobStatus/index.js";
|
|
198
|
+
import {
|
|
199
|
+
BulkActionBar,
|
|
200
|
+
BulkActionBarManifest
|
|
201
|
+
} from "./BulkActionBar/index.js";
|
|
202
|
+
import {
|
|
203
|
+
BulkResults,
|
|
204
|
+
BulkResultsManifest
|
|
205
|
+
} from "./BulkResults/index.js";
|
|
206
|
+
import {
|
|
207
|
+
MapControls,
|
|
208
|
+
MapControlsManifest
|
|
209
|
+
} from "./MapControls/index.js";
|
|
210
|
+
import {
|
|
211
|
+
LayerControl,
|
|
212
|
+
LayerControlManifest
|
|
213
|
+
} from "./LayerControl/index.js";
|
|
214
|
+
import { MapLegend, MapLegendManifest } from "./MapLegend/index.js";
|
|
215
|
+
import { MapScale, MapScaleManifest } from "./MapScale/index.js";
|
|
216
|
+
import {
|
|
217
|
+
MediaFrame,
|
|
218
|
+
MediaFrameManifest
|
|
219
|
+
} from "./MediaFrame/index.js";
|
|
220
|
+
import {
|
|
221
|
+
PlaybackControls,
|
|
222
|
+
PlaybackControlsManifest
|
|
223
|
+
} from "./PlaybackControls/index.js";
|
|
224
|
+
import { VERSION } from "./version.js";
|
|
225
|
+
export {
|
|
226
|
+
ActionStatus,
|
|
227
|
+
ActionStatusManifest,
|
|
228
|
+
Alert,
|
|
229
|
+
AlertManifest,
|
|
230
|
+
AppShell,
|
|
231
|
+
AppShellManifest,
|
|
232
|
+
AttachmentPreview,
|
|
233
|
+
AttachmentPreviewManifest,
|
|
234
|
+
Avatar,
|
|
235
|
+
AvatarManifest,
|
|
236
|
+
Badge,
|
|
237
|
+
BadgeManifest,
|
|
238
|
+
Breadcrumb,
|
|
239
|
+
BreadcrumbManifest,
|
|
240
|
+
BulkActionBar,
|
|
241
|
+
BulkActionBarManifest,
|
|
242
|
+
BulkResults,
|
|
243
|
+
BulkResultsManifest,
|
|
244
|
+
Button,
|
|
245
|
+
ButtonGroup,
|
|
246
|
+
ButtonGroupManifest,
|
|
247
|
+
ButtonManifest,
|
|
248
|
+
Calendar,
|
|
249
|
+
CalendarManifest,
|
|
250
|
+
Card,
|
|
251
|
+
CardBody,
|
|
252
|
+
CardCompositionRules,
|
|
253
|
+
CardFooter,
|
|
254
|
+
CardHeader,
|
|
255
|
+
CardManifest,
|
|
256
|
+
Chart,
|
|
257
|
+
ChartManifest,
|
|
258
|
+
Checkbox,
|
|
259
|
+
CheckboxManifest,
|
|
260
|
+
Collapsible,
|
|
261
|
+
CollapsibleCompositionRules,
|
|
262
|
+
CollapsibleItem,
|
|
263
|
+
CollapsibleManifest,
|
|
264
|
+
CollectionState,
|
|
265
|
+
CollectionStateManifest,
|
|
266
|
+
ComboBox,
|
|
267
|
+
ComboBoxManifest,
|
|
268
|
+
CommandPalette,
|
|
269
|
+
CommandPaletteManifest,
|
|
270
|
+
ConfirmDialog,
|
|
271
|
+
ConfirmDialogManifest,
|
|
272
|
+
ContextMenu,
|
|
273
|
+
ContextMenuManifest,
|
|
274
|
+
CoordinateInput,
|
|
275
|
+
CoordinateInputManifest,
|
|
276
|
+
CopyButton,
|
|
277
|
+
CopyButtonManifest,
|
|
278
|
+
DataGrid,
|
|
279
|
+
DataGridManifest,
|
|
280
|
+
DataTable,
|
|
281
|
+
DataTableManifest,
|
|
282
|
+
DatePicker,
|
|
283
|
+
DatePickerManifest,
|
|
284
|
+
DateRangePicker,
|
|
285
|
+
DateRangePickerManifest,
|
|
286
|
+
DateTimePicker,
|
|
287
|
+
DateTimePickerManifest,
|
|
288
|
+
DescriptionList,
|
|
289
|
+
DescriptionListManifest,
|
|
290
|
+
Dialog,
|
|
291
|
+
DialogManifest,
|
|
292
|
+
Divider,
|
|
293
|
+
DividerManifest,
|
|
294
|
+
DropdownMenu,
|
|
295
|
+
DropdownMenuCompositionRules,
|
|
296
|
+
DropdownMenuItem,
|
|
297
|
+
DropdownMenuLabel,
|
|
298
|
+
DropdownMenuManifest,
|
|
299
|
+
DropdownMenuSeparator,
|
|
300
|
+
EntityPreview,
|
|
301
|
+
EntityPreviewManifest,
|
|
302
|
+
EventTimeline,
|
|
303
|
+
EventTimelineManifest,
|
|
304
|
+
Field,
|
|
305
|
+
FieldManifest,
|
|
306
|
+
FileUpload,
|
|
307
|
+
FileUploadManifest,
|
|
308
|
+
FilterBar,
|
|
309
|
+
FilterBarManifest,
|
|
310
|
+
FormErrorSummary,
|
|
311
|
+
FormErrorSummaryManifest,
|
|
312
|
+
FormSection,
|
|
313
|
+
FormSectionManifest,
|
|
314
|
+
InlineEdit,
|
|
315
|
+
InlineEditManifest,
|
|
316
|
+
Input,
|
|
317
|
+
InputManifest,
|
|
318
|
+
Inspector,
|
|
319
|
+
InspectorManifest,
|
|
320
|
+
JobStatus,
|
|
321
|
+
JobStatusManifest,
|
|
322
|
+
LayerControl,
|
|
323
|
+
LayerControlManifest,
|
|
324
|
+
Link,
|
|
325
|
+
LinkManifest,
|
|
326
|
+
MapControls,
|
|
327
|
+
MapControlsManifest,
|
|
328
|
+
MapLegend,
|
|
329
|
+
MapLegendManifest,
|
|
330
|
+
MapScale,
|
|
331
|
+
MapScaleManifest,
|
|
332
|
+
MediaFrame,
|
|
333
|
+
MediaFrameManifest,
|
|
334
|
+
MultiSelect,
|
|
335
|
+
MultiSelectManifest,
|
|
336
|
+
NumberInput,
|
|
337
|
+
NumberInputManifest,
|
|
338
|
+
OperationalStatus,
|
|
339
|
+
OperationalStatusManifest,
|
|
340
|
+
PlaybackControls,
|
|
341
|
+
PlaybackControlsManifest,
|
|
342
|
+
Popover,
|
|
343
|
+
PopoverManifest,
|
|
344
|
+
Progress,
|
|
345
|
+
ProgressManifest,
|
|
346
|
+
PropertyFilter,
|
|
347
|
+
PropertyFilterManifest,
|
|
348
|
+
Radio,
|
|
349
|
+
RadioGroup,
|
|
350
|
+
RadioGroupCompositionRules,
|
|
351
|
+
RadioGroupManifest,
|
|
352
|
+
Select,
|
|
353
|
+
SelectCompositionRules,
|
|
354
|
+
SelectManifest,
|
|
355
|
+
SelectOption,
|
|
356
|
+
Sidebar,
|
|
357
|
+
SidebarCompositionRules,
|
|
358
|
+
SidebarFooter,
|
|
359
|
+
SidebarItem,
|
|
360
|
+
SidebarLogo,
|
|
361
|
+
SidebarManifest,
|
|
362
|
+
SidebarSection,
|
|
363
|
+
Skeleton,
|
|
364
|
+
SkeletonManifest,
|
|
365
|
+
Slider,
|
|
366
|
+
SliderManifest,
|
|
367
|
+
Sparkline,
|
|
368
|
+
SparklineManifest,
|
|
369
|
+
SplitPane,
|
|
370
|
+
SplitPaneManifest,
|
|
371
|
+
StatCard,
|
|
372
|
+
StatCardManifest,
|
|
373
|
+
Tabs,
|
|
374
|
+
TabsCompositionRules,
|
|
375
|
+
TabsContent,
|
|
376
|
+
TabsList,
|
|
377
|
+
TabsManifest,
|
|
378
|
+
TabsTrigger,
|
|
379
|
+
TagGroup,
|
|
380
|
+
TagGroupManifest,
|
|
381
|
+
Textarea,
|
|
382
|
+
TextareaManifest,
|
|
383
|
+
TimeField,
|
|
384
|
+
TimeFieldManifest,
|
|
385
|
+
TimeRange,
|
|
386
|
+
TimeRangeManifest,
|
|
387
|
+
Toast,
|
|
388
|
+
ToastCompositionRules,
|
|
389
|
+
ToastManifest,
|
|
390
|
+
ToastProvider,
|
|
391
|
+
Toggle,
|
|
392
|
+
ToggleManifest,
|
|
393
|
+
Toolbar,
|
|
394
|
+
ToolbarCompositionRules,
|
|
395
|
+
ToolbarManifest,
|
|
396
|
+
ToolbarSeparator,
|
|
397
|
+
Tooltip,
|
|
398
|
+
TooltipManifest,
|
|
399
|
+
TreeView,
|
|
400
|
+
TreeViewManifest,
|
|
401
|
+
UploadQueue,
|
|
402
|
+
UploadQueueManifest,
|
|
403
|
+
VERSION,
|
|
404
|
+
getPropertyFilterTokenError,
|
|
405
|
+
useFieldContext,
|
|
406
|
+
useOptionalFieldContext
|
|
407
|
+
};
|
package/dist/version.js
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,83 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oprt/react",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "React components for operational interfaces: command, control and industrial software. 75 component families with interactive behavior from React Aria, styled with Tailwind CSS 4.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"design-system",
|
|
7
|
+
"react",
|
|
8
|
+
"components",
|
|
9
|
+
"operational",
|
|
10
|
+
"command-and-control",
|
|
11
|
+
"c2",
|
|
12
|
+
"industrial",
|
|
13
|
+
"react-aria",
|
|
14
|
+
"tailwindcss",
|
|
15
|
+
"accessibility",
|
|
16
|
+
"dark-theme"
|
|
17
|
+
],
|
|
18
|
+
"homepage": "https://oprt.dev/docs/components",
|
|
19
|
+
"type": "module",
|
|
20
|
+
"main": "./dist/index.cjs",
|
|
21
|
+
"module": "./dist/index.js",
|
|
22
|
+
"types": "./dist/index.d.ts",
|
|
23
|
+
"sideEffects": false,
|
|
24
|
+
"exports": {
|
|
25
|
+
".": {
|
|
26
|
+
"import": {
|
|
27
|
+
"types": "./dist/index.d.ts",
|
|
28
|
+
"default": "./dist/index.js"
|
|
29
|
+
},
|
|
30
|
+
"require": {
|
|
31
|
+
"types": "./dist/index.d.cts",
|
|
32
|
+
"default": "./dist/index.cjs"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"./package.json": "./package.json"
|
|
36
|
+
},
|
|
37
|
+
"files": [
|
|
38
|
+
"dist"
|
|
39
|
+
],
|
|
40
|
+
"peerDependencies": {
|
|
41
|
+
"react": ">=18",
|
|
42
|
+
"react-dom": ">=18"
|
|
43
|
+
},
|
|
44
|
+
"dependencies": {
|
|
45
|
+
"@internationalized/date": "^3.12.3",
|
|
46
|
+
"@radix-ui/react-slot": "^1.1.0",
|
|
47
|
+
"@radix-ui/react-toast": "^1.2.15",
|
|
48
|
+
"class-variance-authority": "^0.7.0",
|
|
49
|
+
"clsx": "^2.1.1",
|
|
50
|
+
"react-aria": "^3.51.0",
|
|
51
|
+
"react-aria-components": "^1.20.0",
|
|
52
|
+
"@oprt/icons": "0.1.0",
|
|
53
|
+
"@oprt/tokens": "0.2.0"
|
|
54
|
+
},
|
|
55
|
+
"devDependencies": {
|
|
56
|
+
"@testing-library/jest-dom": "^6.6.3",
|
|
57
|
+
"@testing-library/react": "^16.0.1",
|
|
58
|
+
"@testing-library/user-event": "^14.5.2",
|
|
59
|
+
"@types/react": "^18.3.12",
|
|
60
|
+
"@types/react-dom": "^18.3.1",
|
|
61
|
+
"@vitest/coverage-v8": "^2.1.3",
|
|
62
|
+
"jsdom": "^25.0.1",
|
|
63
|
+
"react": "^18.3.1",
|
|
64
|
+
"react-dom": "^18.3.1",
|
|
65
|
+
"tsup": "^8.3.0",
|
|
66
|
+
"typescript": "^5.6.3",
|
|
67
|
+
"vitest": "^2.1.3",
|
|
68
|
+
"vitest-axe": "^0.1.0",
|
|
69
|
+
"@oprt/manifest": "0.1.0"
|
|
70
|
+
},
|
|
71
|
+
"license": "MIT",
|
|
72
|
+
"publishConfig": {
|
|
73
|
+
"access": "public"
|
|
74
|
+
},
|
|
75
|
+
"scripts": {
|
|
76
|
+
"clean": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"",
|
|
77
|
+
"build": "pnpm run clean && tsup",
|
|
78
|
+
"dev": "tsup --watch",
|
|
79
|
+
"test": "vitest run",
|
|
80
|
+
"typecheck": "tsc --noEmit",
|
|
81
|
+
"lint": "eslint src test build tsup.config.ts"
|
|
82
|
+
}
|
|
6
83
|
}
|