panelui-native 0.110.0 → 0.112.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 (31) hide show
  1. package/lib/module/components/avatar-cropper/avatar-cropper-math.js +68 -28
  2. package/lib/module/components/avatar-cropper/avatar-cropper-math.js.map +1 -1
  3. package/lib/module/components/avatar-cropper/index.js +190 -24
  4. package/lib/module/components/avatar-cropper/index.js.map +1 -1
  5. package/lib/module/components/file-upload/file-upload-core.js +317 -0
  6. package/lib/module/components/file-upload/file-upload-core.js.map +1 -0
  7. package/lib/module/components/file-upload/index.js +1214 -0
  8. package/lib/module/components/file-upload/index.js.map +1 -0
  9. package/lib/module/icons/index.js +10 -0
  10. package/lib/module/icons/index.js.map +1 -1
  11. package/lib/module/index.js +2 -1
  12. package/lib/module/index.js.map +1 -1
  13. package/lib/typescript/src/components/avatar-cropper/avatar-cropper-math.d.ts +32 -10
  14. package/lib/typescript/src/components/avatar-cropper/avatar-cropper-math.d.ts.map +1 -1
  15. package/lib/typescript/src/components/avatar-cropper/index.d.ts +30 -3
  16. package/lib/typescript/src/components/avatar-cropper/index.d.ts.map +1 -1
  17. package/lib/typescript/src/components/file-upload/file-upload-core.d.ts +136 -0
  18. package/lib/typescript/src/components/file-upload/file-upload-core.d.ts.map +1 -0
  19. package/lib/typescript/src/components/file-upload/index.d.ts +265 -0
  20. package/lib/typescript/src/components/file-upload/index.d.ts.map +1 -0
  21. package/lib/typescript/src/icons/index.d.ts +2 -0
  22. package/lib/typescript/src/icons/index.d.ts.map +1 -1
  23. package/lib/typescript/src/index.d.ts +2 -1
  24. package/lib/typescript/src/index.d.ts.map +1 -1
  25. package/package.json +5 -1
  26. package/src/components/avatar-cropper/avatar-cropper-math.ts +78 -42
  27. package/src/components/avatar-cropper/index.tsx +251 -23
  28. package/src/components/file-upload/file-upload-core.ts +359 -0
  29. package/src/components/file-upload/index.tsx +1435 -0
  30. package/src/icons/index.tsx +4 -0
  31. package/src/index.ts +24 -0
@@ -83,6 +83,7 @@ import HgDownload01Icon from '@hugeicons/core-free-icons/Download01Icon';
83
83
  import HgDragDropVerticalIcon from '@hugeicons/core-free-icons/DragDropVerticalIcon';
84
84
  import HgEyeIcon from '@hugeicons/core-free-icons/EyeIcon';
85
85
  import HgFavouriteIcon from '@hugeicons/core-free-icons/FavouriteIcon';
86
+ import HgCloudUploadIcon from '@hugeicons/core-free-icons/CloudUploadIcon';
86
87
  import HgFile01Icon from '@hugeicons/core-free-icons/File01Icon';
87
88
  import HgFolder01Icon from '@hugeicons/core-free-icons/Folder01Icon';
88
89
  import HgFolderOpenIcon from '@hugeicons/core-free-icons/FolderOpenIcon';
@@ -90,6 +91,7 @@ import HgFullScreenIcon from '@hugeicons/core-free-icons/FullScreenIcon';
90
91
  import HgGlobeIcon from '@hugeicons/core-free-icons/GlobeIcon';
91
92
  import HgHeading01Icon from '@hugeicons/core-free-icons/Heading01Icon';
92
93
  import HgImage01Icon from '@hugeicons/core-free-icons/Image01Icon';
94
+ import HgVideo01Icon from '@hugeicons/core-free-icons/Video01Icon';
93
95
  import HgInformationCircleIcon from '@hugeicons/core-free-icons/InformationCircleIcon';
94
96
  import HgKeyboardIcon from '@hugeicons/core-free-icons/KeyboardIcon';
95
97
  import HgLeftToRightListBulletIcon from '@hugeicons/core-free-icons/LeftToRightListBulletIcon';
@@ -357,6 +359,8 @@ export const FolderOpenIcon = icon(HgFolderOpenIcon, { size: 16, color: '#737373
357
359
  export const ImageIcon = icon(HgImage01Icon, { size: 16, color: '#737373' });
358
360
  export const PaperclipIcon = icon(HgAttachment01Icon, { size: 16, color: '#737373' });
359
361
  export const CameraIcon = icon(HgCamera01Icon, { size: 16, color: '#737373' });
362
+ export const VideoIcon = icon(HgVideo01Icon, { size: 16, color: '#737373' });
363
+ export const UploadIcon = icon(HgCloudUploadIcon, { size: 16, color: '#737373' });
360
364
  export const MicIcon = icon(HgMic01Icon, { size: 16, color: '#737373' });
361
365
  export const AudioLinesIcon = icon(HgAudioWave01Icon, { size: 16, color: '#737373' });
362
366
  export const PlayIcon = icon(HgPlayIcon, { size: 16, color: '#737373' });
package/src/index.ts CHANGED
@@ -267,6 +267,28 @@ export {
267
267
  type FlowRect,
268
268
  type FlowPoint,
269
269
  } from './components/flow';
270
+ export {
271
+ FileUpload,
272
+ describeFileStatus,
273
+ describeFileUploadRules,
274
+ formatFileSize,
275
+ hasFileUploadSource,
276
+ useFileUpload,
277
+ type FileUploadDropzoneProps,
278
+ type FileUploadFile,
279
+ type FileUploadGridProps,
280
+ type FileUploadHandler,
281
+ type FileUploadHandlerContext,
282
+ type FileUploadImageOptions,
283
+ type FileUploadItemProps,
284
+ type FileUploadKind,
285
+ type FileUploadListProps,
286
+ type FileUploadProps,
287
+ type FileUploadRejection,
288
+ type FileUploadSource,
289
+ type FileUploadStatus,
290
+ type FileUploadTriggerProps,
291
+ } from './components/file-upload';
270
292
  export {
271
293
  FlipCard,
272
294
  useFlipCard,
@@ -1627,6 +1649,8 @@ export {
1627
1649
  SunIcon,
1628
1650
  TrashIcon,
1629
1651
  UnlockIcon,
1652
+ UploadIcon,
1653
+ VideoIcon,
1630
1654
  XIcon,
1631
1655
  useIconColor,
1632
1656
  type IconProps,