@omniviewdev/ui 0.1.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.
Files changed (257) hide show
  1. package/LICENSE +661 -0
  2. package/dist/Button-Dmu1cikC.cjs +1 -0
  3. package/dist/Button-lr02bh_m.js +51 -0
  4. package/dist/CodeBlock-B1iQO7zU.js +73 -0
  5. package/dist/CodeBlock-CIyG0DbW.cjs +2 -0
  6. package/dist/CopyButton-CACe3RCF.cjs +1 -0
  7. package/dist/CopyButton-DPBgL0K8.js +77 -0
  8. package/dist/ErrorState-CexYrMpy.js +188 -0
  9. package/dist/ErrorState-CnIR-1xa.cjs +1 -0
  10. package/dist/HotkeyHint-6SOi-MaU.js +37 -0
  11. package/dist/HotkeyHint-DrTOTrIM.cjs +1 -0
  12. package/dist/Icon-CKdIOrjZ.cjs +1 -0
  13. package/dist/Icon-CuO9W7cA.js +27 -0
  14. package/dist/SearchInput-CFBBNdI2.cjs +1 -0
  15. package/dist/SearchInput-D3AsCI5H.js +41 -0
  16. package/dist/Select-CnRBSc5w.cjs +1 -0
  17. package/dist/Select-DTUF31OP.js +206 -0
  18. package/dist/Skeleton-BUYyXUiC.js +32 -0
  19. package/dist/Skeleton-CfdQWLQM.cjs +1 -0
  20. package/dist/StatusDot-CYyJxjJK.cjs +1 -0
  21. package/dist/StatusDot-CncykBAY.js +68 -0
  22. package/dist/StatusPill-C1NaiCzd.js +29 -0
  23. package/dist/StatusPill-C7yn7dSA.cjs +1 -0
  24. package/dist/TabPanel-CkUSl6Bt.cjs +1 -0
  25. package/dist/TabPanel-DLHbgKpl.js +124 -0
  26. package/dist/Text-By4P3in5.js +71 -0
  27. package/dist/Text-Mk6Uyg1w.cjs +1 -0
  28. package/dist/Tooltip-44-P5KfQ.cjs +1 -0
  29. package/dist/Tooltip-BEVuYuZ3.js +41 -0
  30. package/dist/_commonjsHelpers-CvWRHxnb.js +26 -0
  31. package/dist/_commonjsHelpers-D3HyQheV.cjs +1 -0
  32. package/dist/buttons/ActionMenu.d.ts +21 -0
  33. package/dist/buttons/Button.d.ts +31 -0
  34. package/dist/buttons/ButtonGroup.d.ts +18 -0
  35. package/dist/buttons/ConfirmButton.d.ts +10 -0
  36. package/dist/buttons/CopyButton.d.ts +11 -0
  37. package/dist/buttons/IconButton.d.ts +21 -0
  38. package/dist/buttons/SearchBar.d.ts +22 -0
  39. package/dist/buttons/ToggleButton.d.ts +18 -0
  40. package/dist/buttons/ToggleGroup.d.ts +23 -0
  41. package/dist/buttons/Toolbar.d.ts +15 -0
  42. package/dist/buttons/ToolbarGroup.d.ts +11 -0
  43. package/dist/buttons/index.d.ts +22 -0
  44. package/dist/buttons.cjs +1 -0
  45. package/dist/buttons.js +430 -0
  46. package/dist/cells/BadgesCell.d.ts +19 -0
  47. package/dist/cells/ChipCell.d.ts +16 -0
  48. package/dist/cells/SelectBoxHeader.d.ts +11 -0
  49. package/dist/cells/SelectBoxRow.d.ts +11 -0
  50. package/dist/cells/TextCell.d.ts +25 -0
  51. package/dist/cells/index.d.ts +5 -0
  52. package/dist/cells.cjs +1 -0
  53. package/dist/cells.js +284 -0
  54. package/dist/charts/BarChart.d.ts +15 -0
  55. package/dist/charts/ChartContainer.d.ts +12 -0
  56. package/dist/charts/ChartLegend.d.ts +11 -0
  57. package/dist/charts/GaugeCard.d.ts +18 -0
  58. package/dist/charts/MetricsPanel.d.ts +61 -0
  59. package/dist/charts/PieChart.d.ts +13 -0
  60. package/dist/charts/ScatterChart.d.ts +25 -0
  61. package/dist/charts/Sparkline.d.ts +16 -0
  62. package/dist/charts/StackedAreaChart.d.ts +18 -0
  63. package/dist/charts/TimeSeriesChart.d.ts +43 -0
  64. package/dist/charts/formatters.d.ts +17 -0
  65. package/dist/charts/index.d.ts +21 -0
  66. package/dist/charts/palette.d.ts +7 -0
  67. package/dist/charts/types.d.ts +67 -0
  68. package/dist/charts/useChartTheme.d.ts +13 -0
  69. package/dist/charts.cjs +1 -0
  70. package/dist/charts.js +967 -0
  71. package/dist/components/ActionCard.d.ts +22 -0
  72. package/dist/components/AspectRatio.d.ts +13 -0
  73. package/dist/components/Avatar.d.ts +19 -0
  74. package/dist/components/Badge.d.ts +22 -0
  75. package/dist/components/Card.d.ts +24 -0
  76. package/dist/components/Chip.d.ts +32 -0
  77. package/dist/components/ClipboardText.d.ts +14 -0
  78. package/dist/components/DetailsCard.d.ts +25 -0
  79. package/dist/components/EmptySearch.d.ts +12 -0
  80. package/dist/components/ExpandableSections.d.ts +51 -0
  81. package/dist/components/FileIcon.d.ts +12 -0
  82. package/dist/components/HotkeyHint.d.ts +8 -0
  83. package/dist/components/Icon.d.ts +7 -0
  84. package/dist/components/InlineEdit.d.ts +14 -0
  85. package/dist/components/KVCard.d.ts +12 -0
  86. package/dist/components/Kbd.d.ts +8 -0
  87. package/dist/components/List.d.ts +29 -0
  88. package/dist/components/ListCard.d.ts +30 -0
  89. package/dist/components/ListItem.d.ts +27 -0
  90. package/dist/components/LoadingOverlay.d.ts +14 -0
  91. package/dist/components/MediaCard.d.ts +24 -0
  92. package/dist/components/MetricsSection.d.ts +37 -0
  93. package/dist/components/OverflowText.d.ts +12 -0
  94. package/dist/components/StatCard.d.ts +26 -0
  95. package/dist/components/StatusCard.d.ts +29 -0
  96. package/dist/components/TruncatedList.d.ts +13 -0
  97. package/dist/domain/DescriptionList.d.ts +12 -0
  98. package/dist/domain/EventsList.d.ts +11 -0
  99. package/dist/domain/FilterBar.d.ts +23 -0
  100. package/dist/domain/LogsViewer.d.ts +15 -0
  101. package/dist/domain/MetricCard.d.ts +14 -0
  102. package/dist/domain/ObjectInspector.d.ts +19 -0
  103. package/dist/domain/ResourceBreadcrumb.d.ts +19 -0
  104. package/dist/domain/ResourceRef.d.ts +15 -0
  105. package/dist/domain/ResourceStatus.d.ts +17 -0
  106. package/dist/domain/SecretValueMask.d.ts +11 -0
  107. package/dist/domain/Timeline.d.ts +21 -0
  108. package/dist/domain/index.d.ts +23 -0
  109. package/dist/domain/types.d.ts +25 -0
  110. package/dist/domain.cjs +1 -0
  111. package/dist/domain.js +871 -0
  112. package/dist/editors/CodeEditor.d.ts +19 -0
  113. package/dist/editors/CommandPalette.d.ts +22 -0
  114. package/dist/editors/DiffViewer.d.ts +14 -0
  115. package/dist/editors/MarkdownPreview.d.ts +9 -0
  116. package/dist/editors/Terminal.d.ts +18 -0
  117. package/dist/editors/index.d.ts +11 -0
  118. package/dist/editors/themes.d.ts +4 -0
  119. package/dist/editors.cjs +42 -0
  120. package/dist/editors.js +38396 -0
  121. package/dist/feedback/Alert.d.ts +21 -0
  122. package/dist/feedback/ConnectionIndicator.d.ts +15 -0
  123. package/dist/feedback/EmptyState.d.ts +17 -0
  124. package/dist/feedback/ErrorState.d.ts +12 -0
  125. package/dist/feedback/IDEStatusFooter.d.ts +104 -0
  126. package/dist/feedback/NotificationStack.d.ts +32 -0
  127. package/dist/feedback/ProgressBar.d.ts +16 -0
  128. package/dist/feedback/ProgressRing.d.ts +26 -0
  129. package/dist/feedback/RunButton.d.ts +17 -0
  130. package/dist/feedback/Skeleton.d.ts +13 -0
  131. package/dist/feedback/StatusBar.d.ts +12 -0
  132. package/dist/feedback/StatusBarItem.d.ts +18 -0
  133. package/dist/feedback/StatusDot.d.ts +14 -0
  134. package/dist/feedback/StatusPill.d.ts +13 -0
  135. package/dist/feedback/index.d.ts +29 -0
  136. package/dist/feedback.cjs +1 -0
  137. package/dist/feedback.js +1011 -0
  138. package/dist/index.cjs +1 -0
  139. package/dist/index.d.ts +54 -0
  140. package/dist/index.js +1632 -0
  141. package/dist/inputs/Autocomplete.d.ts +30 -0
  142. package/dist/inputs/Checkbox.d.ts +17 -0
  143. package/dist/inputs/ColorPicker.d.ts +13 -0
  144. package/dist/inputs/DebouncedInput.d.ts +10 -0
  145. package/dist/inputs/FormField.d.ts +15 -0
  146. package/dist/inputs/FormSection.d.ts +14 -0
  147. package/dist/inputs/KeyValueEditor.d.ts +17 -0
  148. package/dist/inputs/RadioGroup.d.ts +23 -0
  149. package/dist/inputs/SearchInput.d.ts +14 -0
  150. package/dist/inputs/Select.d.ts +32 -0
  151. package/dist/inputs/Slider.d.ts +24 -0
  152. package/dist/inputs/Switch.d.ts +17 -0
  153. package/dist/inputs/TagInput.d.ts +18 -0
  154. package/dist/inputs/TextArea.d.ts +26 -0
  155. package/dist/inputs/TextField.d.ts +39 -0
  156. package/dist/inputs/TimeRangePicker.d.ts +21 -0
  157. package/dist/inputs/index.d.ts +31 -0
  158. package/dist/inputs.cjs +21 -0
  159. package/dist/inputs.js +15834 -0
  160. package/dist/layout/AppShell.d.ts +18 -0
  161. package/dist/layout/DockLayout.d.ts +23 -0
  162. package/dist/layout/Inline.d.ts +15 -0
  163. package/dist/layout/Panel.d.ts +17 -0
  164. package/dist/layout/ResizableSplitPane.d.ts +18 -0
  165. package/dist/layout/Spacer.d.ts +9 -0
  166. package/dist/layout/Stack.d.ts +19 -0
  167. package/dist/layout/index.d.ts +16 -0
  168. package/dist/layout/useResizablePanel.d.ts +18 -0
  169. package/dist/layout.cjs +5 -0
  170. package/dist/layout.js +378 -0
  171. package/dist/menus/ContextMenu.d.ts +12 -0
  172. package/dist/menus/DropdownMenu.d.ts +20 -0
  173. package/dist/menus/MenuBar.d.ts +11 -0
  174. package/dist/menus/NestedMenuItem.d.ts +13 -0
  175. package/dist/menus/SplitButton.d.ts +15 -0
  176. package/dist/menus/index.d.ts +11 -0
  177. package/dist/menus/types.d.ts +24 -0
  178. package/dist/menus.cjs +1 -0
  179. package/dist/menus.js +355 -0
  180. package/dist/navigation/Breadcrumbs.d.ts +18 -0
  181. package/dist/navigation/DraggableTabs.d.ts +24 -0
  182. package/dist/navigation/Pagination.d.ts +15 -0
  183. package/dist/navigation/PersistentTabPanel.d.ts +13 -0
  184. package/dist/navigation/Stepper.d.ts +19 -0
  185. package/dist/navigation/TabPanel.d.ts +11 -0
  186. package/dist/navigation/Tabs.d.ts +26 -0
  187. package/dist/navigation/TreeView.d.ts +27 -0
  188. package/dist/navigation/index.d.ts +16 -0
  189. package/dist/navigation.cjs +1 -0
  190. package/dist/navigation.js +429 -0
  191. package/dist/overlays/Dialog.d.ts +18 -0
  192. package/dist/overlays/Drawer.d.ts +17 -0
  193. package/dist/overlays/ErrorOverlay.d.ts +21 -0
  194. package/dist/overlays/Modal.d.ts +14 -0
  195. package/dist/overlays/NotificationCenter.d.ts +31 -0
  196. package/dist/overlays/Popover.d.ts +15 -0
  197. package/dist/overlays/Spotlight.d.ts +24 -0
  198. package/dist/overlays/ToastProvider.d.ts +32 -0
  199. package/dist/overlays/Tooltip.d.ts +15 -0
  200. package/dist/overlays/index.d.ts +20 -0
  201. package/dist/overlays/useToast.d.ts +21 -0
  202. package/dist/overlays.cjs +1 -0
  203. package/dist/overlays.js +865 -0
  204. package/dist/sidebars/ActivityBar.d.ts +16 -0
  205. package/dist/sidebars/NavMenu.d.ts +27 -0
  206. package/dist/sidebars/NavMenu.test.d.ts +1 -0
  207. package/dist/sidebars/PropertyGrid.d.ts +16 -0
  208. package/dist/sidebars/SidebarGroup.d.ts +15 -0
  209. package/dist/sidebars/SidebarPanel.d.ts +19 -0
  210. package/dist/sidebars/SidebarTreeItem.d.ts +21 -0
  211. package/dist/sidebars/index.d.ts +13 -0
  212. package/dist/sidebars/types.d.ts +29 -0
  213. package/dist/sidebars.cjs +1 -0
  214. package/dist/sidebars.js +762 -0
  215. package/dist/table/ColumnFilter.d.ts +10 -0
  216. package/dist/table/DataTable.d.ts +23 -0
  217. package/dist/table/IDETable.d.ts +48 -0
  218. package/dist/table/TableEmptyState.d.ts +12 -0
  219. package/dist/table/TableSkeleton.d.ts +11 -0
  220. package/dist/table/TableToolbar.d.ts +15 -0
  221. package/dist/table/index.d.ts +12 -0
  222. package/dist/table/types.d.ts +4 -0
  223. package/dist/table.cjs +1 -0
  224. package/dist/table.js +580 -0
  225. package/dist/theme/AppTheme.d.ts +14 -0
  226. package/dist/theme/customizations/dataDisplay.d.ts +2 -0
  227. package/dist/theme/customizations/feedback.d.ts +2 -0
  228. package/dist/theme/customizations/inputs.d.ts +2 -0
  229. package/dist/theme/customizations/navigation.d.ts +2 -0
  230. package/dist/theme/index.d.ts +36 -0
  231. package/dist/theme/primitives.d.ts +234 -0
  232. package/dist/theme.cjs +1 -0
  233. package/dist/theme.js +1362 -0
  234. package/dist/tokens.css +252 -0
  235. package/dist/types/index.d.ts +7 -0
  236. package/dist/types/maps.d.ts +25 -0
  237. package/dist/types/variants.d.ts +21 -0
  238. package/dist/types.cjs +1 -0
  239. package/dist/types.js +96 -0
  240. package/dist/typography/CodeBlock.d.ts +15 -0
  241. package/dist/typography/CodeInline.d.ts +10 -0
  242. package/dist/typography/Heading.d.ts +13 -0
  243. package/dist/typography/Link.d.ts +18 -0
  244. package/dist/typography/Text.d.ts +22 -0
  245. package/dist/typography/index.d.ts +10 -0
  246. package/dist/typography.cjs +1 -0
  247. package/dist/typography.js +120 -0
  248. package/dist/ui.css +1 -0
  249. package/dist/units-BuBKbqQ7.js +54 -0
  250. package/dist/units-CDpdlN1W.cjs +1 -0
  251. package/dist/utils/index.d.ts +4 -0
  252. package/dist/utils/language.d.ts +4 -0
  253. package/dist/utils/time.d.ts +5 -0
  254. package/dist/utils/units.d.ts +7 -0
  255. package/dist/utils.cjs +1 -0
  256. package/dist/utils.js +78 -0
  257. package/package.json +261 -0
@@ -0,0 +1,30 @@
1
+ import { SxProps, Theme } from '@mui/material/styles';
2
+ import { SemanticColor, ComponentSize } from '../types';
3
+ export interface AutocompleteOption {
4
+ value: string;
5
+ label: string;
6
+ }
7
+ export interface AutocompleteProps {
8
+ options: AutocompleteOption[];
9
+ value: AutocompleteOption | AutocompleteOption[] | null;
10
+ onChange: (value: AutocompleteOption | AutocompleteOption[] | null) => void;
11
+ size?: ComponentSize;
12
+ color?: SemanticColor;
13
+ creatable?: boolean;
14
+ loading?: boolean;
15
+ groupBy?: (option: AutocompleteOption) => string;
16
+ renderOption?: (option: AutocompleteOption) => React.ReactNode;
17
+ label?: string;
18
+ helperText?: string;
19
+ placeholder?: string;
20
+ error?: boolean | string;
21
+ multiple?: boolean;
22
+ fullWidth?: boolean;
23
+ disabled?: boolean;
24
+ sx?: SxProps<Theme>;
25
+ }
26
+ declare function Autocomplete({ options, value, onChange, size, color, creatable, loading, groupBy, renderOption, label, helperText, placeholder, error, multiple, fullWidth, disabled, sx, }: AutocompleteProps): import("react/jsx-runtime").JSX.Element;
27
+ declare namespace Autocomplete {
28
+ var displayName: string;
29
+ }
30
+ export default Autocomplete;
@@ -0,0 +1,17 @@
1
+ import { SxProps, Theme } from '@mui/material/styles';
2
+ import { SemanticColor, ComponentSize } from '../types';
3
+ export interface CheckboxProps {
4
+ checked: boolean;
5
+ onChange: (checked: boolean) => void;
6
+ size?: ComponentSize;
7
+ color?: SemanticColor;
8
+ indeterminate?: boolean;
9
+ label?: string;
10
+ disabled?: boolean;
11
+ sx?: SxProps<Theme>;
12
+ }
13
+ declare function Checkbox({ checked, onChange, size, color, indeterminate, label, disabled, sx, }: CheckboxProps): import("react/jsx-runtime").JSX.Element;
14
+ declare namespace Checkbox {
15
+ var displayName: string;
16
+ }
17
+ export default Checkbox;
@@ -0,0 +1,13 @@
1
+ import { SxProps, Theme } from '@mui/material/styles';
2
+ export interface ColorPickerProps {
3
+ value: string;
4
+ onChange: (color: string) => void;
5
+ presets?: string[];
6
+ allowCustom?: boolean;
7
+ sx?: SxProps<Theme>;
8
+ }
9
+ declare function ColorPicker({ value, onChange, presets, allowCustom, sx, }: ColorPickerProps): import("react/jsx-runtime").JSX.Element;
10
+ declare namespace ColorPicker {
11
+ var displayName: string;
12
+ }
13
+ export default ColorPicker;
@@ -0,0 +1,10 @@
1
+ import { OutlinedInputProps } from '@mui/material/OutlinedInput';
2
+ export type DebounceProps = {
3
+ value: string;
4
+ onChange: (value: string) => void;
5
+ debounce?: number;
6
+ };
7
+ /**
8
+ * A debounced text input with search icon and clear button.
9
+ */
10
+ export declare function DebouncedInput({ value: initialValue, onChange, debounce, placeholder, ...rest }: Omit<OutlinedInputProps, 'onChange'> & DebounceProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,15 @@
1
+ import { SxProps, Theme } from '@mui/material/styles';
2
+ export interface FormFieldProps {
3
+ label?: string;
4
+ required?: boolean;
5
+ error?: string | boolean;
6
+ helperText?: string;
7
+ children: React.ReactNode;
8
+ layout?: 'vertical' | 'horizontal';
9
+ sx?: SxProps<Theme>;
10
+ }
11
+ declare function FormField({ label, required, error, helperText, children, layout, sx, }: FormFieldProps): import("react/jsx-runtime").JSX.Element;
12
+ declare namespace FormField {
13
+ var displayName: string;
14
+ }
15
+ export default FormField;
@@ -0,0 +1,14 @@
1
+ import { SxProps, Theme } from '@mui/material/styles';
2
+ export interface FormSectionProps {
3
+ title: string;
4
+ description?: string;
5
+ collapsible?: boolean;
6
+ defaultCollapsed?: boolean;
7
+ children: React.ReactNode;
8
+ sx?: SxProps<Theme>;
9
+ }
10
+ declare function FormSection({ title, description, collapsible, defaultCollapsed, children, sx, }: FormSectionProps): import("react/jsx-runtime").JSX.Element;
11
+ declare namespace FormSection {
12
+ var displayName: string;
13
+ }
14
+ export default FormSection;
@@ -0,0 +1,17 @@
1
+ import { SxProps, Theme } from '@mui/material/styles';
2
+ import { ComponentSize } from '../types';
3
+ export interface KeyValueEditorProps {
4
+ value: Record<string, string>;
5
+ onChange: (kv: Record<string, string>) => void;
6
+ addLabel?: string;
7
+ readOnly?: boolean;
8
+ validateKey?: (key: string) => string | undefined;
9
+ validateValue?: (value: string) => string | undefined;
10
+ size?: ComponentSize;
11
+ sx?: SxProps<Theme>;
12
+ }
13
+ declare function KeyValueEditor({ value, onChange, addLabel, readOnly, validateKey, validateValue, size, sx, }: KeyValueEditorProps): import("react/jsx-runtime").JSX.Element;
14
+ declare namespace KeyValueEditor {
15
+ var displayName: string;
16
+ }
17
+ export default KeyValueEditor;
@@ -0,0 +1,23 @@
1
+ import { SxProps, Theme } from '@mui/material/styles';
2
+ import { SemanticColor, ComponentSize } from '../types';
3
+ export interface RadioOption {
4
+ value: string;
5
+ label: string;
6
+ disabled?: boolean;
7
+ description?: string;
8
+ }
9
+ export interface RadioGroupProps {
10
+ options: RadioOption[];
11
+ value: string;
12
+ onChange: (value: string) => void;
13
+ size?: ComponentSize;
14
+ color?: SemanticColor;
15
+ layout?: 'row' | 'column';
16
+ label?: string;
17
+ sx?: SxProps<Theme>;
18
+ }
19
+ declare function RadioGroup({ options, value, onChange, size, color, layout, label, sx, }: RadioGroupProps): import("react/jsx-runtime").JSX.Element;
20
+ declare namespace RadioGroup {
21
+ var displayName: string;
22
+ }
23
+ export default RadioGroup;
@@ -0,0 +1,14 @@
1
+ import { default as React } from 'react';
2
+ type Props = {
3
+ /** Placeholder for the search input. */
4
+ placeholder?: string;
5
+ /** Value for the text input. */
6
+ value: string;
7
+ /** Handler for the text input. */
8
+ onChange: (value: string) => void;
9
+ };
10
+ /**
11
+ * Search input with icon and clear button.
12
+ */
13
+ declare const SearchInput: React.FC<Props>;
14
+ export default SearchInput;
@@ -0,0 +1,32 @@
1
+ import { SxProps, Theme } from '@mui/material/styles';
2
+ import { SemanticColor, ComponentSize } from '../types';
3
+ export interface SelectOption {
4
+ value: string;
5
+ label: string;
6
+ disabled?: boolean;
7
+ icon?: React.ReactNode;
8
+ }
9
+ export interface SelectProps {
10
+ options: SelectOption[];
11
+ value: string | string[];
12
+ onChange: (value: string | string[]) => void;
13
+ size?: ComponentSize;
14
+ color?: SemanticColor;
15
+ label?: string;
16
+ helperText?: string;
17
+ placeholder?: string;
18
+ searchable?: boolean;
19
+ multiple?: boolean;
20
+ loading?: boolean;
21
+ error?: boolean | string;
22
+ fullWidth?: boolean;
23
+ disabled?: boolean;
24
+ /** Show delete buttons on chips and a clear-all icon (multiple mode only) */
25
+ clearable?: boolean;
26
+ sx?: SxProps<Theme>;
27
+ }
28
+ declare function Select({ options, value, onChange, size, color, label, helperText, placeholder, searchable, multiple, loading, error, fullWidth, disabled, clearable, sx, }: SelectProps): import("react/jsx-runtime").JSX.Element;
29
+ declare namespace Select {
30
+ var displayName: string;
31
+ }
32
+ export default Select;
@@ -0,0 +1,24 @@
1
+ import { SxProps, Theme } from '@mui/material/styles';
2
+ import { SemanticColor, ComponentSize } from '../types';
3
+ export interface SliderProps {
4
+ value: number | number[];
5
+ onChange: (value: number | number[]) => void;
6
+ size?: ComponentSize;
7
+ color?: SemanticColor;
8
+ range?: boolean;
9
+ marks?: boolean | Array<{
10
+ value: number;
11
+ label?: string;
12
+ }>;
13
+ showValue?: boolean;
14
+ min?: number;
15
+ max?: number;
16
+ step?: number;
17
+ disabled?: boolean;
18
+ sx?: SxProps<Theme>;
19
+ }
20
+ declare function Slider({ value, onChange, size, color, marks, showValue, min, max, step, disabled, sx, }: SliderProps): import("react/jsx-runtime").JSX.Element;
21
+ declare namespace Slider {
22
+ var displayName: string;
23
+ }
24
+ export default Slider;
@@ -0,0 +1,17 @@
1
+ import { SxProps, Theme } from '@mui/material/styles';
2
+ import { SemanticColor, ComponentSize } from '../types';
3
+ export interface SwitchProps {
4
+ checked: boolean;
5
+ onChange: (checked: boolean) => void;
6
+ size?: ComponentSize;
7
+ color?: SemanticColor;
8
+ label?: string;
9
+ labelPlacement?: 'start' | 'end' | 'top' | 'bottom';
10
+ disabled?: boolean;
11
+ sx?: SxProps<Theme>;
12
+ }
13
+ declare function Switch({ checked, onChange, size, color, label, labelPlacement, disabled, sx, }: SwitchProps): import("react/jsx-runtime").JSX.Element;
14
+ declare namespace Switch {
15
+ var displayName: string;
16
+ }
17
+ export default Switch;
@@ -0,0 +1,18 @@
1
+ import { SxProps, Theme } from '@mui/material/styles';
2
+ import { SemanticColor, ComponentSize } from '../types';
3
+ export interface TagInputProps {
4
+ value: string[];
5
+ onChange: (tags: string[]) => void;
6
+ suggestions?: string[];
7
+ maxTags?: number;
8
+ creatable?: boolean;
9
+ size?: ComponentSize;
10
+ color?: SemanticColor;
11
+ placeholder?: string;
12
+ sx?: SxProps<Theme>;
13
+ }
14
+ declare function TagInput({ value, onChange, suggestions, maxTags, creatable, size, placeholder, sx, }: TagInputProps): import("react/jsx-runtime").JSX.Element;
15
+ declare namespace TagInput {
16
+ var displayName: string;
17
+ }
18
+ export default TagInput;
@@ -0,0 +1,26 @@
1
+ import { SxProps, Theme } from '@mui/material/styles';
2
+ import { SemanticColor, ComponentSize } from '../types';
3
+ export interface TextAreaProps {
4
+ value: string;
5
+ onChange: (value: string) => void;
6
+ size?: ComponentSize;
7
+ color?: SemanticColor;
8
+ autosize?: boolean;
9
+ maxLength?: number;
10
+ showCount?: boolean;
11
+ rows?: number;
12
+ minRows?: number;
13
+ maxRows?: number;
14
+ label?: string;
15
+ helperText?: string;
16
+ error?: boolean | string;
17
+ placeholder?: string;
18
+ fullWidth?: boolean;
19
+ disabled?: boolean;
20
+ sx?: SxProps<Theme>;
21
+ }
22
+ declare function TextArea({ value, onChange, size, color, autosize, maxLength, showCount, rows, minRows, maxRows, label, helperText, error, placeholder, fullWidth, disabled, sx, }: TextAreaProps): import("react/jsx-runtime").JSX.Element;
23
+ declare namespace TextArea {
24
+ var displayName: string;
25
+ }
26
+ export default TextArea;
@@ -0,0 +1,39 @@
1
+ import { SxProps, Theme } from '@mui/material/styles';
2
+ import { SemanticColor, ComponentSize } from '../types';
3
+ export interface TextFieldProps {
4
+ value?: string;
5
+ onChange?: (value: string) => void;
6
+ size?: ComponentSize;
7
+ color?: SemanticColor;
8
+ readOnly?: boolean;
9
+ monospace?: boolean;
10
+ debounced?: boolean;
11
+ debounceMs?: number;
12
+ label?: string;
13
+ helperText?: string;
14
+ error?: boolean | string;
15
+ placeholder?: string;
16
+ fullWidth?: boolean;
17
+ startAdornment?: React.ReactNode;
18
+ endAdornment?: React.ReactNode;
19
+ disabled?: boolean;
20
+ type?: string;
21
+ variant?: 'outlined' | 'filled' | 'standard';
22
+ autoFocus?: boolean;
23
+ autoComplete?: string;
24
+ onKeyDown?: React.KeyboardEventHandler<HTMLDivElement>;
25
+ onBlur?: React.FocusEventHandler<HTMLInputElement | HTMLTextAreaElement>;
26
+ onFocus?: React.FocusEventHandler<HTMLInputElement | HTMLTextAreaElement>;
27
+ name?: string;
28
+ id?: string;
29
+ /** Pass-through HTML input attributes (e.g. min, max, step) */
30
+ inputProps?: Record<string, unknown>;
31
+ /** Pass-through slotProps for MUI TextField */
32
+ slotProps?: Record<string, unknown>;
33
+ sx?: SxProps<Theme>;
34
+ }
35
+ declare function TextField({ value, onChange, size, color, readOnly, monospace, debounced, debounceMs, label, helperText, error, placeholder, fullWidth, startAdornment, endAdornment, disabled, type, variant, autoFocus, autoComplete, onKeyDown, onBlur, onFocus, name, id, inputProps, sx, }: TextFieldProps): import("react/jsx-runtime").JSX.Element;
36
+ declare namespace TextField {
37
+ var displayName: string;
38
+ }
39
+ export default TextField;
@@ -0,0 +1,21 @@
1
+ import { SxProps, Theme } from '@mui/material/styles';
2
+ export interface TimeRange {
3
+ from: Date;
4
+ to: Date;
5
+ }
6
+ export interface TimeRangePreset {
7
+ label: string;
8
+ duration: number;
9
+ }
10
+ export interface TimeRangePickerProps {
11
+ value: TimeRange;
12
+ onChange: (range: TimeRange) => void;
13
+ presets?: TimeRangePreset[];
14
+ customRange?: boolean;
15
+ sx?: SxProps<Theme>;
16
+ }
17
+ declare function TimeRangePicker({ value, onChange, presets, customRange, sx, }: TimeRangePickerProps): import("react/jsx-runtime").JSX.Element;
18
+ declare namespace TimeRangePicker {
19
+ var displayName: string;
20
+ }
21
+ export default TimeRangePicker;
@@ -0,0 +1,31 @@
1
+ export { DebouncedInput } from './DebouncedInput';
2
+ export type { DebounceProps } from './DebouncedInput';
3
+ export { default as SearchInput } from './SearchInput';
4
+ export { default as TextField } from './TextField';
5
+ export type { TextFieldProps } from './TextField';
6
+ export { default as TextArea } from './TextArea';
7
+ export type { TextAreaProps } from './TextArea';
8
+ export { default as Select } from './Select';
9
+ export type { SelectProps, SelectOption } from './Select';
10
+ export { default as Autocomplete } from './Autocomplete';
11
+ export type { AutocompleteProps, AutocompleteOption } from './Autocomplete';
12
+ export { default as Checkbox } from './Checkbox';
13
+ export type { CheckboxProps } from './Checkbox';
14
+ export { default as RadioGroup } from './RadioGroup';
15
+ export type { RadioGroupProps, RadioOption } from './RadioGroup';
16
+ export { default as Switch } from './Switch';
17
+ export type { SwitchProps } from './Switch';
18
+ export { default as Slider } from './Slider';
19
+ export type { SliderProps } from './Slider';
20
+ export { default as TagInput } from './TagInput';
21
+ export type { TagInputProps } from './TagInput';
22
+ export { default as KeyValueEditor } from './KeyValueEditor';
23
+ export type { KeyValueEditorProps } from './KeyValueEditor';
24
+ export { default as FormField } from './FormField';
25
+ export type { FormFieldProps } from './FormField';
26
+ export { default as FormSection } from './FormSection';
27
+ export type { FormSectionProps } from './FormSection';
28
+ export { default as ColorPicker } from './ColorPicker';
29
+ export type { ColorPickerProps } from './ColorPicker';
30
+ export { default as TimeRangePicker } from './TimeRangePicker';
31
+ export type { TimeRangePickerProps, TimeRange, TimeRangePreset } from './TimeRangePicker';