@yogiswara/honcho-editor-ui 1.0.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 (91) hide show
  1. package/dist/components/editor/HAccordionAspectRatio.d.ts +14 -0
  2. package/dist/components/editor/HAccordionAspectRatio.js +102 -0
  3. package/dist/components/editor/HAccordionColor.d.ts +12 -0
  4. package/dist/components/editor/HAccordionColor.js +234 -0
  5. package/dist/components/editor/HAccordionColorAdjustment.d.ts +31 -0
  6. package/dist/components/editor/HAccordionColorAdjustment.js +37 -0
  7. package/dist/components/editor/HAccordionDetails.d.ts +8 -0
  8. package/dist/components/editor/HAccordionDetails.js +133 -0
  9. package/dist/components/editor/HAccordionLight.d.ts +16 -0
  10. package/dist/components/editor/HAccordionLight.js +342 -0
  11. package/dist/components/editor/HAccordionPreset.d.ts +23 -0
  12. package/dist/components/editor/HAccordionPreset.js +59 -0
  13. package/dist/components/editor/HAlertBox.d.ts +7 -0
  14. package/dist/components/editor/HAlertBox.js +46 -0
  15. package/dist/components/editor/HAspectRatioMobile.d.ts +0 -0
  16. package/dist/components/editor/HAspectRatioMobile.js +1 -0
  17. package/dist/components/editor/HBulkAccordionColorAdjustment.d.ts +55 -0
  18. package/dist/components/editor/HBulkAccordionColorAdjustment.js +31 -0
  19. package/dist/components/editor/HBulkAccordionColorAdjustmentColors.d.ts +20 -0
  20. package/dist/components/editor/HBulkAccordionColorAdjustmentColors.js +121 -0
  21. package/dist/components/editor/HBulkAccordionColorAdjustmentDetails.d.ts +12 -0
  22. package/dist/components/editor/HBulkAccordionColorAdjustmentDetails.js +65 -0
  23. package/dist/components/editor/HBulkAccordionColorAdjustmentLight.d.ts +28 -0
  24. package/dist/components/editor/HBulkAccordionColorAdjustmentLight.js +177 -0
  25. package/dist/components/editor/HBulkColorAdjustmentMobile.d.ts +53 -0
  26. package/dist/components/editor/HBulkColorAdjustmentMobile.js +16 -0
  27. package/dist/components/editor/HBulkColorMobile.d.ts +20 -0
  28. package/dist/components/editor/HBulkColorMobile.js +121 -0
  29. package/dist/components/editor/HBulkDetailsMobile.d.ts +12 -0
  30. package/dist/components/editor/HBulkDetailsMobile.js +65 -0
  31. package/dist/components/editor/HBulkLightMobile.d.ts +28 -0
  32. package/dist/components/editor/HBulkLightMobile.js +192 -0
  33. package/dist/components/editor/HBulkPreset.d.ts +24 -0
  34. package/dist/components/editor/HBulkPreset.js +33 -0
  35. package/dist/components/editor/HBulkPresetMobile.d.ts +15 -0
  36. package/dist/components/editor/HBulkPresetMobile.js +26 -0
  37. package/dist/components/editor/HDialogBox.d.ts +18 -0
  38. package/dist/components/editor/HDialogBox.js +51 -0
  39. package/dist/components/editor/HDialogCopy.d.ts +40 -0
  40. package/dist/components/editor/HDialogCopy.js +80 -0
  41. package/dist/components/editor/HFooter.d.ts +12 -0
  42. package/dist/components/editor/HFooter.js +24 -0
  43. package/dist/components/editor/HHeaderEditor.d.ts +17 -0
  44. package/dist/components/editor/HHeaderEditor.js +27 -0
  45. package/dist/components/editor/HImageEditorBulkDekstop.d.ts +15 -0
  46. package/dist/components/editor/HImageEditorBulkDekstop.js +26 -0
  47. package/dist/components/editor/HImageEditorBulkMobile.d.ts +72 -0
  48. package/dist/components/editor/HImageEditorBulkMobile.js +81 -0
  49. package/dist/components/editor/HImageEditorDekstop.d.ts +15 -0
  50. package/dist/components/editor/HImageEditorDekstop.js +29 -0
  51. package/dist/components/editor/HImageEditorMobile.d.ts +47 -0
  52. package/dist/components/editor/HImageEditorMobile.js +91 -0
  53. package/dist/components/editor/HImageEditorMobileLayout.d.ts +14 -0
  54. package/dist/components/editor/HImageEditorMobileLayout.js +57 -0
  55. package/dist/components/editor/HImageEditorPage.d.ts +1 -0
  56. package/dist/components/editor/HImageEditorPage.js +187 -0
  57. package/dist/components/editor/HModalEditorDekstop.d.ts +13 -0
  58. package/dist/components/editor/HModalEditorDekstop.js +22 -0
  59. package/dist/components/editor/HModalMobile.d.ts +12 -0
  60. package/dist/components/editor/HModalMobile.js +7 -0
  61. package/dist/components/editor/HPresetOptionMenu.d.ts +11 -0
  62. package/dist/components/editor/HPresetOptionMenu.js +20 -0
  63. package/dist/components/editor/HSliderColorMobile.d.ts +12 -0
  64. package/dist/components/editor/HSliderColorMobile.js +222 -0
  65. package/dist/components/editor/HSliderDetailsMobile.d.ts +8 -0
  66. package/dist/components/editor/HSliderDetailsMobile.js +130 -0
  67. package/dist/components/editor/HSliderLightMobile.d.ts +16 -0
  68. package/dist/components/editor/HSliderLightMobile.js +342 -0
  69. package/dist/components/editor/HTabAspectRatioMobile.d.ts +0 -0
  70. package/dist/components/editor/HTabAspectRatioMobile.js +1 -0
  71. package/dist/components/editor/HTabColorAdjustmentMobile.d.ts +29 -0
  72. package/dist/components/editor/HTabColorAdjustmentMobile.js +16 -0
  73. package/dist/components/editor/HTabPresetMobile.d.ts +14 -0
  74. package/dist/components/editor/HTabPresetMobile.js +10 -0
  75. package/dist/components/editor/HTextField.d.ts +14 -0
  76. package/dist/components/editor/HTextField.js +51 -0
  77. package/dist/components/editor/HWatermarkView.d.ts +6 -0
  78. package/dist/components/editor/HWatermarkView.js +16 -0
  79. package/dist/hooks/editor/useHonchoEditor.d.ts +272 -0
  80. package/dist/hooks/editor/useHonchoEditor.js +1203 -0
  81. package/dist/index.d.ts +23 -0
  82. package/dist/index.js +23 -0
  83. package/dist/lib/editor/honcho-editor.d.ts +324 -0
  84. package/dist/lib/editor/honcho-editor.js +825 -0
  85. package/dist/themes/colors.d.ts +12 -0
  86. package/dist/themes/colors.js +12 -0
  87. package/dist/themes/honchoTheme.d.ts +25 -0
  88. package/dist/themes/honchoTheme.js +94 -0
  89. package/dist/utils/isMobile.d.ts +1 -0
  90. package/dist/utils/isMobile.js +5 -0
  91. package/package.json +41 -0
@@ -0,0 +1,121 @@
1
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
+ import { Stack, Typography, CardMedia, IconButton } from "@mui/material";
3
+ import useHonchoTypography from "@/honchoTheme";
4
+ import useColors from "@/colors";
5
+ export default function HBulkColorMobile(props) {
6
+ const typography = useHonchoTypography();
7
+ const colors = useColors();
8
+ return (_jsx(_Fragment, { children: _jsxs(Stack, { spacing: 0, direction: "column", sx: { width: '100%', pl: "10px", m: "0px" }, children: [_jsx(Stack, { direction: "row", justifyContent: "space-between", alignItems: "center", sx: { mb: "6px" }, children: _jsx(Typography, { sx: { ...typography.bodyMedium, color: colors.surface }, children: "Temperature" }) }), _jsxs(Stack, { direction: "row", justifyContent: "space-between", sx: { p: "0px", m: "0px", pt: "2px", pb: "16px" }, children: [_jsx(IconButton, { onClick: props.onTempDecreaseMax, sx: {
9
+ width: "76px",
10
+ height: "28px",
11
+ py: "2px",
12
+ mr: "12px",
13
+ border: "1px solid white",
14
+ borderRadius: "100px",
15
+ }, children: _jsx(CardMedia, { component: "img", image: "/v1/svg/bulk-editor-max-button.svg", sx: { width: "20px", height: "20px", mr: "2px" } }) }), _jsx(IconButton, { onClick: props.onTempDecrease, sx: {
16
+ width: "76px",
17
+ height: "28px",
18
+ py: "2px",
19
+ mr: "12px",
20
+ border: "1px solid white",
21
+ borderRadius: "100px",
22
+ }, children: _jsx(CardMedia, { component: "img", image: "/v1/svg/bulk-editor-increment-button.svg", sx: { width: "20px", height: "20px", mr: "3px" } }) }), _jsx(IconButton, { onClick: props.onTempIncrease, sx: {
23
+ width: "76px",
24
+ height: "28px",
25
+ py: "2px",
26
+ mr: "12px",
27
+ border: "1px solid white",
28
+ borderRadius: "100px",
29
+ }, children: _jsx(CardMedia, { component: "img", image: "/v1/svg/bulk-editor-increment-button-right.svg", sx: { width: "20px", height: "20px", ml: "3px" } }) }), _jsx(IconButton, { onClick: props.onTempIncreaseMax, sx: {
30
+ width: "76px",
31
+ height: "28px",
32
+ py: "2px",
33
+ mr: "12px",
34
+ border: "1px solid white",
35
+ borderRadius: "100px",
36
+ }, children: _jsx(CardMedia, { component: "img", image: "/v1/svg/bulk-editor-max-button-right.svg", sx: { width: "20px", height: "20px", ml: "2px" } }) })] }), _jsx(Stack, { direction: "row", justifyContent: "space-between", alignItems: "center", sx: { mb: "6px" }, children: _jsx(Typography, { sx: { ...typography.bodyMedium, color: colors.surface }, children: "Tint" }) }), _jsxs(Stack, { direction: "row", justifyContent: "space-between", sx: { p: "0px", m: "0px", pt: "2px", pb: "16px" }, children: [_jsx(IconButton, { onClick: props.onTintDecreaseMax, sx: {
37
+ width: "76px",
38
+ height: "28px",
39
+ py: "2px",
40
+ mr: "12px",
41
+ border: "1px solid white",
42
+ borderRadius: "100px",
43
+ }, children: _jsx(CardMedia, { component: "img", image: "/v1/svg/bulk-editor-max-button.svg", sx: { width: "20px", height: "20px", mr: "2px" } }) }), _jsx(IconButton, { onClick: props.onTintDecrease, sx: {
44
+ width: "76px",
45
+ height: "28px",
46
+ py: "2px",
47
+ mr: "12px",
48
+ border: "1px solid white",
49
+ borderRadius: "100px",
50
+ }, children: _jsx(CardMedia, { component: "img", image: "/v1/svg/bulk-editor-increment-button.svg", sx: { width: "20px", height: "20px", mr: "3px" } }) }), _jsx(IconButton, { onClick: props.onTintIncrease, sx: {
51
+ width: "76px",
52
+ height: "28px",
53
+ py: "2px",
54
+ mr: "12px",
55
+ border: "1px solid white",
56
+ borderRadius: "100px",
57
+ }, children: _jsx(CardMedia, { component: "img", image: "/v1/svg/bulk-editor-increment-button-right.svg", sx: { width: "20px", height: "20px", ml: "3px" } }) }), _jsx(IconButton, { onClick: props.onTintIncreaseMax, sx: {
58
+ width: "76px",
59
+ height: "28px",
60
+ py: "2px",
61
+ mr: "12px",
62
+ border: "1px solid white",
63
+ borderRadius: "100px",
64
+ }, children: _jsx(CardMedia, { component: "img", image: "/v1/svg/bulk-editor-max-button-right.svg", sx: { width: "20px", height: "20px", ml: "2px" } }) })] }), _jsx(Stack, { direction: "row", justifyContent: "space-between", alignItems: "center", sx: { mb: "6px" }, children: _jsx(Typography, { sx: { ...typography.bodyMedium, color: colors.surface }, children: "Vibrance" }) }), _jsxs(Stack, { direction: "row", justifyContent: "space-between", sx: { p: "0px", m: "0px", pt: "2px", pb: "16px" }, children: [_jsx(IconButton, { onClick: props.onVibranceDecreaseMax, sx: {
65
+ width: "76px",
66
+ height: "28px",
67
+ py: "2px",
68
+ mr: "12px",
69
+ border: "1px solid white",
70
+ borderRadius: "100px",
71
+ }, children: _jsx(CardMedia, { component: "img", image: "/v1/svg/bulk-editor-max-button.svg", sx: { width: "20px", height: "20px", mr: "2px" } }) }), _jsx(IconButton, { onClick: props.onVibranceDecrease, sx: {
72
+ width: "76px",
73
+ height: "28px",
74
+ py: "2px",
75
+ mr: "12px",
76
+ border: "1px solid white",
77
+ borderRadius: "100px",
78
+ }, children: _jsx(CardMedia, { component: "img", image: "/v1/svg/bulk-editor-increment-button.svg", sx: { width: "20px", height: "20px", mr: "3px" } }) }), _jsx(IconButton, { onClick: props.onVibranceIncrease, sx: {
79
+ width: "76px",
80
+ height: "28px",
81
+ py: "2px",
82
+ mr: "12px",
83
+ border: "1px solid white",
84
+ borderRadius: "100px",
85
+ }, children: _jsx(CardMedia, { component: "img", image: "/v1/svg/bulk-editor-increment-button-right.svg", sx: { width: "20px", height: "20px", ml: "3px" } }) }), _jsx(IconButton, { onClick: props.onVibranceIncreaseMax, sx: {
86
+ width: "76px",
87
+ height: "28px",
88
+ py: "2px",
89
+ mr: "12px",
90
+ border: "1px solid white",
91
+ borderRadius: "100px",
92
+ }, children: _jsx(CardMedia, { component: "img", image: "/v1/svg/bulk-editor-max-button-right.svg", sx: { width: "20px", height: "20px", ml: "2px" } }) })] }), _jsx(Stack, { direction: "row", justifyContent: "space-between", alignItems: "center", sx: { mb: "6px" }, children: _jsx(Typography, { sx: { ...typography.bodyMedium, color: colors.surface }, children: "Saturation" }) }), _jsxs(Stack, { direction: "row", justifyContent: "space-between", sx: { p: "0px", m: "0px", pt: "2px", pb: "16px" }, children: [_jsx(IconButton, { onClick: props.onSaturationDecreaseMax, sx: {
93
+ width: "76px",
94
+ height: "28px",
95
+ py: "2px",
96
+ mr: "12px",
97
+ border: "1px solid white",
98
+ borderRadius: "100px",
99
+ }, children: _jsx(CardMedia, { component: "img", image: "/v1/svg/bulk-editor-max-button.svg", sx: { width: "20px", height: "20px", mr: "2px" } }) }), _jsx(IconButton, { onClick: props.onSaturationDecrease, sx: {
100
+ width: "76px",
101
+ height: "28px",
102
+ py: "2px",
103
+ mr: "12px",
104
+ border: "1px solid white",
105
+ borderRadius: "100px",
106
+ }, children: _jsx(CardMedia, { component: "img", image: "/v1/svg/bulk-editor-increment-button.svg", sx: { width: "20px", height: "20px", mr: "3px" } }) }), _jsx(IconButton, { onClick: props.onSaturationIncrease, sx: {
107
+ width: "76px",
108
+ height: "28px",
109
+ py: "2px",
110
+ mr: "12px",
111
+ border: "1px solid white",
112
+ borderRadius: "100px",
113
+ }, children: _jsx(CardMedia, { component: "img", image: "/v1/svg/bulk-editor-increment-button-right.svg", sx: { width: "20px", height: "20px", ml: "3px" } }) }), _jsx(IconButton, { onClick: props.onSaturationIncreaseMax, sx: {
114
+ width: "76px",
115
+ height: "28px",
116
+ py: "2px",
117
+ mr: "12px",
118
+ border: "1px solid white",
119
+ borderRadius: "100px",
120
+ }, children: _jsx(CardMedia, { component: "img", image: "/v1/svg/bulk-editor-max-button-right.svg", sx: { width: "20px", height: "20px", ml: "2px" } }) })] })] }) }));
121
+ }
@@ -0,0 +1,12 @@
1
+ interface Props {
2
+ onClarityDecreaseMax: () => void;
3
+ onClarityDecrease: () => void;
4
+ onClarityIncrease: () => void;
5
+ onClarityIncreaseMax: () => void;
6
+ onSharpnessDecreaseMax: () => void;
7
+ onSharpnessDecrease: () => void;
8
+ onSharpnessIncrease: () => void;
9
+ onSharpnessIncreaseMax: () => void;
10
+ }
11
+ export default function HBulkDetailsMobile(props: Props): import("react/jsx-runtime").JSX.Element;
12
+ export {};
@@ -0,0 +1,65 @@
1
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
+ import { Stack, Typography, CardMedia, IconButton } from "@mui/material";
3
+ import useColors from "@/colors";
4
+ import useHonchoTypography from "@/honchoTheme";
5
+ export default function HBulkDetailsMobile(props) {
6
+ const typography = useHonchoTypography();
7
+ const colors = useColors();
8
+ return (_jsx(_Fragment, { children: _jsxs(Stack, { spacing: 0, direction: "column", sx: { width: '100%', pl: "10px", m: "0px" }, children: [_jsx(Stack, { direction: "row", justifyContent: "space-between", alignItems: "center", sx: { mb: "6px" }, children: _jsx(Typography, { sx: { ...typography.bodyMedium, color: colors.surface }, children: "Clarity" }) }), _jsxs(Stack, { direction: "row", justifyContent: "space-between", sx: { p: "0px", m: "0px", pt: "2px", pb: "16px" }, children: [_jsx(IconButton, { onClick: props.onClarityDecreaseMax, sx: {
9
+ width: "76px",
10
+ height: "28px",
11
+ py: "2px",
12
+ mr: "12px",
13
+ border: "1px solid white",
14
+ borderRadius: "100px",
15
+ }, children: _jsx(CardMedia, { component: "img", image: "/v1/svg/bulk-editor-max-button.svg", sx: { width: "20px", height: "20px", mr: "2px" } }) }), _jsx(IconButton, { onClick: props.onClarityDecrease, sx: {
16
+ width: "76px",
17
+ height: "28px",
18
+ py: "2px",
19
+ mr: "12px",
20
+ border: "1px solid white",
21
+ borderRadius: "100px",
22
+ }, children: _jsx(CardMedia, { component: "img", image: "/v1/svg/bulk-editor-increment-button.svg", sx: { width: "20px", height: "20px", mr: "3px" } }) }), _jsx(IconButton, { onClick: props.onClarityIncrease, sx: {
23
+ width: "76px",
24
+ height: "28px",
25
+ py: "2px",
26
+ mr: "12px",
27
+ border: "1px solid white",
28
+ borderRadius: "100px",
29
+ }, children: _jsx(CardMedia, { component: "img", image: "/v1/svg/bulk-editor-increment-button-right.svg", sx: { width: "20px", height: "20px", ml: "3px" } }) }), _jsx(IconButton, { onClick: props.onClarityIncreaseMax, sx: {
30
+ width: "76px",
31
+ height: "28px",
32
+ py: "2px",
33
+ mr: "12px",
34
+ border: "1px solid white",
35
+ borderRadius: "100px",
36
+ }, children: _jsx(CardMedia, { component: "img", image: "/v1/svg/bulk-editor-max-button-right.svg", sx: { width: "20px", height: "20px", ml: "2px" } }) })] }), _jsx(Stack, { direction: "row", justifyContent: "space-between", alignItems: "center", sx: { mb: "6px" }, children: _jsx(Typography, { sx: { ...typography.bodyMedium, color: colors.surface }, children: "Sharpness" }) }), _jsxs(Stack, { direction: "row", justifyContent: "space-between", sx: { p: "0px", m: "0px", pt: "2px", pb: "2px" }, children: [_jsx(IconButton, { onClick: props.onSharpnessDecreaseMax, sx: {
37
+ width: "76px",
38
+ height: "28px",
39
+ py: "2px",
40
+ mr: "12px",
41
+ border: "1px solid white",
42
+ borderRadius: "100px",
43
+ }, children: _jsx(CardMedia, { component: "img", image: "/v1/svg/bulk-editor-max-button.svg", sx: { width: "20px", height: "20px", mr: "2px" } }) }), _jsx(IconButton, { onClick: props.onSharpnessDecrease, sx: {
44
+ width: "76px",
45
+ height: "28px",
46
+ py: "2px",
47
+ mr: "12px",
48
+ border: "1px solid white",
49
+ borderRadius: "100px",
50
+ }, children: _jsx(CardMedia, { component: "img", image: "/v1/svg/bulk-editor-increment-button.svg", sx: { width: "20px", height: "20px", mr: "3px" } }) }), _jsx(IconButton, { onClick: props.onSharpnessIncrease, sx: {
51
+ width: "76px",
52
+ height: "28px",
53
+ py: "2px",
54
+ mr: "12px",
55
+ border: "1px solid white",
56
+ borderRadius: "100px",
57
+ }, children: _jsx(CardMedia, { component: "img", image: "/v1/svg/bulk-editor-increment-button-right.svg", sx: { width: "20px", height: "20px", ml: "3px" } }) }), _jsx(IconButton, { onClick: props.onSharpnessIncreaseMax, sx: {
58
+ width: "76px",
59
+ height: "28px",
60
+ py: "2px",
61
+ mr: "12px",
62
+ border: "1px solid white",
63
+ borderRadius: "100px",
64
+ }, children: _jsx(CardMedia, { component: "img", image: "/v1/svg/bulk-editor-max-button-right.svg", sx: { width: "20px", height: "20px", ml: "2px" } }) })] })] }) }));
65
+ }
@@ -0,0 +1,28 @@
1
+ interface Props {
2
+ onExposureDecreaseMax: () => void;
3
+ onExposureDecrease: () => void;
4
+ onExposureIncrease: () => void;
5
+ onExposureIncreaseMax: () => void;
6
+ onContrastDecreaseMax: () => void;
7
+ onContrastDecrease: () => void;
8
+ onContrastIncrease: () => void;
9
+ onContrastIncreaseMax: () => void;
10
+ onHighlightsDecreaseMax: () => void;
11
+ onHighlightsDecrease: () => void;
12
+ onHighlightsIncrease: () => void;
13
+ onHighlightsIncreaseMax: () => void;
14
+ onShadowsDecreaseMax: () => void;
15
+ onShadowsDecrease: () => void;
16
+ onShadowsIncrease: () => void;
17
+ onShadowsIncreaseMax: () => void;
18
+ onWhitesDecreaseMax: () => void;
19
+ onWhitesDecrease: () => void;
20
+ onWhitesIncrease: () => void;
21
+ onWhitesIncreaseMax: () => void;
22
+ onBlacksDecreaseMax: () => void;
23
+ onBlacksDecrease: () => void;
24
+ onBlacksIncrease: () => void;
25
+ onBlacksIncreaseMax: () => void;
26
+ }
27
+ export default function HBulkLightMobile(props: Props): import("react/jsx-runtime").JSX.Element;
28
+ export {};
@@ -0,0 +1,192 @@
1
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
+ import { Stack, Typography, CardMedia, IconButton } from "@mui/material";
3
+ import useHonchoTypography from "@/honchoTheme";
4
+ import useColors from "@/colors";
5
+ export default function HBulkLightMobile(props) {
6
+ const typography = useHonchoTypography();
7
+ const colors = useColors();
8
+ const formatValue = (value) => {
9
+ if (value > 0)
10
+ return `+${value}`;
11
+ return value.toString();
12
+ };
13
+ const handleInputChange = (event, min, max, onChange) => {
14
+ const value = event.target.value;
15
+ if (value === '+' || value === '-')
16
+ return;
17
+ let numericValue = parseInt(value, 10);
18
+ if (isNaN(numericValue))
19
+ numericValue = 0;
20
+ const clampedValue = Math.max(min, Math.min(max, numericValue));
21
+ onChange(clampedValue);
22
+ };
23
+ return (_jsx(_Fragment, { children: _jsxs(Stack, { spacing: 0, direction: "column", sx: { width: '100%', pl: "10px", m: "0px" }, children: [_jsx(Stack, { direction: "row", justifyContent: "space-between", alignItems: "center", sx: { mb: "6px" }, children: _jsx(Typography, { sx: { ...typography.bodyMedium, color: colors.surface }, children: "Exposure" }) }), _jsxs(Stack, { direction: "row", justifyContent: "space-between", sx: { p: "0px", m: "0px", pt: "2px", pb: "16px" }, children: [_jsx(IconButton, { onClick: props.onExposureDecreaseMax, sx: {
24
+ width: "76px",
25
+ height: "28px",
26
+ py: "2px",
27
+ mr: "12px",
28
+ border: "1px solid white",
29
+ borderRadius: "100px",
30
+ }, children: _jsx(CardMedia, { component: "img", image: "/v1/svg/bulk-editor-max-button.svg", sx: { width: "20px", height: "20px", mr: "2px" } }) }), _jsx(IconButton, { onClick: props.onExposureDecrease, sx: {
31
+ width: "76px",
32
+ height: "28px",
33
+ py: "2px",
34
+ mr: "12px",
35
+ border: "1px solid white",
36
+ borderRadius: "100px",
37
+ }, children: _jsx(CardMedia, { component: "img", image: "/v1/svg/bulk-editor-increment-button.svg", sx: { width: "20px", height: "20px", mr: "3px" } }) }), _jsx(IconButton, { onClick: props.onExposureIncrease, sx: {
38
+ width: "76px",
39
+ height: "28px",
40
+ py: "2px",
41
+ mr: "12px",
42
+ border: "1px solid white",
43
+ borderRadius: "100px",
44
+ }, children: _jsx(CardMedia, { component: "img", image: "/v1/svg/bulk-editor-increment-button-right.svg", sx: { width: "20px", height: "20px", ml: "3px" } }) }), _jsx(IconButton, { onClick: props.onExposureIncreaseMax, sx: {
45
+ width: "76px",
46
+ height: "28px",
47
+ py: "2px",
48
+ mr: "12px",
49
+ border: "1px solid white",
50
+ borderRadius: "100px",
51
+ }, children: _jsx(CardMedia, { component: "img", image: "/v1/svg/bulk-editor-max-button-right.svg", sx: { width: "20px", height: "20px", ml: "2px" } }) })] }), _jsx(Stack, { direction: "row", justifyContent: "space-between", alignItems: "center", sx: { mb: "6px" }, children: _jsx(Typography, { sx: { ...typography.bodyMedium, color: colors.surface }, children: "Contrast" }) }), _jsxs(Stack, { direction: "row", justifyContent: "space-between", sx: { p: "0px", m: "0px", pt: "2px", pb: "16px" }, children: [_jsx(IconButton, { onClick: props.onContrastDecreaseMax, sx: {
52
+ width: "76px",
53
+ height: "28px",
54
+ py: "2px",
55
+ mr: "12px",
56
+ border: "1px solid white",
57
+ borderRadius: "100px",
58
+ }, children: _jsx(CardMedia, { component: "img", image: "/v1/svg/bulk-editor-max-button.svg", sx: { width: "20px", height: "20px", mr: "2px" } }) }), _jsx(IconButton, { onClick: props.onContrastDecrease, sx: {
59
+ width: "76px",
60
+ height: "28px",
61
+ py: "2px",
62
+ mr: "12px",
63
+ border: "1px solid white",
64
+ borderRadius: "100px",
65
+ }, children: _jsx(CardMedia, { component: "img", image: "/v1/svg/bulk-editor-increment-button.svg", sx: { width: "20px", height: "20px", mr: "3px" } }) }), _jsx(IconButton, { onClick: props.onContrastIncrease, sx: {
66
+ width: "76px",
67
+ height: "28px",
68
+ py: "2px",
69
+ mr: "12px",
70
+ border: "1px solid white",
71
+ borderRadius: "100px",
72
+ }, children: _jsx(CardMedia, { component: "img", image: "/v1/svg/bulk-editor-increment-button-right.svg", sx: { width: "20px", height: "20px", ml: "3px" } }) }), _jsx(IconButton, { onClick: props.onContrastIncreaseMax, sx: {
73
+ width: "76px",
74
+ height: "28px",
75
+ py: "2px",
76
+ mr: "12px",
77
+ border: "1px solid white",
78
+ borderRadius: "100px",
79
+ }, children: _jsx(CardMedia, { component: "img", image: "/v1/svg/bulk-editor-max-button-right.svg", sx: { width: "20px", height: "20px", ml: "2px" } }) })] }), _jsx(Stack, { direction: "row", justifyContent: "space-between", alignItems: "center", sx: { mb: "6px" }, children: _jsx(Typography, { sx: { ...typography.bodyMedium, color: colors.surface }, children: "Highlights" }) }), _jsxs(Stack, { direction: "row", justifyContent: "space-between", sx: { p: "0px", m: "0px", pt: "2px", pb: "16px" }, children: [_jsx(IconButton, { onClick: props.onHighlightsDecreaseMax, sx: {
80
+ width: "76px",
81
+ height: "28px",
82
+ py: "2px",
83
+ mr: "12px",
84
+ border: "1px solid white",
85
+ borderRadius: "100px",
86
+ }, children: _jsx(CardMedia, { component: "img", image: "/v1/svg/bulk-editor-max-button.svg", sx: { width: "20px", height: "20px", mr: "2px" } }) }), _jsx(IconButton, { onClick: props.onHighlightsDecrease, sx: {
87
+ width: "76px",
88
+ height: "28px",
89
+ py: "2px",
90
+ mr: "12px",
91
+ border: "1px solid white",
92
+ borderRadius: "100px",
93
+ }, children: _jsx(CardMedia, { component: "img", image: "/v1/svg/bulk-editor-increment-button.svg", sx: { width: "20px", height: "20px", mr: "3px" } }) }), _jsx(IconButton, { onClick: props.onHighlightsIncrease, sx: {
94
+ width: "76px",
95
+ height: "28px",
96
+ py: "2px",
97
+ mr: "12px",
98
+ border: "1px solid white",
99
+ borderRadius: "100px",
100
+ }, children: _jsx(CardMedia, { component: "img", image: "/v1/svg/bulk-editor-increment-button-right.svg", sx: { width: "20px", height: "20px", ml: "3px" } }) }), _jsx(IconButton, { onClick: props.onHighlightsIncreaseMax, sx: {
101
+ width: "76px",
102
+ height: "28px",
103
+ py: "2px",
104
+ mr: "12px",
105
+ border: "1px solid white",
106
+ borderRadius: "100px",
107
+ }, children: _jsx(CardMedia, { component: "img", image: "/v1/svg/bulk-editor-max-button-right.svg", sx: { width: "20px", height: "20px", ml: "2px" } }) })] }), _jsx(Stack, { direction: "row", justifyContent: "space-between", alignItems: "center", sx: { mb: "6px" }, children: _jsx(Typography, { sx: { ...typography.bodyMedium, color: colors.surface }, children: "Shadows" }) }), _jsxs(Stack, { direction: "row", justifyContent: "space-between", sx: { p: "0px", m: "0px", pt: "2px", pb: "16px" }, children: [_jsx(IconButton, { onClick: props.onShadowsDecreaseMax, sx: {
108
+ width: "76px",
109
+ height: "28px",
110
+ py: "2px",
111
+ mr: "12px",
112
+ border: "1px solid white",
113
+ borderRadius: "100px",
114
+ }, children: _jsx(CardMedia, { component: "img", image: "/v1/svg/bulk-editor-max-button.svg", sx: { width: "20px", height: "20px", mr: "2px" } }) }), _jsx(IconButton, { onClick: props.onShadowsDecrease, sx: {
115
+ width: "76px",
116
+ height: "28px",
117
+ py: "2px",
118
+ mr: "12px",
119
+ border: "1px solid white",
120
+ borderRadius: "100px",
121
+ }, children: _jsx(CardMedia, { component: "img", image: "/v1/svg/bulk-editor-increment-button.svg", sx: { width: "20px", height: "20px", mr: "3px" } }) }), _jsx(IconButton, { onClick: props.onShadowsIncrease, sx: {
122
+ width: "76px",
123
+ height: "28px",
124
+ py: "2px",
125
+ mr: "12px",
126
+ border: "1px solid white",
127
+ borderRadius: "100px",
128
+ }, children: _jsx(CardMedia, { component: "img", image: "/v1/svg/bulk-editor-increment-button-right.svg", sx: { width: "20px", height: "20px", ml: "3px" } }) }), _jsx(IconButton, { onClick: props.onShadowsIncreaseMax, sx: {
129
+ width: "76px",
130
+ height: "28px",
131
+ py: "2px",
132
+ mr: "12px",
133
+ border: "1px solid white",
134
+ borderRadius: "100px",
135
+ }, children: _jsx(CardMedia, { component: "img", image: "/v1/svg/bulk-editor-max-button-right.svg", sx: { width: "20px", height: "20px", ml: "2px" } }) })] }), _jsx(Stack, { direction: "row", justifyContent: "space-between", alignItems: "center", sx: { mb: "6px" }, children: _jsx(Typography, { sx: { ...typography.bodyMedium, color: colors.surface }, children: "Whites" }) }), _jsxs(Stack, { direction: "row", justifyContent: "space-between", sx: { p: "0px", m: "0px", pt: "2px", pb: "16px" }, children: [_jsx(IconButton, { onClick: props.onWhitesDecreaseMax, sx: {
136
+ width: "76px",
137
+ height: "28px",
138
+ py: "2px",
139
+ mr: "12px",
140
+ border: "1px solid white",
141
+ borderRadius: "100px",
142
+ }, children: _jsx(CardMedia, { component: "img", image: "/v1/svg/bulk-editor-max-button.svg", sx: { width: "20px", height: "20px", mr: "2px" } }) }), _jsx(IconButton, { onClick: props.onWhitesDecrease, sx: {
143
+ width: "76px",
144
+ height: "28px",
145
+ py: "2px",
146
+ mr: "12px",
147
+ border: "1px solid white",
148
+ borderRadius: "100px",
149
+ }, children: _jsx(CardMedia, { component: "img", image: "/v1/svg/bulk-editor-increment-button.svg", sx: { width: "20px", height: "20px", mr: "3px" } }) }), _jsx(IconButton, { onClick: props.onWhitesIncrease, sx: {
150
+ width: "76px",
151
+ height: "28px",
152
+ py: "2px",
153
+ mr: "12px",
154
+ border: "1px solid white",
155
+ borderRadius: "100px",
156
+ }, children: _jsx(CardMedia, { component: "img", image: "/v1/svg/bulk-editor-increment-button-right.svg", sx: { width: "20px", height: "20px", ml: "3px" } }) }), _jsx(IconButton, { onClick: props.onWhitesIncreaseMax, sx: {
157
+ width: "76px",
158
+ height: "28px",
159
+ py: "2px",
160
+ mr: "12px",
161
+ border: "1px solid white",
162
+ borderRadius: "100px",
163
+ }, children: _jsx(CardMedia, { component: "img", image: "/v1/svg/bulk-editor-max-button-right.svg", sx: { width: "20px", height: "20px", ml: "2px" } }) })] }), _jsx(Stack, { direction: "row", justifyContent: "space-between", alignItems: "center", sx: { mb: "6px" }, children: _jsx(Typography, { sx: { ...typography.bodyMedium, color: colors.surface }, children: "Blacks" }) }), _jsxs(Stack, { direction: "row", justifyContent: "space-between", sx: { p: "0px", m: "0px", pt: "2px", pb: "16px" }, children: [_jsx(IconButton, { onClick: props.onBlacksDecreaseMax, sx: {
164
+ width: "76px",
165
+ height: "28px",
166
+ py: "2px",
167
+ mr: "12px",
168
+ border: "1px solid white",
169
+ borderRadius: "100px",
170
+ }, children: _jsx(CardMedia, { component: "img", image: "/v1/svg/bulk-editor-max-button.svg", sx: { width: "20px", height: "20px", mr: "2px" } }) }), _jsx(IconButton, { onClick: props.onBlacksDecrease, sx: {
171
+ width: "76px",
172
+ height: "28px",
173
+ py: "2px",
174
+ mr: "12px",
175
+ border: "1px solid white",
176
+ borderRadius: "100px",
177
+ }, children: _jsx(CardMedia, { component: "img", image: "/v1/svg/bulk-editor-increment-button.svg", sx: { width: "20px", height: "20px", mr: "3px" } }) }), _jsx(IconButton, { onClick: props.onBlacksIncrease, sx: {
178
+ width: "76px",
179
+ height: "28px",
180
+ py: "2px",
181
+ mr: "12px",
182
+ border: "1px solid white",
183
+ borderRadius: "100px",
184
+ }, children: _jsx(CardMedia, { component: "img", image: "/v1/svg/bulk-editor-increment-button-right.svg", sx: { width: "20px", height: "20px", ml: "3px" } }) }), _jsx(IconButton, { onClick: props.onBlacksIncreaseMax, sx: {
185
+ width: "76px",
186
+ height: "28px",
187
+ py: "2px",
188
+ mr: "12px",
189
+ border: "1px solid white",
190
+ borderRadius: "100px",
191
+ }, children: _jsx(CardMedia, { component: "img", image: "/v1/svg/bulk-editor-max-button-right.svg", sx: { width: "20px", height: "20px", ml: "2px" } }) })] })] }) }));
192
+ }
@@ -0,0 +1,24 @@
1
+ import React from "react";
2
+ import { SelectChangeEvent } from "@mui/material";
3
+ type Preset = {
4
+ id: string;
5
+ name: string;
6
+ };
7
+ interface Props {
8
+ presets: Preset[];
9
+ selectedPreset: string;
10
+ expandedPanels: string[];
11
+ presetMenuAnchorEl: null | HTMLElement;
12
+ activePresetMenuId: string | null;
13
+ isMenuOpen: boolean;
14
+ onPanelChange: (panel: string) => (event: React.SyntheticEvent, isExpanded: boolean) => void;
15
+ onSelectPreset: (event: SelectChangeEvent<string>) => void;
16
+ onPresetMenuClick: (event: React.MouseEvent<HTMLElement>, presetId: string) => void;
17
+ onPresetMenuClose: () => void;
18
+ onRemovePreset: () => void;
19
+ onRenamePreset: () => void;
20
+ onDeletePreset: () => void;
21
+ onOpenPresetModal: () => void;
22
+ }
23
+ export default function HBulkPreset(props: Props): import("react/jsx-runtime").JSX.Element;
24
+ export {};
@@ -0,0 +1,33 @@
1
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
+ import { Box, MenuItem, FormControl, Select, Stack, Accordion, AccordionSummary, AccordionDetails, CardMedia, Typography, IconButton, Button } from "@mui/material";
3
+ import useHonchoTypography from "@/honchoTheme";
4
+ import useColors from "@/colors";
5
+ // Static `presets` array has been removed.
6
+ export default function HBulkPreset(props) {
7
+ const typography = useHonchoTypography();
8
+ const colors = useColors();
9
+ const isMenuOpen = Boolean(props.presetMenuAnchorEl);
10
+ const isPanelExpanded = (panelName) => props.expandedPanels.includes(panelName);
11
+ const accordionStyle = {
12
+ backgroundColor: colors.onBackground,
13
+ color: colors.surface,
14
+ '& .MuiAccordionSummary-root': { backgroundColor: colors.onBackground, color: colors.surface },
15
+ '& .MuiAccordionDetails-root': { backgroundColor: colors.onBackground, color: colors.surface },
16
+ '& .MuiTypography-root': { color: colors.surface },
17
+ '& .MuiSvgIcon-root': { color: colors.surface }
18
+ };
19
+ const CustomSelectIcon = (iconProps) => {
20
+ const isExpanded = iconProps.className?.includes('MuiSelect-iconOpen');
21
+ return (_jsx(CardMedia, { component: "img", image: isExpanded ? "/v1/svg/expand-editor.svg" : "/v1/svg/expanded-editor.svg", sx: { width: "11.67px", height: "5.83px", right: '14px', position: 'absolute', pointerEvents: 'none' } }));
22
+ };
23
+ return (_jsx(_Fragment, { children: _jsx(Stack, { children: _jsxs(Accordion, { sx: accordionStyle, expanded: isPanelExpanded('preset'), onChange: props.onPanelChange('preset'), disableGutters: true, children: [_jsx(AccordionSummary, { children: _jsxs(Stack, { direction: "row", justifyContent: "space-between", alignItems: "center", sx: { width: '100%' }, children: [_jsx(Typography, { sx: { ...typography.titleMedium, color: colors.surface }, children: "Preset" }), _jsx(CardMedia, { component: "img", image: isPanelExpanded('preset') ? "/v1/svg/expanded-editor.svg" : "/v1/svg/expand-editor.svg", sx: { width: "11.67px", height: "5.83px" } })] }) }), _jsx(AccordionDetails, { children: _jsx(FormControl, { fullWidth: true, children: _jsxs(Select, { fullWidth: true, value: props.selectedPreset, onChange: props.onSelectPreset, IconComponent: CustomSelectIcon, renderValue: (selectedId) => {
24
+ // Uses props.presets to find the name
25
+ const selectedPresetObject = props.presets.find(p => p.id === selectedId);
26
+ if (!selectedPresetObject) {
27
+ return _jsx(Typography, { sx: { ...typography.bodyMedium }, children: "Select" });
28
+ }
29
+ return _jsx(Typography, { sx: { ...typography.bodyMedium }, children: selectedPresetObject.name });
30
+ }, MenuProps: {
31
+ slotProps: { paper: { sx: { backgroundColor: colors.onBackground, color: colors.surface, border: `1px solid ${colors.onSurfaceVariant1}`, mt: '20px', width: '178px' } } }
32
+ }, sx: { border: `1px solid ${colors.outlineVariant}`, height: '44px', width: '178px' }, children: [props.presets.map((preset) => (_jsx(MenuItem, { value: preset.id, sx: { borderRadius: '4px', py: '4px', my: '0px', px: '0px', mx: '0px' }, children: _jsxs(Stack, { direction: "row", justifyContent: "space-around", alignItems: "center", sx: { width: '100%', py: '0px', px: '0px', mx: '0px', my: '4px' }, children: [_jsx(CardMedia, { component: "img", image: "v1/svg/check-ratio-editor.svg", sx: { width: "20px", height: "20px", mr: '-16px', px: '0px', visibility: props.selectedPreset === preset.id ? 'visible' : 'hidden' } }), _jsx(Typography, { sx: { width: '24px', textWrap: 'nowrap', overflow: 'hidden', textOverflow: 'ellipsis', display: 'block', color: colors.surface, pr: "82px", pl: "0px", ml: "0px", justifyContent: 'flex-start', ...typography.bodyMedium }, children: preset.name }), _jsx(IconButton, { "aria-label": `Options for ${preset.name}`, onClick: (event) => props.onPresetMenuClick(event, preset.id), sx: { padding: "0px", margin: "0px", mr: "0px" }, children: _jsx(CardMedia, { component: "img", image: "/v1/svg/dots-editor.svg", alt: "Options", sx: { width: '20px', height: '20px' } }) })] }) }, preset.id))), _jsx(Box, { sx: { px: '16px', my: '8px' }, children: _jsx(Button, { fullWidth: true, variant: "outlined", sx: { ...typography.labelMedium, height: '40px', color: colors.onBackground, backgroundColor: colors.surface, borderRadius: '100px', borderColor: colors.surface, textTransform: 'none', '&:hover': { backgroundColor: '#e0e0e0', borderColor: colors.surface } }, onClick: props.onOpenPresetModal, children: "Create Preset" }) })] }) }) })] }) }) }));
33
+ }
@@ -0,0 +1,15 @@
1
+ import React from "react";
2
+ import { SelectChangeEvent } from "@mui/material";
3
+ type Preset = {
4
+ id: string;
5
+ name: string;
6
+ };
7
+ interface Props {
8
+ presets: Preset[];
9
+ selectedPresetBulk: string;
10
+ onOpenPresetModalBulk: () => void;
11
+ onSelectPresetBulk: (event: SelectChangeEvent<string>) => void;
12
+ onPresetMenuClickBulk: (event: React.MouseEvent<HTMLElement>, presetId: string) => void;
13
+ }
14
+ export default function HBulkPresetMobile(props: Props): import("react/jsx-runtime").JSX.Element;
15
+ export {};
@@ -0,0 +1,26 @@
1
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
+ import { Typography, Stack, IconButton, CardMedia, Button, MenuItem, Box, FormControl, Select } from "@mui/material";
3
+ import useColors from "@/colors";
4
+ import useHonchoTypography from "@/honchoTheme";
5
+ // Static `presets` array has been removed.
6
+ export default function HBulkPresetMobile(props) {
7
+ const typography = useHonchoTypography();
8
+ const colors = useColors();
9
+ const CustomSelectIcon = (iconProps) => {
10
+ const isExpanded = iconProps.className?.includes('MuiSelect-iconOpen');
11
+ return (_jsx(CardMedia, { component: "img", image: isExpanded ? "/v1/svg/expanded-editor.svg" : "/v1/svg/expand-editor.svg", sx: { width: "11.67px", height: "5.83px", right: '14px', position: 'absolute', pointerEvents: 'none' } }));
12
+ };
13
+ return (_jsx(_Fragment, { children: _jsxs(Stack, { direction: "column", sx: { px: "0px", mx: "16px", mt: "6px", mb: "0px" }, children: [_jsx(Typography, { sx: { ...typography.bodyMedium, color: colors.surface }, children: "Preset" }), _jsx(FormControl, { fullWidth: true, children: _jsxs(Select, { fullWidth: true, value: props.selectedPresetBulk, onChange: props.onSelectPresetBulk, IconComponent: CustomSelectIcon, renderValue: (selectedId) => {
14
+ // Uses props.presets to find the name
15
+ const selectedPresetBulkObject = props.presets.find(p => p.id === selectedId);
16
+ if (!selectedPresetBulkObject) {
17
+ return _jsx(Typography, { sx: { ...typography.bodyMedium, color: colors.surface }, children: "Select" });
18
+ }
19
+ return _jsx(Typography, { sx: { ...typography.bodyMedium, color: colors.surface }, children: selectedPresetBulkObject.name });
20
+ }, MenuProps: {
21
+ anchorOrigin: { vertical: 'top', horizontal: 'left' },
22
+ transformOrigin: { vertical: 'bottom', horizontal: 'left' },
23
+ sx: { marginTop: '-10px' },
24
+ slotProps: { paper: { sx: { backgroundColor: colors.onBackground, color: colors.surface, border: `1px solid ${colors.onSurfaceVariant1}`, borderRadius: '4px', width: '328px' } } }
25
+ }, sx: { border: `1px solid ${colors.outlineVariant}`, height: '44px', width: '328px', mt: '6px' }, children: [props.presets.map((preset) => (_jsx(MenuItem, { value: preset.id, sx: { padding: '8px 10px', minHeight: 'auto', mb: '4px' }, children: _jsxs(Stack, { direction: "row", alignItems: "center", sx: { width: '100%' }, children: [_jsx(CardMedia, { component: "img", image: "v1/svg/check-ratio-editor.svg", sx: { width: "20px", height: "20px", mr: '12px', px: '0px', visibility: props.selectedPresetBulk === preset.id ? 'visible' : 'hidden' } }), _jsx(Typography, { sx: { width: '24px', textWrap: 'nowrap', overflow: 'hidden', textOverflow: 'ellipsis', display: 'block', color: colors.surface, pr: "82px", pl: "0px", mr: "165px", justifyContent: 'flex-start', ...typography.bodyMedium }, children: preset.name }), _jsx(IconButton, { "aria-label": `Options for ${preset.name}`, onClick: (event) => props.onPresetMenuClickBulk(event, preset.id), sx: { padding: "0px", margin: "0px", mr: "0px" }, children: _jsx(CardMedia, { component: "img", image: "/v1/svg/dots-editor.svg", alt: "Options", sx: { width: '20px', height: '20px' } }) })] }) }, preset.id))), _jsx(Box, { sx: { px: '16px', my: '8px' }, children: _jsx(Button, { fullWidth: true, variant: "outlined", sx: { ...typography.labelMedium, height: '40px', pt: '5px', color: colors.onBackground, backgroundColor: colors.surface, borderRadius: '100px', borderColor: colors.surface, textTransform: 'none', '&:hover': { backgroundColor: '#e0e0e0', borderColor: colors.surface } }, onClick: props.onOpenPresetModalBulk, children: "Create Preset" }) })] }) })] }) }));
26
+ }
@@ -0,0 +1,18 @@
1
+ import React, { ReactElement } from "react";
2
+ interface Props {
3
+ open: boolean;
4
+ title: React.ReactNode;
5
+ description?: React.ReactNode | ReactElement;
6
+ onClose?: () => void;
7
+ action?: React.ReactNode;
8
+ actionAdjust?: React.ReactNode;
9
+ }
10
+ export declare function HBaseDialog(props: Props): import("react/jsx-runtime").JSX.Element;
11
+ export declare function HDialogForPreset(props: Props): import("react/jsx-runtime").JSX.Element;
12
+ interface ButtonProps {
13
+ text: string;
14
+ onClick: () => void;
15
+ }
16
+ export declare function PositiveButton(props: ButtonProps): import("react/jsx-runtime").JSX.Element;
17
+ export declare function NegativeButton(props: ButtonProps): import("react/jsx-runtime").JSX.Element;
18
+ export {};