@yogiswara/honcho-editor-ui 1.0.1 → 1.0.2

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 (37) hide show
  1. package/dist/components/editor/HAccordionAspectRatio.js +2 -2
  2. package/dist/components/editor/HAccordionColor.js +2 -2
  3. package/dist/components/editor/HAccordionColorAdjustment.js +2 -2
  4. package/dist/components/editor/HAccordionDetails.js +2 -2
  5. package/dist/components/editor/HAccordionLight.js +2 -2
  6. package/dist/components/editor/HAccordionPreset.js +2 -2
  7. package/dist/components/editor/HAlertBox.js +1 -1
  8. package/dist/components/editor/HBulkAccordionColorAdjustment.js +2 -2
  9. package/dist/components/editor/HBulkAccordionColorAdjustmentColors.js +2 -2
  10. package/dist/components/editor/HBulkAccordionColorAdjustmentDetails.js +2 -2
  11. package/dist/components/editor/HBulkAccordionColorAdjustmentLight.js +2 -2
  12. package/dist/components/editor/HBulkColorMobile.js +2 -2
  13. package/dist/components/editor/HBulkDetailsMobile.js +2 -2
  14. package/dist/components/editor/HBulkLightMobile.js +2 -2
  15. package/dist/components/editor/HBulkPreset.js +2 -2
  16. package/dist/components/editor/HBulkPresetMobile.js +2 -2
  17. package/dist/components/editor/HDialogBox.js +2 -2
  18. package/dist/components/editor/HDialogCopy.js +2 -2
  19. package/dist/components/editor/HFooter.js +2 -2
  20. package/dist/components/editor/HHeaderEditor.js +3 -3
  21. package/dist/components/editor/HImageEditorBulkDekstop.js +2 -2
  22. package/dist/components/editor/HImageEditorBulkMobile.js +2 -2
  23. package/dist/components/editor/HImageEditorDekstop.js +2 -2
  24. package/dist/components/editor/HImageEditorMobile.js +2 -2
  25. package/dist/components/editor/HImageEditorMobileLayout.js +2 -2
  26. package/dist/components/editor/HImageEditorPage.js +21 -21
  27. package/dist/components/editor/HModalEditorDekstop.js +2 -2
  28. package/dist/components/editor/HModalMobile.js +1 -1
  29. package/dist/components/editor/HPresetOptionMenu.js +2 -2
  30. package/dist/components/editor/HSliderColorMobile.js +2 -2
  31. package/dist/components/editor/HSliderDetailsMobile.js +2 -2
  32. package/dist/components/editor/HSliderLightMobile.js +2 -2
  33. package/dist/components/editor/HTabPresetMobile.js +2 -2
  34. package/dist/components/editor/HTextField.js +2 -2
  35. package/dist/components/editor/HWatermarkView.js +2 -2
  36. package/dist/hooks/editor/useHonchoEditor.js +1 -1
  37. package/package.json +1 -1
@@ -1,8 +1,8 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
2
  import { useState } from "react";
3
3
  import { Accordion, AccordionDetails, AccordionSummary, Button, Stack, Slider, Typography, CardMedia, IconButton, TextField } from "@mui/material";
4
- import useHonchoTypography from "@/honchoTheme";
5
- import useColors from "@/colors";
4
+ import useHonchoTypography from "../../themes/honchoTheme";
5
+ import useColors from '../../themes/colors';
6
6
  export default function HAccordionAspectRatio(props) {
7
7
  const typography = useHonchoTypography();
8
8
  const colors = useColors();
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
2
  import { Stack, Slider, Typography, TextField } from "@mui/material";
3
- import useHonchoTypography from "@/honchoTheme";
4
- import useColors from "@/colors";
3
+ import useHonchoTypography from "../../themes/honchoTheme";
4
+ import useColors from '../../themes/colors';
5
5
  export default function HAccordionColor(props) {
6
6
  const typography = useHonchoTypography();
7
7
  const colors = useColors();
@@ -1,10 +1,10 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
2
  import { Accordion, AccordionDetails, AccordionSummary, CardMedia, Stack, Typography } from "@mui/material";
3
- import useHonchoTypography from "@/honchoTheme";
4
3
  import HAccordionColor from "./HAccordionColor";
5
4
  import HAccordionLight from "./HAccordionLight";
6
5
  import HAccordionDetails from "./HAccordionDetails";
7
- import useColors from "@/colors";
6
+ import useHonchoTypography from "../../themes/honchoTheme";
7
+ import useColors from '../../themes/colors';
8
8
  export default function HAccordionColorAdjustment(props) {
9
9
  const typography = useHonchoTypography();
10
10
  const colors = useColors();
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
2
  import { Stack, Slider, Typography, TextField } from "@mui/material";
3
- import useHonchoTypography from "@/honchoTheme";
4
- import useColors from "@/colors";
3
+ import useHonchoTypography from "../../themes/honchoTheme";
4
+ import useColors from '../../themes/colors';
5
5
  export default function HAccordionDetails(props) {
6
6
  const typography = useHonchoTypography();
7
7
  const colors = useColors();
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
2
  import { Stack, Slider, Typography, TextField } from "@mui/material";
3
- import useHonchoTypography from "@/honchoTheme";
4
- import useColors from "@/colors";
3
+ import useHonchoTypography from "../../themes/honchoTheme";
4
+ import useColors from '../../themes/colors';
5
5
  export default function HAccordionLight(props) {
6
6
  const typography = useHonchoTypography();
7
7
  const colors = useColors();
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
2
  import { Box, Accordion, AccordionDetails, AccordionSummary, Button, Stack, Typography, CardMedia, IconButton } from "@mui/material";
3
- import useHonchoTypography from "@/honchoTheme";
4
- import useColors from "@/colors";
3
+ import useHonchoTypography from "../../themes/honchoTheme";
4
+ import useColors from '../../themes/colors';
5
5
  // --- The static presets array has been REMOVED from this component ---
6
6
  export default function HAccordionPreset(props) {
7
7
  const typography = useHonchoTypography();
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { Alert, IconButton } from "@mui/material";
3
3
  import CloseIcon from "@mui/icons-material/Close";
4
- import useColors from "@/colors";
4
+ import useColors from '../../themes/colors';
5
5
  export function HAlertInternetBox() {
6
6
  const colors = useColors();
7
7
  return (_jsx(Alert, { icon: _jsx("img", { src: "v1/svg/check-ratio-editor.svg" }), sx: { position: 'absolute',
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
2
  import { Accordion, AccordionDetails, AccordionSummary, CardMedia, Stack, Typography } from "@mui/material";
3
- import useHonchoTypography from "@/honchoTheme";
4
- import useColors from "@/colors";
3
+ import useHonchoTypography from "../../themes/honchoTheme";
4
+ import useColors from '../../themes/colors';
5
5
  import HBulkAccordionColorAdjustmentColors from "./HBulkAccordionColorAdjustmentColors";
6
6
  import HBulkAccordionColorAdjustmentLight from "./HBulkAccordionColorAdjustmentLight";
7
7
  import HBulkAccordionColorAdjustmentDetails from "./HBulkAccordionColorAdjustmentDetails";
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
2
  import { Stack, Typography, IconButton, CardMedia } from "@mui/material";
3
- import useHonchoTypography from "@/honchoTheme";
4
- import useColors from "@/colors";
3
+ import useHonchoTypography from "../../themes/honchoTheme";
4
+ import useColors from '../../themes/colors';
5
5
  export default function HBulkAccordionColorAdjustmentColors(props) {
6
6
  const typography = useHonchoTypography();
7
7
  const colors = useColors();
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
2
  import { Stack, Typography, IconButton, CardMedia } from "@mui/material";
3
- import useHonchoTypography from "@/honchoTheme";
4
- import useColors from "@/colors";
3
+ import useHonchoTypography from "../../themes/honchoTheme";
4
+ import useColors from '../../themes/colors';
5
5
  export default function HBulkAccordionColorAdjustmentDetails(props) {
6
6
  const typography = useHonchoTypography();
7
7
  const colors = useColors();
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
2
  import { Stack, Typography, IconButton, CardMedia } from "@mui/material";
3
- import useHonchoTypography from "@/honchoTheme";
4
- import useColors from "@/colors";
3
+ import useHonchoTypography from "../../themes/honchoTheme";
4
+ import useColors from '../../themes/colors';
5
5
  export default function HBulkAccordionColorAdjustmentLight(props) {
6
6
  const typography = useHonchoTypography();
7
7
  const colors = useColors();
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
2
  import { Stack, Typography, CardMedia, IconButton } from "@mui/material";
3
- import useHonchoTypography from "@/honchoTheme";
4
- import useColors from "@/colors";
3
+ import useHonchoTypography from "../../themes/honchoTheme";
4
+ import useColors from '../../themes/colors';
5
5
  export default function HBulkColorMobile(props) {
6
6
  const typography = useHonchoTypography();
7
7
  const colors = useColors();
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
2
  import { Stack, Typography, CardMedia, IconButton } from "@mui/material";
3
- import useColors from "@/colors";
4
- import useHonchoTypography from "@/honchoTheme";
3
+ import useHonchoTypography from "../../themes/honchoTheme";
4
+ import useColors from '../../themes/colors';
5
5
  export default function HBulkDetailsMobile(props) {
6
6
  const typography = useHonchoTypography();
7
7
  const colors = useColors();
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
2
  import { Stack, Typography, CardMedia, IconButton } from "@mui/material";
3
- import useHonchoTypography from "@/honchoTheme";
4
- import useColors from "@/colors";
3
+ import useHonchoTypography from "../../themes/honchoTheme";
4
+ import useColors from '../../themes/colors';
5
5
  export default function HBulkLightMobile(props) {
6
6
  const typography = useHonchoTypography();
7
7
  const colors = useColors();
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
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";
3
+ import useHonchoTypography from "../../themes/honchoTheme";
4
+ import useColors from '../../themes/colors';
5
5
  // Static `presets` array has been removed.
6
6
  export default function HBulkPreset(props) {
7
7
  const typography = useHonchoTypography();
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
2
  import { Typography, Stack, IconButton, CardMedia, Button, MenuItem, Box, FormControl, Select } from "@mui/material";
3
- import useColors from "@/colors";
4
- import useHonchoTypography from "@/honchoTheme";
3
+ import useHonchoTypography from "../../themes/honchoTheme";
4
+ import useColors from '../../themes/colors';
5
5
  // Static `presets` array has been removed.
6
6
  export default function HBulkPresetMobile(props) {
7
7
  const typography = useHonchoTypography();
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { Button, Dialog, DialogContent, IconButton, Stack, Typography, } from "@mui/material";
3
- import useColors from "@/colors";
4
- import useHonchoTypography from "@/honchoTheme";
3
+ import useHonchoTypography from "../../themes/honchoTheme";
4
+ import useColors from '../../themes/colors';
5
5
  import { CloseOutlined } from "@mui/icons-material";
6
6
  export function HBaseDialog(props) {
7
7
  const colors = useColors();
@@ -1,8 +1,8 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { Button, Stack, Typography, Checkbox, Collapse, FormControlLabel, IconButton } from "@mui/material";
3
3
  import ExpandMoreIcon from '@mui/icons-material/ExpandMore';
4
- import useColors from "@/colors";
5
- import useHonchoTypography from "@/honchoTheme";
4
+ import useHonchoTypography from "../../themes/honchoTheme";
5
+ import useColors from '../../themes/colors';
6
6
  export function HDialogCopy(props) {
7
7
  const colors = useColors();
8
8
  const typography = useHonchoTypography();
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
2
  import { Button, Stack, IconButton, CardMedia, MenuItem, ListItemText, Menu } from "@mui/material";
3
- import useHonchoTypography from "@/honchoTheme";
4
- import useColors from "@/colors";
3
+ import useHonchoTypography from "../../themes/honchoTheme";
4
+ import useColors from '../../themes/colors';
5
5
  export default function HFooter(props) {
6
6
  const typography = useHonchoTypography();
7
7
  const colors = useColors();
@@ -1,8 +1,8 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
2
  import { Stack, IconButton, CardMedia, MenuItem, ListItemText, ListItemIcon, Menu, Button, Typography } from "@mui/material";
3
- import useHonchoTypography from "@/honchoTheme";
4
- import useColors from "@/colors";
5
- import useIsMobile from "@/utils/isMobile";
3
+ import useHonchoTypography from "../../themes/honchoTheme";
4
+ import useColors from '../../themes/colors';
5
+ import useIsMobile from "../../utils/isMobile";
6
6
  export default function HHeaderEditor(props) {
7
7
  const typography = useHonchoTypography();
8
8
  const colors = useColors();
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
2
  import { Stack, IconButton, CardMedia, Paper, Slide } from "@mui/material";
3
- import useHonchoTypography from "@/honchoTheme";
4
- import useColors from "@/colors";
3
+ import useHonchoTypography from "../../themes/honchoTheme";
4
+ import useColors from '../../themes/colors';
5
5
  export default function HImageEditorBulkDekstop(props) {
6
6
  const typography = useHonchoTypography();
7
7
  const colors = useColors();
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { BottomNavigation, BottomNavigationAction, Box, CardMedia, Paper, Stack } from "@mui/material";
3
- import useColors from "@/colors";
4
- import useHonchoTypography from "@/honchoTheme";
3
+ import useHonchoTypography from "../../themes/honchoTheme";
4
+ import useColors from '../../themes/colors';
5
5
  import HBulkColorAdjustmentMobile from "./HBulkColorAdjustmentMobile";
6
6
  import HBulkPresetMobile from "./HBulkPresetMobile";
7
7
  // Data structure for the sub-navigation tabs
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
2
  import { Stack, IconButton, CardMedia, Paper, Slide } from "@mui/material";
3
- import useHonchoTypography from "@/honchoTheme";
4
- import useColors from "@/colors";
3
+ import useHonchoTypography from "../../themes/honchoTheme";
4
+ import useColors from '../../themes/colors';
5
5
  export default function HImageEditorDesktop(props) {
6
6
  const typography = useHonchoTypography();
7
7
  const colors = useColors();
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { BottomNavigation, BottomNavigationAction, Box, CardMedia, Paper, Stack } from "@mui/material";
3
- import useColors from "@/colors";
4
- import useHonchoTypography from "@/honchoTheme";
3
+ import useHonchoTypography from "../../themes/honchoTheme";
4
+ import useColors from '../../themes/colors';
5
5
  import HTabColorAdjustmentMobile from "./HTabColorAdjustmentMobile";
6
6
  import HTabPresetMobile from "./HTabPresetMobile";
7
7
  // Data structure for the sub-navigation tabs
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { BottomNavigation, BottomNavigationAction, Box, CardMedia, Paper, Stack } from "@mui/material";
3
- import useColors from "@/colors";
4
- import useHonchoTypography from "@/honchoTheme";
3
+ import useHonchoTypography from "../../themes/honchoTheme";
4
+ import useColors from '../../themes/colors';
5
5
  // Data structure for the sub-navigation tabs
6
6
  const subTabs = {
7
7
  colorAdjustment: [
@@ -2,31 +2,31 @@
2
2
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
3
3
  import { useState, useMemo, Suspense } from "react";
4
4
  import { Box, Stack, CircularProgress, Typography, Checkbox, Paper } from "@mui/material";
5
- import useColors from "@/colors";
5
+ import useColors from '../../themes/colors';
6
6
  import AutoFixHighIcon from '@mui/icons-material/AutoFixHigh'; // Magic Wand Icon
7
7
  import Script from "next/script";
8
- import useIsMobile from "@/utils/isMobile";
8
+ import useIsMobile from "../../utils/isMobile";
9
9
  // Components
10
- import HHeaderEditor from "@/components/editor/HHeaderEditor";
11
- import HAccordionColorAdjustment from "@/components/editor/HAccordionColorAdjustment";
12
- import HAccordionPreset from "@/components/editor/HAccordionPreset";
13
- import { HBaseDialog } from "@/components/editor/HDialogBox";
14
- import { HDialogCopy, HDialogPreset } from "@/components/editor/HDialogCopy";
15
- import HImageEditorMobile from "@/components/editor/HImageEditorMobile";
16
- import HImageEditorDesktop from "@/components/editor/HImageEditorDekstop";
17
- import HImageEditorBulkDekstop from "@/components/editor/HImageEditorBulkDekstop";
18
- import HImageEditorBulkMobile from "@/components/editor/HImageEditorBulkMobile";
19
- import HBulkAccordionColorAdjustment from "@/components/editor/HBulkAccordionColorAdjustment";
20
- import HBulkPreset from "@/components/editor/HBulkPreset";
21
- import HModalEditorDekstop from "@/components/editor/HModalEditorDekstop";
22
- import HFooter from "@/components/editor/HFooter";
23
- import { HTextField } from "@/components/editor/HTextField";
24
- import HWatermarkView from "@/components/editor/HWatermarkView";
25
- import HModalMobile from "@/components/editor/HModalMobile";
26
- import HPresetOptionsMenu from "@/components/editor/HPresetOptionMenu";
27
- import { HAlertInternetBox, HAlertCopyBox, HAlertInternetConnectionBox } from "@/components/editor/HAlertBox";
10
+ import HHeaderEditor from "./HHeaderEditor";
11
+ import HAccordionColorAdjustment from "./HAccordionColorAdjustment";
12
+ import HAccordionPreset from "./HAccordionPreset";
13
+ import { HBaseDialog } from "./HDialogBox";
14
+ import { HDialogCopy, HDialogPreset } from "./HDialogCopy";
15
+ import HImageEditorMobile from "./HImageEditorMobile";
16
+ import HImageEditorDesktop from "./HImageEditorDekstop";
17
+ import HImageEditorBulkDekstop from "./HImageEditorBulkDekstop";
18
+ import HImageEditorBulkMobile from "./HImageEditorBulkMobile";
19
+ import HBulkAccordionColorAdjustment from "./HBulkAccordionColorAdjustment";
20
+ import HBulkPreset from "./HBulkPreset";
21
+ import HModalEditorDekstop from "./HModalEditorDekstop";
22
+ import HFooter from "./HFooter";
23
+ import { HTextField } from "./HTextField";
24
+ import HWatermarkView from "./HWatermarkView";
25
+ import HModalMobile from "./HModalMobile";
26
+ import HPresetOptionsMenu from "./HPresetOptionMenu";
27
+ import { HAlertInternetBox, HAlertCopyBox, HAlertInternetConnectionBox } from "./HAlertBox";
28
28
  // Hooks
29
- import { useHonchoEditor } from "@/hooks/editor/useHonchoEditor";
29
+ import { useHonchoEditor } from "../../hooks/editor/useHonchoEditor";
30
30
  const initialAdjustments = {
31
31
  tempScore: 0, tintScore: 0, vibranceScore: 0, exposureScore: 0, highlightsScore: 0, shadowsScore: 0,
32
32
  whitesScore: 0, blacksScore: 0, saturationScore: 0, contrastScore: 0, clarityScore: 0, sharpnessScore: 0,
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
2
  import { Modal, Box, Typography, Button, Stack } from "@mui/material";
3
- import useColors from "@/colors";
4
- import useHonchoTypography from "@/honchoTheme";
3
+ import useHonchoTypography from "../../themes/honchoTheme";
4
+ import useColors from '../../themes/colors';
5
5
  // Create modal for any usage coverage
6
6
  export default function HModalEditorDekstop(props) {
7
7
  const colors = useColors();
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
2
  import { Modal, Box, Typography, Button, Stack, IconButton, CardMedia } from "@mui/material";
3
- import useColors from "@/colors";
3
+ import useColors from '../../themes/colors';
4
4
  export default function HModalMobile(props) {
5
5
  const colors = useColors();
6
6
  return (_jsx(_Fragment, { children: _jsx(Modal, { open: props.modalOpen, onClose: props.modalClose, children: _jsxs(Stack, { direction: "column", spacing: 2, height: "100%", sx: { p: "10px", backgroundColor: colors.surface }, children: [_jsxs(Stack, { direction: "row", justifyContent: "space-between", alignItems: "center", children: [_jsxs(Stack, { direction: "row", justifyContent: "flex-start", alignItems: "center", spacing: 1, children: [_jsx(IconButton, { "aria-label": "close", onClick: props.modalClose, children: _jsx(CardMedia, { component: "img", image: "/v1/svg/exit-button-modal-mobile.svg" }) }), _jsx(Typography, { variant: "h6", color: "initial", children: props.modalTitle })] }), _jsx(Button, { onClick: props.onConfirm, children: "Save" })] }), _jsx(Typography, { variant: "inherit", color: "initial", children: props.modalInformation }), _jsx(Box, { sx: { mt: 2 }, children: props.children })] }) }) }));
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { Menu, MenuItem, ListItemText, CardMedia, Stack } from "@mui/material";
3
- import useHonchoTypography from "@/honchoTheme";
4
- import useColors from "@/colors";
3
+ import useHonchoTypography from "../../themes/honchoTheme";
4
+ import useColors from '../../themes/colors';
5
5
  export default function HPresetOptionsMenu(props) {
6
6
  const typography = useHonchoTypography();
7
7
  const colors = useColors();
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
2
  import { Stack, Slider, Typography, TextField } from "@mui/material";
3
- import useHonchoTypography from "@/honchoTheme";
4
- import useColors from "@/colors";
3
+ import useHonchoTypography from "../../themes/honchoTheme";
4
+ import useColors from '../../themes/colors';
5
5
  export default function HSliderColorMobile(props) {
6
6
  const typography = useHonchoTypography();
7
7
  const colors = useColors();
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
2
  import { Stack, Slider, Typography, TextField } from "@mui/material";
3
- import useColors from "@/colors";
4
- import useHonchoTypography from "@/honchoTheme";
3
+ import useHonchoTypography from "../../themes/honchoTheme";
4
+ import useColors from '../../themes/colors';
5
5
  export default function HSliderDetailsMobile(props) {
6
6
  const typography = useHonchoTypography();
7
7
  const colors = useColors();
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
2
  import { Stack, Slider, Typography, TextField } from "@mui/material";
3
- import useHonchoTypography from "@/honchoTheme";
4
- import useColors from "@/colors";
3
+ import useHonchoTypography from "../../themes/honchoTheme";
4
+ import useColors from '../../themes/colors';
5
5
  export default function HSliderLightMobile(props) {
6
6
  const typography = useHonchoTypography();
7
7
  const colors = useColors();
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
2
  import { Stack, IconButton, CardMedia, Button } from "@mui/material";
3
- import useColors from "@/colors";
4
- import useHonchoTypography from "@/honchoTheme";
3
+ import useHonchoTypography from "../../themes/honchoTheme";
4
+ import useColors from '../../themes/colors';
5
5
  // Static `presets` array has been removed.
6
6
  export default function HTabPresetMobile(props) {
7
7
  const typography = useHonchoTypography();
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { TextField, Stack, Button } from "@mui/material";
3
- import useHonchoTypography from "@/honchoTheme";
4
- import useColors from "@/colors";
3
+ import useHonchoTypography from "../../themes/honchoTheme";
4
+ import useColors from '../../themes/colors';
5
5
  export function HTextField(props) {
6
6
  const colors = useColors();
7
7
  const typography = useHonchoTypography();
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
2
  import { TextField, Button, Stack } from "@mui/material";
3
- import useColors from "@/colors";
4
- import useHonchoTypography from "@/honchoTheme";
3
+ import useHonchoTypography from "../../themes/honchoTheme";
4
+ import useColors from '../../themes/colors';
5
5
  export default function HWatermarkView(props) {
6
6
  const colors = useColors();
7
7
  const typography = useHonchoTypography();
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
  import { useState, useRef, useCallback, useEffect } from 'react';
3
- import { HonchoEditor } from '@/lib/editor/honcho-editor';
3
+ import { HonchoEditor } from '../../lib/editor/honcho-editor';
4
4
  const initialAdjustments = {
5
5
  tempScore: 0, tintScore: 0, vibranceScore: 0, exposureScore: 0, highlightsScore: 0, shadowsScore: 0,
6
6
  whitesScore: 0, blacksScore: 0, saturationScore: 0, contrastScore: 0, clarityScore: 0, sharpnessScore: 0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yogiswara/honcho-editor-ui",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "A complete UI component library for the Honcho photo editor.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",