@monolith-forensics/monolith-ui 1.8.1-dev.4 → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Button/Button.js +58 -9
- package/dist/Calendar/Calendar.d.ts +2 -7
- package/dist/Calendar/Calendar.js +49 -226
- package/dist/Calendar/CalendarStyles.d.ts +2 -6
- package/dist/Calendar/CalendarStyles.js +33 -153
- package/dist/Calendar/calendarHelpers.d.ts +2 -6
- package/dist/Calendar/calendarHelpers.js +5 -13
- package/dist/CheckBox/CheckBox.js +19 -36
- package/dist/DateInput/DateInput.js +143 -198
- package/dist/DropDownMenu/DropDownMenu.js +15 -25
- package/dist/DropDownMenu/components/MenuComponent.js +2 -8
- package/dist/DropDownMenu/components/MenuItem.d.ts +0 -2
- package/dist/DropDownMenu/components/MenuItem.js +21 -25
- package/dist/DropDownMenu/components/MenuItemList.d.ts +0 -3
- package/dist/DropDownMenu/components/MenuItemList.js +86 -192
- package/dist/DropDownMenu/components/StyledContent.js +2 -1
- package/dist/DropDownMenu/components/StyledFloatContainer.js +1 -1
- package/dist/DropDownMenu/types.d.ts +0 -3
- package/dist/FieldLabel/FieldLabel.js +12 -4
- package/dist/FileInputField/FileInputField.js +23 -4
- package/dist/FileViewer/viewers/ImageViewer.js +18 -75
- package/dist/FormSection/FormSection.js +25 -5
- package/dist/IconButton/IconButton.js +16 -2
- package/dist/Input/Input.js +56 -7
- package/dist/MonolithUIProvider/MonolithUIProvider.d.ts +0 -1
- package/dist/Pill/Pill.js +79 -8
- package/dist/Popover/Popover.context.d.ts +1 -2
- package/dist/Popover/Popover.js +2 -5
- package/dist/Popover/Popover.styles.d.ts +6 -1
- package/dist/Popover/Popover.styles.js +28 -11
- package/dist/Popover/Popover.transitions.d.ts +2 -4
- package/dist/Popover/Popover.transitions.js +49 -23
- package/dist/Popover/PopoverDropdown.js +8 -6
- package/dist/Popover/PopoverTarget.js +3 -6
- package/dist/QueryFilter/DefaultOperators.d.ts +76 -0
- package/dist/QueryFilter/DefaultOperators.js +21 -0
- package/dist/QueryFilter/QueryFilter.d.ts +1 -1
- package/dist/QueryFilter/QueryFilter.js +303 -3
- package/dist/QueryFilter/index.d.ts +2 -3
- package/dist/QueryFilter/index.js +2 -3
- package/dist/QueryFilter/{QueryFilter.types.d.ts → types.d.ts} +2 -11
- package/dist/QueryFilter/useQueryFilter.d.ts +1 -1
- package/dist/QueryFilter/useQueryFilter.js +19 -23
- package/dist/RichTextEditor/Extensions/getTiptapExtensions.js +15 -5
- package/dist/RichTextEditor/Plugins/UploadImagesPlugin.d.ts +0 -15
- package/dist/RichTextEditor/Plugins/UploadImagesPlugin.js +51 -115
- package/dist/RichTextEditor/Plugins/index.d.ts +0 -1
- package/dist/RichTextEditor/Plugins/index.js +0 -1
- package/dist/RichTextEditor/RichTextEditor.d.ts +2 -3
- package/dist/RichTextEditor/RichTextEditor.js +35 -309
- package/dist/RichTextEditor/Toolbar/Toolbar.js +2 -14
- package/dist/SegmentedControl/SegmentedControl.utils.d.ts +2 -2
- package/dist/SegmentedControl/SegmentedControl.utils.js +30 -3
- package/dist/SelectBox/SelectBox.js +5 -5
- package/dist/SelectBox/select-box.styled-components.d.ts +1 -4
- package/dist/SelectBox/select-box.styled-components.js +48 -11
- package/dist/SelectBox/types.d.ts +0 -1
- package/dist/Switch/Switch.d.ts +2 -2
- package/dist/Switch/Switch.js +83 -18
- package/dist/Table/ColumnResizer.d.ts +9 -6
- package/dist/Table/ColumnResizer.js +10 -30
- package/dist/Table/StateStorage.d.ts +0 -4
- package/dist/Table/StateStorage.js +0 -13
- package/dist/Table/Table.js +12 -160
- package/dist/Table/TableComponents.d.ts +0 -10
- package/dist/Table/TableComponents.js +10 -71
- package/dist/Table/TableDefaults.d.ts +0 -7
- package/dist/Table/TableDefaults.js +0 -7
- package/dist/Table/TableHeader.js +16 -31
- package/dist/Table/TableMenu/TableMenu.js +1 -1
- package/dist/Table/TableProvider.js +75 -354
- package/dist/Table/TableRow.js +16 -28
- package/dist/Table/Utils/index.d.ts +1 -0
- package/dist/Table/Utils/index.js +1 -0
- package/dist/Table/Utils/resizeHandler.d.ts +3 -0
- package/dist/Table/Utils/resizeHandler.js +84 -0
- package/dist/Table/types.d.ts +19 -70
- package/dist/Tabs/Tab.js +0 -8
- package/dist/TagBox/TagBox.d.ts +1 -1
- package/dist/TagBox/TagBox.js +208 -50
- package/dist/TagBox/types.d.ts +13 -1
- package/dist/TextArea/TextArea.js +23 -9
- package/dist/TextInput/TextInput.js +6 -12
- package/dist/Utilities/parseTimestamp.js +6 -11
- package/dist/core/ArrowButton.d.ts +0 -2
- package/dist/core/ArrowButton.js +3 -7
- package/dist/core/ClearButton.d.ts +0 -2
- package/dist/core/ClearButton.js +3 -7
- package/dist/core/controlSizes.d.ts +0 -26
- package/dist/core/controlSizes.js +0 -156
- package/dist/index.d.ts +0 -3
- package/dist/index.js +0 -2
- package/dist/theme/variants.js +0 -2
- package/package.json +18 -26
- package/dist/Charts/BarChart/BarChart.d.ts +0 -5
- package/dist/Charts/BarChart/BarChart.js +0 -549
- package/dist/Charts/BarChart/BarChart.lib.d.ts +0 -31
- package/dist/Charts/BarChart/BarChart.lib.js +0 -136
- package/dist/Charts/BarChart/BarChart.styled.d.ts +0 -51
- package/dist/Charts/BarChart/BarChart.styled.js +0 -115
- package/dist/Charts/BarChart/BarChart.types.d.ts +0 -171
- package/dist/Charts/BarChart/index.d.ts +0 -3
- package/dist/Charts/BarChart/index.js +0 -2
- package/dist/Charts/ChartPrimitives/ChartExportControl.d.ts +0 -11
- package/dist/Charts/ChartPrimitives/ChartExportControl.js +0 -29
- package/dist/Charts/ChartPrimitives/chartActions.styled.d.ts +0 -1
- package/dist/Charts/ChartPrimitives/chartActions.styled.js +0 -8
- package/dist/Charts/ChartPrimitives/chartLegend.styled.d.ts +0 -12
- package/dist/Charts/ChartPrimitives/chartLegend.styled.js +0 -52
- package/dist/Charts/ChartPrimitives/chartTooltip.styled.d.ts +0 -19
- package/dist/Charts/ChartPrimitives/chartTooltip.styled.js +0 -61
- package/dist/Charts/ChartPrimitives/index.d.ts +0 -4
- package/dist/Charts/ChartPrimitives/index.js +0 -4
- package/dist/Charts/ChartUtils/chartColors.d.ts +0 -8
- package/dist/Charts/ChartUtils/chartColors.js +0 -65
- package/dist/Charts/ChartUtils/chartExport.d.ts +0 -47
- package/dist/Charts/ChartUtils/chartExport.js +0 -311
- package/dist/Charts/ChartUtils/chartMath.d.ts +0 -3
- package/dist/Charts/ChartUtils/chartMath.js +0 -3
- package/dist/Charts/ChartUtils/index.d.ts +0 -3
- package/dist/Charts/ChartUtils/index.js +0 -3
- package/dist/Charts/HeatMap/HeatMap.d.ts +0 -5
- package/dist/Charts/HeatMap/HeatMap.js +0 -212
- package/dist/Charts/HeatMap/HeatMap.lib.d.ts +0 -30
- package/dist/Charts/HeatMap/HeatMap.lib.js +0 -115
- package/dist/Charts/HeatMap/HeatMap.styled.d.ts +0 -37
- package/dist/Charts/HeatMap/HeatMap.styled.js +0 -91
- package/dist/Charts/HeatMap/HeatMap.types.d.ts +0 -80
- package/dist/Charts/HeatMap/HeatMap.types.js +0 -1
- package/dist/Charts/HeatMap/index.d.ts +0 -3
- package/dist/Charts/HeatMap/index.js +0 -2
- package/dist/Charts/LineChart/LineChart.d.ts +0 -5
- package/dist/Charts/LineChart/LineChart.js +0 -529
- package/dist/Charts/LineChart/LineChart.lib.d.ts +0 -24
- package/dist/Charts/LineChart/LineChart.lib.js +0 -132
- package/dist/Charts/LineChart/LineChart.styled.d.ts +0 -59
- package/dist/Charts/LineChart/LineChart.styled.js +0 -147
- package/dist/Charts/LineChart/LineChart.types.d.ts +0 -193
- package/dist/Charts/LineChart/LineChart.types.js +0 -1
- package/dist/Charts/LineChart/index.d.ts +0 -3
- package/dist/Charts/LineChart/index.js +0 -2
- package/dist/Charts/PieChart/PieChart.d.ts +0 -4
- package/dist/Charts/PieChart/PieChart.js +0 -199
- package/dist/Charts/PieChart/PieChart.lib.d.ts +0 -5
- package/dist/Charts/PieChart/PieChart.lib.js +0 -19
- package/dist/Charts/PieChart/PieChart.styled.d.ts +0 -51
- package/dist/Charts/PieChart/PieChart.styled.js +0 -163
- package/dist/Charts/PieChart/PieChart.types.d.ts +0 -100
- package/dist/Charts/PieChart/PieChart.types.js +0 -1
- package/dist/Charts/PieChart/index.d.ts +0 -2
- package/dist/Charts/PieChart/index.js +0 -1
- package/dist/Charts/index.d.ts +0 -5
- package/dist/Charts/index.js +0 -4
- package/dist/QueryFilter/QueryFilter.constants.d.ts +0 -134
- package/dist/QueryFilter/QueryFilter.constants.js +0 -39
- package/dist/QueryFilter/QueryFilter.lib.d.ts +0 -14
- package/dist/QueryFilter/QueryFilter.lib.js +0 -84
- package/dist/QueryFilter/QueryFilter.styled.d.ts +0 -89
- package/dist/QueryFilter/QueryFilter.styled.js +0 -184
- package/dist/QueryFilter/QueryFilter.types.js +0 -1
- package/dist/QueryFilter/components/MultiSelectEditor.d.ts +0 -7
- package/dist/QueryFilter/components/MultiSelectEditor.js +0 -44
- package/dist/QueryFilter/components/RuleChip.d.ts +0 -8
- package/dist/QueryFilter/components/RuleChip.js +0 -37
- package/dist/QueryFilter/components/Rules.d.ts +0 -11
- package/dist/QueryFilter/components/Rules.js +0 -41
- package/dist/QueryFilter/components/UnavailableRuleChip.d.ts +0 -5
- package/dist/QueryFilter/components/UnavailableRuleChip.js +0 -7
- package/dist/QueryFilter/components/ValueEditor.d.ts +0 -7
- package/dist/QueryFilter/components/ValueEditor.js +0 -45
- package/dist/QueryFilter/components/ValueSelector.d.ts +0 -7
- package/dist/QueryFilter/components/ValueSelector.js +0 -34
- package/dist/QueryFilter/components/index.d.ts +0 -6
- package/dist/QueryFilter/components/index.js +0 -6
- package/dist/RichTextEditor/Plugins/ImageActionsPlugin.d.ts +0 -3
- package/dist/RichTextEditor/Plugins/ImageActionsPlugin.js +0 -241
- package/dist/SuperDatePicker/SuperDatePicker.constants.d.ts +0 -24
- package/dist/SuperDatePicker/SuperDatePicker.constants.js +0 -30
- package/dist/SuperDatePicker/SuperDatePicker.d.ts +0 -3
- package/dist/SuperDatePicker/SuperDatePicker.js +0 -31
- package/dist/SuperDatePicker/SuperDatePicker.lib.d.ts +0 -17
- package/dist/SuperDatePicker/SuperDatePicker.lib.js +0 -206
- package/dist/SuperDatePicker/SuperDatePicker.styled.d.ts +0 -60
- package/dist/SuperDatePicker/SuperDatePicker.styled.js +0 -256
- package/dist/SuperDatePicker/SuperDatePicker.types.d.ts +0 -48
- package/dist/SuperDatePicker/SuperDatePicker.types.js +0 -1
- package/dist/SuperDatePicker/components/CommonPresetGroups.d.ts +0 -7
- package/dist/SuperDatePicker/components/CommonPresetGroups.js +0 -6
- package/dist/SuperDatePicker/components/EndpointCalendarDropdown.d.ts +0 -10
- package/dist/SuperDatePicker/components/EndpointCalendarDropdown.js +0 -9
- package/dist/SuperDatePicker/components/EndpointDateInput.d.ts +0 -16
- package/dist/SuperDatePicker/components/EndpointDateInput.js +0 -26
- package/dist/SuperDatePicker/components/EndpointPopover.d.ts +0 -18
- package/dist/SuperDatePicker/components/EndpointPopover.js +0 -11
- package/dist/SuperDatePicker/components/QuickRangeDropdown.d.ts +0 -14
- package/dist/SuperDatePicker/components/QuickRangeDropdown.js +0 -19
- package/dist/SuperDatePicker/components/QuickRangePopover.d.ts +0 -18
- package/dist/SuperDatePicker/components/QuickRangePopover.js +0 -12
- package/dist/SuperDatePicker/components/index.d.ts +0 -6
- package/dist/SuperDatePicker/components/index.js +0 -6
- package/dist/SuperDatePicker/index.d.ts +0 -3
- package/dist/SuperDatePicker/index.js +0 -3
- package/dist/SuperDatePicker/useSuperDatePicker.d.ts +0 -32
- package/dist/SuperDatePicker/useSuperDatePicker.js +0 -125
- /package/dist/{Charts/BarChart/BarChart.types.js → QueryFilter/types.js} +0 -0
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import Size from "./Types/Size";
|
|
2
1
|
interface ClearButtonProps {
|
|
3
2
|
className?: string;
|
|
4
|
-
size?: Size;
|
|
5
3
|
[key: string]: React.ButtonHTMLAttributes<HTMLButtonElement> | any;
|
|
6
4
|
}
|
|
7
5
|
declare const ClearButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<ClearButtonProps, never>> & string & Omit<({ className, ...props }: ClearButtonProps) => import("react/jsx-runtime").JSX.Element, keyof import("react").Component<any, {}, any>>;
|
package/dist/core/ClearButton.js
CHANGED
|
@@ -12,10 +12,9 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
13
|
import { X } from "lucide-react";
|
|
14
14
|
import styled from "styled-components";
|
|
15
|
-
import { DEFAULT_CONTROL_SIZE, getControlSizeTokens } from "./controlSizes";
|
|
16
15
|
const ClearIcon = styled((_a) => {
|
|
17
16
|
var { className } = _a, props = __rest(_a, ["className"]);
|
|
18
|
-
return (_jsx("div", Object.assign({ className: className }, props, { children: _jsx(X, { size:
|
|
17
|
+
return (_jsx("div", Object.assign({ className: className }, props, { children: _jsx(X, { size: 16 }) })));
|
|
19
18
|
}) `
|
|
20
19
|
color: ${(props) => props.theme.palette.text.secondary};
|
|
21
20
|
transition: transform 0.2s ease-in-out;
|
|
@@ -29,19 +28,16 @@ const ClearIcon = styled((_a) => {
|
|
|
29
28
|
`;
|
|
30
29
|
const ClearButton = styled((_a) => {
|
|
31
30
|
var { className } = _a, props = __rest(_a, ["className"]);
|
|
32
|
-
return (_jsx("button", Object.assign({ className: className }, props, { tabIndex: -1, "data-default-btn": true, children: _jsx(ClearIcon, {
|
|
31
|
+
return (_jsx("button", Object.assign({ className: className }, props, { tabIndex: -1, "data-default-btn": true, children: _jsx(ClearIcon, {}) })));
|
|
33
32
|
}) `
|
|
34
33
|
position: absolute;
|
|
35
34
|
right: 0;
|
|
36
35
|
height: 100%;
|
|
37
|
-
|
|
36
|
+
padding-inline: 10px;
|
|
38
37
|
background: none;
|
|
39
38
|
border: none;
|
|
40
39
|
cursor: pointer;
|
|
41
40
|
margin: 0;
|
|
42
41
|
outline: none;
|
|
43
|
-
display: flex;
|
|
44
|
-
align-items: center;
|
|
45
|
-
justify-content: center;
|
|
46
42
|
`;
|
|
47
43
|
export default ClearButton;
|
|
@@ -1,34 +1,8 @@
|
|
|
1
1
|
import Size from "./Types/Size";
|
|
2
2
|
export declare const DEFAULT_CONTROL_SIZE: Size;
|
|
3
3
|
export type ControlSizeTokens = {
|
|
4
|
-
height: number;
|
|
5
4
|
fontSize: number;
|
|
6
|
-
labelFontSize: number;
|
|
7
|
-
supportingFontSize: number;
|
|
8
|
-
placeholderFontSize: number;
|
|
9
|
-
inputPaddingX: number;
|
|
10
|
-
buttonPaddingX: number;
|
|
11
|
-
iconSize: number;
|
|
12
|
-
iconGap: number;
|
|
13
|
-
adornmentWidth: number;
|
|
14
5
|
menuRowHeight: number;
|
|
15
6
|
menuItemPaddingX: number;
|
|
16
|
-
menuGroupFontSize: number;
|
|
17
|
-
switchTrackWidth: number;
|
|
18
|
-
switchTrackHeight: number;
|
|
19
|
-
switchThumbSize: number;
|
|
20
|
-
switchPadding: number;
|
|
21
|
-
switchGap: number;
|
|
22
|
-
checkboxIconSize: number;
|
|
23
|
-
iconButtonPaddingX: number;
|
|
24
|
-
pillHeight: number;
|
|
25
|
-
pillFontSize: number;
|
|
26
|
-
pillPaddingX: number;
|
|
27
|
-
pillIconSize: number;
|
|
28
|
-
pillGap: number;
|
|
29
|
-
segmentedHeight: number;
|
|
30
|
-
segmentedFontSize: number;
|
|
31
|
-
sectionTitleFontSize: number;
|
|
32
|
-
sectionIconSize: number;
|
|
33
7
|
};
|
|
34
8
|
export declare const getControlSizeTokens: (size?: Size) => ControlSizeTokens;
|
|
@@ -1,190 +1,34 @@
|
|
|
1
1
|
export const DEFAULT_CONTROL_SIZE = "sm";
|
|
2
2
|
const CONTROL_SIZE_TOKENS = {
|
|
3
3
|
xxs: {
|
|
4
|
-
height: 24,
|
|
5
4
|
fontSize: 11,
|
|
6
|
-
labelFontSize: 11,
|
|
7
|
-
supportingFontSize: 10,
|
|
8
|
-
placeholderFontSize: 10,
|
|
9
|
-
inputPaddingX: 8,
|
|
10
|
-
buttonPaddingX: 8,
|
|
11
|
-
iconSize: 14,
|
|
12
|
-
iconGap: 4,
|
|
13
|
-
adornmentWidth: 24,
|
|
14
5
|
menuRowHeight: 24,
|
|
15
6
|
menuItemPaddingX: 8,
|
|
16
|
-
menuGroupFontSize: 10,
|
|
17
|
-
switchTrackWidth: 24,
|
|
18
|
-
switchTrackHeight: 14,
|
|
19
|
-
switchThumbSize: 10,
|
|
20
|
-
switchPadding: 2,
|
|
21
|
-
switchGap: 6,
|
|
22
|
-
checkboxIconSize: 12,
|
|
23
|
-
iconButtonPaddingX: 4,
|
|
24
|
-
pillHeight: 18,
|
|
25
|
-
pillFontSize: 9,
|
|
26
|
-
pillPaddingX: 6,
|
|
27
|
-
pillIconSize: 10,
|
|
28
|
-
pillGap: 4,
|
|
29
|
-
segmentedHeight: 22,
|
|
30
|
-
segmentedFontSize: 11,
|
|
31
|
-
sectionTitleFontSize: 12,
|
|
32
|
-
sectionIconSize: 12,
|
|
33
7
|
},
|
|
34
8
|
xs: {
|
|
35
|
-
height: 28,
|
|
36
9
|
fontSize: 12,
|
|
37
|
-
labelFontSize: 12,
|
|
38
|
-
supportingFontSize: 11,
|
|
39
|
-
placeholderFontSize: 11,
|
|
40
|
-
inputPaddingX: 10,
|
|
41
|
-
buttonPaddingX: 12,
|
|
42
|
-
iconSize: 14,
|
|
43
|
-
iconGap: 6,
|
|
44
|
-
adornmentWidth: 28,
|
|
45
10
|
menuRowHeight: 28,
|
|
46
11
|
menuItemPaddingX: 10,
|
|
47
|
-
menuGroupFontSize: 11,
|
|
48
|
-
switchTrackWidth: 28,
|
|
49
|
-
switchTrackHeight: 16,
|
|
50
|
-
switchThumbSize: 12,
|
|
51
|
-
switchPadding: 2,
|
|
52
|
-
switchGap: 8,
|
|
53
|
-
checkboxIconSize: 14,
|
|
54
|
-
iconButtonPaddingX: 4,
|
|
55
|
-
pillHeight: 20,
|
|
56
|
-
pillFontSize: 10,
|
|
57
|
-
pillPaddingX: 8,
|
|
58
|
-
pillIconSize: 12,
|
|
59
|
-
pillGap: 5,
|
|
60
|
-
segmentedHeight: 26,
|
|
61
|
-
segmentedFontSize: 12,
|
|
62
|
-
sectionTitleFontSize: 13,
|
|
63
|
-
sectionIconSize: 12,
|
|
64
12
|
},
|
|
65
13
|
sm: {
|
|
66
|
-
height: 32,
|
|
67
14
|
fontSize: 13,
|
|
68
|
-
labelFontSize: 12,
|
|
69
|
-
supportingFontSize: 11,
|
|
70
|
-
placeholderFontSize: 12,
|
|
71
|
-
inputPaddingX: 12,
|
|
72
|
-
buttonPaddingX: 14,
|
|
73
|
-
iconSize: 16,
|
|
74
|
-
iconGap: 6,
|
|
75
|
-
adornmentWidth: 32,
|
|
76
15
|
menuRowHeight: 32,
|
|
77
16
|
menuItemPaddingX: 12,
|
|
78
|
-
menuGroupFontSize: 11,
|
|
79
|
-
switchTrackWidth: 32,
|
|
80
|
-
switchTrackHeight: 18,
|
|
81
|
-
switchThumbSize: 14,
|
|
82
|
-
switchPadding: 2,
|
|
83
|
-
switchGap: 8,
|
|
84
|
-
checkboxIconSize: 16,
|
|
85
|
-
iconButtonPaddingX: 6,
|
|
86
|
-
pillHeight: 22,
|
|
87
|
-
pillFontSize: 12,
|
|
88
|
-
pillPaddingX: 10,
|
|
89
|
-
pillIconSize: 14,
|
|
90
|
-
pillGap: 5,
|
|
91
|
-
segmentedHeight: 32,
|
|
92
|
-
segmentedFontSize: 14,
|
|
93
|
-
sectionTitleFontSize: 14,
|
|
94
|
-
sectionIconSize: 14,
|
|
95
17
|
},
|
|
96
18
|
md: {
|
|
97
|
-
height: 36,
|
|
98
19
|
fontSize: 14,
|
|
99
|
-
labelFontSize: 13,
|
|
100
|
-
supportingFontSize: 12,
|
|
101
|
-
placeholderFontSize: 13,
|
|
102
|
-
inputPaddingX: 12,
|
|
103
|
-
buttonPaddingX: 16,
|
|
104
|
-
iconSize: 16,
|
|
105
|
-
iconGap: 8,
|
|
106
|
-
adornmentWidth: 36,
|
|
107
20
|
menuRowHeight: 36,
|
|
108
21
|
menuItemPaddingX: 12,
|
|
109
|
-
menuGroupFontSize: 12,
|
|
110
|
-
switchTrackWidth: 36,
|
|
111
|
-
switchTrackHeight: 20,
|
|
112
|
-
switchThumbSize: 16,
|
|
113
|
-
switchPadding: 2,
|
|
114
|
-
switchGap: 10,
|
|
115
|
-
checkboxIconSize: 18,
|
|
116
|
-
iconButtonPaddingX: 8,
|
|
117
|
-
pillHeight: 24,
|
|
118
|
-
pillFontSize: 14,
|
|
119
|
-
pillPaddingX: 12,
|
|
120
|
-
pillIconSize: 16,
|
|
121
|
-
pillGap: 5,
|
|
122
|
-
segmentedHeight: 38,
|
|
123
|
-
segmentedFontSize: 16,
|
|
124
|
-
sectionTitleFontSize: 16,
|
|
125
|
-
sectionIconSize: 18,
|
|
126
22
|
},
|
|
127
23
|
lg: {
|
|
128
|
-
height: 44,
|
|
129
24
|
fontSize: 15,
|
|
130
|
-
labelFontSize: 14,
|
|
131
|
-
supportingFontSize: 13,
|
|
132
|
-
placeholderFontSize: 14,
|
|
133
|
-
inputPaddingX: 14,
|
|
134
|
-
buttonPaddingX: 18,
|
|
135
|
-
iconSize: 18,
|
|
136
|
-
iconGap: 8,
|
|
137
|
-
adornmentWidth: 44,
|
|
138
25
|
menuRowHeight: 44,
|
|
139
26
|
menuItemPaddingX: 14,
|
|
140
|
-
menuGroupFontSize: 13,
|
|
141
|
-
switchTrackWidth: 44,
|
|
142
|
-
switchTrackHeight: 24,
|
|
143
|
-
switchThumbSize: 20,
|
|
144
|
-
switchPadding: 2,
|
|
145
|
-
switchGap: 12,
|
|
146
|
-
checkboxIconSize: 20,
|
|
147
|
-
iconButtonPaddingX: 10,
|
|
148
|
-
pillHeight: 26,
|
|
149
|
-
pillFontSize: 16,
|
|
150
|
-
pillPaddingX: 14,
|
|
151
|
-
pillIconSize: 18,
|
|
152
|
-
pillGap: 5,
|
|
153
|
-
segmentedHeight: 46,
|
|
154
|
-
segmentedFontSize: 18,
|
|
155
|
-
sectionTitleFontSize: 18,
|
|
156
|
-
sectionIconSize: 24,
|
|
157
27
|
},
|
|
158
28
|
xl: {
|
|
159
|
-
height: 52,
|
|
160
29
|
fontSize: 16,
|
|
161
|
-
labelFontSize: 15,
|
|
162
|
-
supportingFontSize: 14,
|
|
163
|
-
placeholderFontSize: 15,
|
|
164
|
-
inputPaddingX: 16,
|
|
165
|
-
buttonPaddingX: 22,
|
|
166
|
-
iconSize: 18,
|
|
167
|
-
iconGap: 10,
|
|
168
|
-
adornmentWidth: 52,
|
|
169
30
|
menuRowHeight: 52,
|
|
170
31
|
menuItemPaddingX: 16,
|
|
171
|
-
menuGroupFontSize: 14,
|
|
172
|
-
switchTrackWidth: 52,
|
|
173
|
-
switchTrackHeight: 28,
|
|
174
|
-
switchThumbSize: 24,
|
|
175
|
-
switchPadding: 2,
|
|
176
|
-
switchGap: 12,
|
|
177
|
-
checkboxIconSize: 22,
|
|
178
|
-
iconButtonPaddingX: 12,
|
|
179
|
-
pillHeight: 28,
|
|
180
|
-
pillFontSize: 18,
|
|
181
|
-
pillPaddingX: 16,
|
|
182
|
-
pillIconSize: 20,
|
|
183
|
-
pillGap: 5,
|
|
184
|
-
segmentedHeight: 56,
|
|
185
|
-
segmentedFontSize: 20,
|
|
186
|
-
sectionTitleFontSize: 20,
|
|
187
|
-
sectionIconSize: 28,
|
|
188
32
|
},
|
|
189
33
|
};
|
|
190
34
|
export const getControlSizeTokens = (size = DEFAULT_CONTROL_SIZE) => CONTROL_SIZE_TOKENS[size];
|
package/dist/index.d.ts
CHANGED
|
@@ -14,8 +14,6 @@ export * from "./Alert";
|
|
|
14
14
|
export * from "./Kanban";
|
|
15
15
|
export { default as IconButton } from "./IconButton";
|
|
16
16
|
export { default as DateInput } from "./DateInput";
|
|
17
|
-
export { default as SuperDatePicker } from "./SuperDatePicker";
|
|
18
|
-
export type { SuperDatePickerChangeMeta, SuperDatePickerProps, SuperDatePickerPreset, SuperDatePickerValue, } from "./SuperDatePicker";
|
|
19
17
|
export { default as TextArea } from "./TextArea";
|
|
20
18
|
export { default as TextAreaInput } from "./TextAreaInput";
|
|
21
19
|
export type { ActionMenuOptions, TextAreaInputProps } from "./TextAreaInput";
|
|
@@ -46,5 +44,4 @@ export * from "./Tabs";
|
|
|
46
44
|
export * from "./Divider";
|
|
47
45
|
export * from "./SegmentedControl";
|
|
48
46
|
export * from "./Popover";
|
|
49
|
-
export * from "./Charts";
|
|
50
47
|
export * from "./Utilities";
|
package/dist/index.js
CHANGED
|
@@ -9,7 +9,6 @@ export * from "./Alert";
|
|
|
9
9
|
export * from "./Kanban";
|
|
10
10
|
export { default as IconButton } from "./IconButton";
|
|
11
11
|
export { default as DateInput } from "./DateInput";
|
|
12
|
-
export { default as SuperDatePicker } from "./SuperDatePicker";
|
|
13
12
|
export { default as TextArea } from "./TextArea";
|
|
14
13
|
export { default as TextAreaInput } from "./TextAreaInput";
|
|
15
14
|
export { default as TagBox } from "./TagBox";
|
|
@@ -36,5 +35,4 @@ export * from "./Tabs";
|
|
|
36
35
|
export * from "./Divider";
|
|
37
36
|
export * from "./SegmentedControl";
|
|
38
37
|
export * from "./Popover";
|
|
39
|
-
export * from "./Charts";
|
|
40
38
|
export * from "./Utilities";
|
package/dist/theme/variants.js
CHANGED
|
@@ -79,7 +79,6 @@ const lightVariant = {
|
|
|
79
79
|
alt: "#ededed",
|
|
80
80
|
secondary: "#f0f0f0",
|
|
81
81
|
gradient: "linear-gradient(#FFFFFF 0%, #ccdcf9 50%)",
|
|
82
|
-
subtle: "#ededed",
|
|
83
82
|
},
|
|
84
83
|
menu: {
|
|
85
84
|
background: "#FFF",
|
|
@@ -243,7 +242,6 @@ const darkVariant = merge(lightVariant, {
|
|
|
243
242
|
alt: "#1e1e1e",
|
|
244
243
|
secondary: "#303030",
|
|
245
244
|
gradient: "linear-gradient(#333333 0%, #1e1e1e 50%)",
|
|
246
|
-
subtle: "#333333",
|
|
247
245
|
},
|
|
248
246
|
menu: {
|
|
249
247
|
background: "#222222",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@monolith-forensics/monolith-ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.9.0",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"author": "Matt Danner (Monolith Forensics LLC)",
|
|
@@ -40,22 +40,24 @@
|
|
|
40
40
|
"@radix-ui/react-switch": "^1.0.7",
|
|
41
41
|
"@radix-ui/react-tooltip": "^1.0.7",
|
|
42
42
|
"@tabler/icons-react": "^3.11.0",
|
|
43
|
-
"@tiptap/
|
|
44
|
-
"@tiptap/extension-
|
|
45
|
-
"@tiptap/extension-horizontal-rule": "
|
|
46
|
-
"@tiptap/extension-image": "
|
|
47
|
-
"@tiptap/extension-
|
|
48
|
-
"@tiptap/extension-
|
|
49
|
-
"@tiptap/extension-
|
|
50
|
-
"@tiptap/
|
|
51
|
-
"@tiptap/
|
|
52
|
-
"@tiptap/
|
|
53
|
-
"@tiptap/
|
|
54
|
-
"@tiptap/
|
|
43
|
+
"@tiptap/extension-color": "^2.9.1",
|
|
44
|
+
"@tiptap/extension-focus": "^2.5.9",
|
|
45
|
+
"@tiptap/extension-horizontal-rule": "^2.5.9",
|
|
46
|
+
"@tiptap/extension-image": "^2.5.9",
|
|
47
|
+
"@tiptap/extension-placeholder": "^2.5.9",
|
|
48
|
+
"@tiptap/extension-table": "^2.5.8",
|
|
49
|
+
"@tiptap/extension-table-cell": "^2.5.8",
|
|
50
|
+
"@tiptap/extension-table-header": "^2.5.8",
|
|
51
|
+
"@tiptap/extension-table-row": "^2.5.8",
|
|
52
|
+
"@tiptap/extension-text-align": "^2.5.8",
|
|
53
|
+
"@tiptap/extension-text-style": "^2.9.1",
|
|
54
|
+
"@tiptap/extension-underline": "^2.5.8",
|
|
55
|
+
"@tiptap/pm": "^2.5.8",
|
|
56
|
+
"@tiptap/react": "^2.5.8",
|
|
57
|
+
"@tiptap/starter-kit": "^2.5.8",
|
|
58
|
+
"@tiptap/suggestion": "^2.5.9",
|
|
55
59
|
"@uiw/codemirror-theme-vscode": "^4.23.6",
|
|
56
60
|
"@uiw/react-codemirror": "^4.23.6",
|
|
57
|
-
"d3-scale": "^4.0.2",
|
|
58
|
-
"d3-shape": "^3.2.0",
|
|
59
61
|
"deepmerge": "^4.3.1",
|
|
60
62
|
"exceljs": "^4.4.0",
|
|
61
63
|
"lucide-react": "^0.469.0",
|
|
@@ -81,22 +83,12 @@
|
|
|
81
83
|
},
|
|
82
84
|
"devDependencies": {
|
|
83
85
|
"@tanstack/react-query": "5.59.16",
|
|
84
|
-
"@types/d3-scale": "^4.0.9",
|
|
85
|
-
"@types/d3-shape": "^3.1.8",
|
|
86
86
|
"@types/overlayscrollbars": "^1.12.5",
|
|
87
|
-
"@types/react": "
|
|
88
|
-
"@types/react-dom": "19.0.3",
|
|
87
|
+
"@types/react-dom": "^18.3.0",
|
|
89
88
|
"@types/react-window": "^1.8.8",
|
|
90
89
|
"@types/spark-md5": "^3.0.4",
|
|
91
90
|
"chokidar-cli": "^3.0.0",
|
|
92
91
|
"typescript": "^5.5.4",
|
|
93
92
|
"yalc": "^1.0.0-pre.53"
|
|
94
|
-
},
|
|
95
|
-
"resolutions": {
|
|
96
|
-
"@types/react": "19.0.8",
|
|
97
|
-
"prosemirror-model": "1.25.4",
|
|
98
|
-
"prosemirror-state": "1.4.4",
|
|
99
|
-
"prosemirror-transform": "1.12.0",
|
|
100
|
-
"prosemirror-view": "1.41.8"
|
|
101
93
|
}
|
|
102
94
|
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { ReactElement, RefAttributes } from "react";
|
|
2
|
-
import { ChartHandle } from "../ChartUtils";
|
|
3
|
-
import { BarChartProps } from "./BarChart.types";
|
|
4
|
-
export declare const BarChart: <TData>(props: BarChartProps<TData> & RefAttributes<ChartHandle>) => ReactElement | null;
|
|
5
|
-
export default BarChart;
|