@hexure/ui 1.13.19 → 1.13.21

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/esm/index.js CHANGED
@@ -1375,76 +1375,76 @@ const FieldGroup = ({ children, label }) => {
1375
1375
  React.createElement(Content$1, null, children)));
1376
1376
  };
1377
1377
 
1378
- const Dropzone = styled.div `
1379
- border-radius: 8px;
1380
- border-width: 1px;
1381
- border-style: dashed;
1382
- border-color: ${props => (props.$dragging ? props.theme.PRIMARY_COLOR.Hex : '#cccccc')};
1383
- background: ${props => props.$dragging ? `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.05)` : '#ffffff'};
1384
- cursor: copy;
1378
+ const Dropzone = styled.div `
1379
+ border-radius: 8px;
1380
+ border-width: 1px;
1381
+ border-style: dashed;
1382
+ border-color: ${props => (props.$dragging ? props.theme.PRIMARY_COLOR.Hex : '#cccccc')};
1383
+ background: ${props => props.$dragging ? `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.05)` : '#ffffff'};
1384
+ cursor: copy;
1385
1385
  `;
1386
1386
  Dropzone.defaultProps = { theme: EditableTheme };
1387
- const IconWrapper$1 = styled.div `
1388
- width: 80px;
1389
- height: 80px;
1390
- border-radius: 40px;
1391
- background: ${props => (props.$dragging ? '#ffffff' : '#f5f5f5')};
1392
- display: flex;
1393
- align-items: center;
1394
- justify-content: center;
1395
- `;
1396
- const StyledIcon$3 = styled(Icon) `
1397
- width: 40px !important;
1398
- height: 40px !important;
1399
-
1400
- > path {
1401
- fill: ${Colors.GRAY.Hex} !important;
1402
- }
1403
- `;
1404
- const ClickZone = styled.div `
1405
- margin: 40px 20px;
1406
- display: flex;
1407
- flex-direction: column;
1408
- align-items: center;
1409
- gap: 16px;
1410
- `;
1411
- const Content = styled.div `
1412
- display: flex;
1413
- flex-direction: column;
1414
- align-items: center;
1415
- gap: 2px;
1416
- `;
1417
- const Files = styled.div `
1418
- display: flex;
1419
- flex-direction: column;
1420
- align-self: stretch;
1421
- gap: 10px;
1422
- margin: 20px;
1423
- `;
1424
- const MessageDiv = styled.div `
1425
- display: flex;
1426
- align-items: center;
1427
- justify-content: center;
1428
- z-index: 9999;
1429
- `;
1430
- const File = styled.div `
1431
- display: flex;
1432
- padding: 10px;
1433
- align-items: center;
1434
- justify-content: space-between;
1435
- gap: 10px;
1436
- border-radius: 4px;
1437
- border: 1px solid #cccccc;
1438
- background: #ffffff;
1439
- `;
1440
- const Remove = styled(Icon) `
1441
- width: 24px;
1442
- height: 24px;
1443
- cursor: pointer;
1444
-
1445
- > path {
1446
- fill: ${Colors.RED.Hex} !important;
1447
- }
1387
+ const IconWrapper$1 = styled.div `
1388
+ width: 80px;
1389
+ height: 80px;
1390
+ border-radius: 40px;
1391
+ background: ${props => (props.$dragging ? '#ffffff' : '#f5f5f5')};
1392
+ display: flex;
1393
+ align-items: center;
1394
+ justify-content: center;
1395
+ `;
1396
+ const StyledIcon$3 = styled(Icon) `
1397
+ width: 40px !important;
1398
+ height: 40px !important;
1399
+
1400
+ > path {
1401
+ fill: ${Colors.GRAY.Hex} !important;
1402
+ }
1403
+ `;
1404
+ const ClickZone = styled.div `
1405
+ margin: 40px 20px;
1406
+ display: flex;
1407
+ flex-direction: column;
1408
+ align-items: center;
1409
+ gap: 16px;
1410
+ `;
1411
+ const Content = styled.div `
1412
+ display: flex;
1413
+ flex-direction: column;
1414
+ align-items: center;
1415
+ z-index: 99999;
1416
+ gap: 2px;
1417
+ `;
1418
+ const Files = styled.div `
1419
+ display: flex;
1420
+ flex-direction: column;
1421
+ align-self: stretch;
1422
+ gap: 10px;
1423
+ margin: 20px;
1424
+ `;
1425
+ const MessageDiv = styled.div `
1426
+ display: flex;
1427
+ align-items: center;
1428
+ justify-content: center;
1429
+ `;
1430
+ const File = styled.div `
1431
+ display: flex;
1432
+ padding: 10px;
1433
+ align-items: center;
1434
+ justify-content: space-between;
1435
+ gap: 10px;
1436
+ border-radius: 4px;
1437
+ border: 1px solid #cccccc;
1438
+ background: #ffffff;
1439
+ `;
1440
+ const Remove = styled(Icon) `
1441
+ width: 24px;
1442
+ height: 24px;
1443
+ cursor: pointer;
1444
+
1445
+ > path {
1446
+ fill: ${Colors.RED.Hex} !important;
1447
+ }
1448
1448
  `;
1449
1449
  const FileUpload = ({ accept, onChange, onError, maxFiles = 10, maxSize = 2, value = [], message, tooltipInfo = '', validateFile, }) => {
1450
1450
  const inputRef = useRef(null);