@mcurros2/microm 1.1.339-0 → 1.1.340-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/index.js CHANGED
@@ -39400,6 +39400,37 @@ const $35745da8be2e2bdc$export$d0486c7a5136628 = (props)=>{
39400
39400
  className: "image-editor",
39401
39401
  spacing: "sm",
39402
39402
  children: [
39403
+ manualRotation !== false && /*#__PURE__*/ (0, $b4te3$reactjsxruntime.jsxs)((0, $b4te3$mantinecore.Group), {
39404
+ spacing: "xs",
39405
+ position: "apart",
39406
+ children: [
39407
+ /*#__PURE__*/ (0, $b4te3$reactjsxruntime.jsx)((0, $b4te3$mantinecore.Button), {
39408
+ variant: "light",
39409
+ title: rotateCounterClockwiseLabel,
39410
+ "aria-label": rotateCounterClockwiseLabel,
39411
+ onClick: ()=>rotate(-1),
39412
+ disabled: !ready || saving,
39413
+ leftIcon: /*#__PURE__*/ (0, $b4te3$reactjsxruntime.jsx)((0, $b4te3$tablericonsreact.IconRotate2), {
39414
+ size: "1rem",
39415
+ style: {
39416
+ transform: 'scaleX(-1)'
39417
+ }
39418
+ }),
39419
+ children: rotateCounterClockwiseLabel
39420
+ }),
39421
+ /*#__PURE__*/ (0, $b4te3$reactjsxruntime.jsx)((0, $b4te3$mantinecore.Button), {
39422
+ variant: "light",
39423
+ title: rotateClockwiseLabel,
39424
+ "aria-label": rotateClockwiseLabel,
39425
+ onClick: ()=>rotate(1),
39426
+ disabled: !ready || saving,
39427
+ leftIcon: /*#__PURE__*/ (0, $b4te3$reactjsxruntime.jsx)((0, $b4te3$tablericonsreact.IconRotateClockwise2), {
39428
+ size: "1rem"
39429
+ }),
39430
+ children: rotateClockwiseLabel
39431
+ })
39432
+ ]
39433
+ }),
39403
39434
  preparedImage && cropEnabled && options.crop !== false && /*#__PURE__*/ (0, $b4te3$reactjsxruntime.jsx)("div", {
39404
39435
  className: "image-editor__cropper",
39405
39436
  children: /*#__PURE__*/ (0, $b4te3$reactjsxruntime.jsx)((0, ($parcel$interopDefault($b4te3$reacteasycrop))), {
@@ -39432,65 +39463,31 @@ const $35745da8be2e2bdc$export$d0486c7a5136628 = (props)=>{
39432
39463
  color: "red",
39433
39464
  children: error
39434
39465
  }),
39435
- /*#__PURE__*/ (0, $b4te3$reactjsxruntime.jsxs)((0, $b4te3$mantinecore.Group), {
39466
+ /*#__PURE__*/ (0, $b4te3$reactjsxruntime.jsx)((0, $b4te3$mantinecore.Group), {
39436
39467
  position: "apart",
39437
- children: [
39438
- /*#__PURE__*/ (0, $b4te3$reactjsxruntime.jsx)((0, $b4te3$mantinecore.Group), {
39439
- spacing: "xs",
39440
- children: manualRotation !== false && /*#__PURE__*/ (0, $b4te3$reactjsxruntime.jsxs)((0, $b4te3$reactjsxruntime.Fragment), {
39441
- children: [
39442
- /*#__PURE__*/ (0, $b4te3$reactjsxruntime.jsx)((0, $b4te3$mantinecore.Button), {
39443
- variant: "light",
39444
- title: rotateCounterClockwiseLabel,
39445
- "aria-label": rotateCounterClockwiseLabel,
39446
- onClick: ()=>rotate(-1),
39447
- disabled: !ready || saving,
39448
- leftIcon: /*#__PURE__*/ (0, $b4te3$reactjsxruntime.jsx)((0, $b4te3$tablericonsreact.IconRotateClockwise), {
39449
- size: "1rem",
39450
- style: {
39451
- transform: 'scaleX(-1)'
39452
- }
39453
- }),
39454
- children: rotateCounterClockwiseLabel
39455
- }),
39456
- /*#__PURE__*/ (0, $b4te3$reactjsxruntime.jsx)((0, $b4te3$mantinecore.Button), {
39457
- variant: "light",
39458
- title: rotateClockwiseLabel,
39459
- "aria-label": rotateClockwiseLabel,
39460
- onClick: ()=>rotate(1),
39461
- disabled: !ready || saving,
39462
- leftIcon: /*#__PURE__*/ (0, $b4te3$reactjsxruntime.jsx)((0, $b4te3$tablericonsreact.IconRotateClockwise), {
39463
- size: "1rem"
39464
- }),
39465
- children: rotateClockwiseLabel
39466
- })
39467
- ]
39468
- })
39469
- }),
39470
- /*#__PURE__*/ (0, $b4te3$reactjsxruntime.jsxs)((0, $b4te3$mantinecore.Group), {
39471
- spacing: "xs",
39472
- children: [
39473
- /*#__PURE__*/ (0, $b4te3$reactjsxruntime.jsx)((0, $b4te3$mantinecore.Button), {
39474
- variant: "light",
39475
- onClick: ()=>void onCancel(),
39476
- disabled: saving,
39477
- leftIcon: /*#__PURE__*/ (0, $b4te3$reactjsxruntime.jsx)((0, $b4te3$tablericonsreact.IconX), {
39478
- size: "1rem"
39479
- }),
39480
- children: cancelLabel
39468
+ children: /*#__PURE__*/ (0, $b4te3$reactjsxruntime.jsxs)((0, $b4te3$mantinecore.Group), {
39469
+ spacing: "xs",
39470
+ children: [
39471
+ /*#__PURE__*/ (0, $b4te3$reactjsxruntime.jsx)((0, $b4te3$mantinecore.Button), {
39472
+ variant: "light",
39473
+ onClick: ()=>void onCancel(),
39474
+ disabled: saving,
39475
+ leftIcon: /*#__PURE__*/ (0, $b4te3$reactjsxruntime.jsx)((0, $b4te3$tablericonsreact.IconX), {
39476
+ size: "1rem"
39481
39477
  }),
39482
- /*#__PURE__*/ (0, $b4te3$reactjsxruntime.jsx)((0, $b4te3$mantinecore.Button), {
39483
- onClick: ()=>void save(),
39484
- loading: saving,
39485
- disabled: !ready,
39486
- leftIcon: /*#__PURE__*/ (0, $b4te3$reactjsxruntime.jsx)((0, $b4te3$tablericonsreact.IconCheck), {
39487
- size: "1rem"
39488
- }),
39489
- children: saveLabel
39490
- })
39491
- ]
39492
- })
39493
- ]
39478
+ children: cancelLabel
39479
+ }),
39480
+ /*#__PURE__*/ (0, $b4te3$reactjsxruntime.jsx)((0, $b4te3$mantinecore.Button), {
39481
+ onClick: ()=>void save(),
39482
+ loading: saving,
39483
+ disabled: !ready,
39484
+ leftIcon: /*#__PURE__*/ (0, $b4te3$reactjsxruntime.jsx)((0, $b4te3$tablericonsreact.IconCheck), {
39485
+ size: "1rem"
39486
+ }),
39487
+ children: saveLabel
39488
+ })
39489
+ ]
39490
+ })
39494
39491
  })
39495
39492
  ]
39496
39493
  });