@underverse-ui/underverse 0.1.4 → 0.1.5

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.d.cts CHANGED
@@ -643,14 +643,6 @@ interface ImageUploadProps {
643
643
  declare function ImageUpload({ onUpload, onRemove, maxSize, // Convert bytes to MB
644
644
  accept, multiple, disabled, className, showPreview, previewSize, dragDropText, browseText, supportedFormatsText }: ImageUploadProps): react_jsx_runtime.JSX.Element;
645
645
 
646
- interface ProductImageUploadProps {
647
- value?: string;
648
- onChange: (url: string) => void;
649
- disabled?: boolean;
650
- className?: string;
651
- }
652
- declare const ProductImageUpload: React__default.FC<ProductImageUploadProps>;
653
-
654
646
  interface CarouselProps {
655
647
  children: React$1.ReactNode[];
656
648
  autoScroll?: boolean;
@@ -883,4 +875,251 @@ declare const VARIANT_STYLES_ALERT: {
883
875
  error: string;
884
876
  };
885
877
 
886
- export { AccessDenied, Alert, Avatar, Badge, Badge as BadgeBase, BottomSheet, Breadcrumb, Button, ButtonLoading, Card, Carousel, CategoryTreeSelect, Checkbox, ClientOnly, Combobox, DataTable, DatePicker, date as DateUtils, Drawer, DropdownMenu, FloatingContacts, GlobalLoading, GradientBadge, ImageUpload, InlineLoading, Input, InteractiveBadge, Label, LoadingBar, LoadingDots, LoadingSpinner, Modal, MultiCombobox, NotificationBadge, NotificationModal, PageLoading, Pagination, PillTabs, Popover, ProductImageUpload, Progress, PulseBadge, RadioGroup, SIZE_STYLES_BTN, ScrollArea, Section, Sheet, SidebarSheet, SimpleTabs, Skeleton, SlideOver, Slider, SmartImage, StatusBadge, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TagBadge, Textarea, ToastProvider, Tooltip, VARIANT_STYLES_ALERT, VARIANT_STYLES_BTN, VerticalTabs, cn, useToast };
878
+ declare const underverseMessages: {
879
+ readonly en: {
880
+ Common: {
881
+ close: string;
882
+ closeAlert: string;
883
+ notifications: string;
884
+ newNotification: string;
885
+ readStatus: string;
886
+ openLink: string;
887
+ theme: string;
888
+ lightTheme: string;
889
+ darkTheme: string;
890
+ systemTheme: string;
891
+ density: string;
892
+ compact: string;
893
+ normal: string;
894
+ comfortable: string;
895
+ columns: string;
896
+ };
897
+ ValidationInput: {
898
+ required: string;
899
+ typeMismatch: string;
900
+ pattern: string;
901
+ tooShort: string;
902
+ tooLong: string;
903
+ rangeUnderflow: string;
904
+ rangeOverflow: string;
905
+ stepMismatch: string;
906
+ badInput: string;
907
+ invalid: string;
908
+ };
909
+ Loading: {
910
+ loadingPage: string;
911
+ pleaseWait: string;
912
+ };
913
+ DatePicker: {
914
+ placeholder: string;
915
+ today: string;
916
+ clear: string;
917
+ };
918
+ Pagination: {
919
+ navigationLabel: string;
920
+ showingResults: string;
921
+ firstPage: string;
922
+ previousPage: string;
923
+ previous: string;
924
+ nextPage: string;
925
+ next: string;
926
+ lastPage: string;
927
+ pageNumber: string;
928
+ itemsPerPage: string;
929
+ search: string;
930
+ noOptions: string;
931
+ };
932
+ OCR: {
933
+ imageUpload: {
934
+ dragDropText: string;
935
+ browseFiles: string;
936
+ supportedFormats: string;
937
+ };
938
+ };
939
+ };
940
+ readonly vi: {
941
+ Common: {
942
+ close: string;
943
+ closeAlert: string;
944
+ notifications: string;
945
+ newNotification: string;
946
+ readStatus: string;
947
+ openLink: string;
948
+ theme: string;
949
+ lightTheme: string;
950
+ darkTheme: string;
951
+ systemTheme: string;
952
+ density: string;
953
+ compact: string;
954
+ normal: string;
955
+ comfortable: string;
956
+ columns: string;
957
+ };
958
+ ValidationInput: {
959
+ required: string;
960
+ typeMismatch: string;
961
+ pattern: string;
962
+ tooShort: string;
963
+ tooLong: string;
964
+ rangeUnderflow: string;
965
+ rangeOverflow: string;
966
+ stepMismatch: string;
967
+ badInput: string;
968
+ invalid: string;
969
+ };
970
+ Loading: {
971
+ loadingPage: string;
972
+ pleaseWait: string;
973
+ };
974
+ DatePicker: {
975
+ placeholder: string;
976
+ today: string;
977
+ clear: string;
978
+ };
979
+ Pagination: {
980
+ navigationLabel: string;
981
+ showingResults: string;
982
+ firstPage: string;
983
+ previousPage: string;
984
+ previous: string;
985
+ nextPage: string;
986
+ next: string;
987
+ lastPage: string;
988
+ pageNumber: string;
989
+ itemsPerPage: string;
990
+ search: string;
991
+ noOptions: string;
992
+ };
993
+ OCR: {
994
+ imageUpload: {
995
+ dragDropText: string;
996
+ browseFiles: string;
997
+ supportedFormats: string;
998
+ };
999
+ };
1000
+ };
1001
+ };
1002
+ type UnderverseLocale = keyof typeof underverseMessages;
1003
+ declare function getUnderverseMessages(locale?: UnderverseLocale): {
1004
+ Common: {
1005
+ close: string;
1006
+ closeAlert: string;
1007
+ notifications: string;
1008
+ newNotification: string;
1009
+ readStatus: string;
1010
+ openLink: string;
1011
+ theme: string;
1012
+ lightTheme: string;
1013
+ darkTheme: string;
1014
+ systemTheme: string;
1015
+ density: string;
1016
+ compact: string;
1017
+ normal: string;
1018
+ comfortable: string;
1019
+ columns: string;
1020
+ };
1021
+ ValidationInput: {
1022
+ required: string;
1023
+ typeMismatch: string;
1024
+ pattern: string;
1025
+ tooShort: string;
1026
+ tooLong: string;
1027
+ rangeUnderflow: string;
1028
+ rangeOverflow: string;
1029
+ stepMismatch: string;
1030
+ badInput: string;
1031
+ invalid: string;
1032
+ };
1033
+ Loading: {
1034
+ loadingPage: string;
1035
+ pleaseWait: string;
1036
+ };
1037
+ DatePicker: {
1038
+ placeholder: string;
1039
+ today: string;
1040
+ clear: string;
1041
+ };
1042
+ Pagination: {
1043
+ navigationLabel: string;
1044
+ showingResults: string;
1045
+ firstPage: string;
1046
+ previousPage: string;
1047
+ previous: string;
1048
+ nextPage: string;
1049
+ next: string;
1050
+ lastPage: string;
1051
+ pageNumber: string;
1052
+ itemsPerPage: string;
1053
+ search: string;
1054
+ noOptions: string;
1055
+ };
1056
+ OCR: {
1057
+ imageUpload: {
1058
+ dragDropText: string;
1059
+ browseFiles: string;
1060
+ supportedFormats: string;
1061
+ };
1062
+ };
1063
+ } | {
1064
+ Common: {
1065
+ close: string;
1066
+ closeAlert: string;
1067
+ notifications: string;
1068
+ newNotification: string;
1069
+ readStatus: string;
1070
+ openLink: string;
1071
+ theme: string;
1072
+ lightTheme: string;
1073
+ darkTheme: string;
1074
+ systemTheme: string;
1075
+ density: string;
1076
+ compact: string;
1077
+ normal: string;
1078
+ comfortable: string;
1079
+ columns: string;
1080
+ };
1081
+ ValidationInput: {
1082
+ required: string;
1083
+ typeMismatch: string;
1084
+ pattern: string;
1085
+ tooShort: string;
1086
+ tooLong: string;
1087
+ rangeUnderflow: string;
1088
+ rangeOverflow: string;
1089
+ stepMismatch: string;
1090
+ badInput: string;
1091
+ invalid: string;
1092
+ };
1093
+ Loading: {
1094
+ loadingPage: string;
1095
+ pleaseWait: string;
1096
+ };
1097
+ DatePicker: {
1098
+ placeholder: string;
1099
+ today: string;
1100
+ clear: string;
1101
+ };
1102
+ Pagination: {
1103
+ navigationLabel: string;
1104
+ showingResults: string;
1105
+ firstPage: string;
1106
+ previousPage: string;
1107
+ previous: string;
1108
+ nextPage: string;
1109
+ next: string;
1110
+ lastPage: string;
1111
+ pageNumber: string;
1112
+ itemsPerPage: string;
1113
+ search: string;
1114
+ noOptions: string;
1115
+ };
1116
+ OCR: {
1117
+ imageUpload: {
1118
+ dragDropText: string;
1119
+ browseFiles: string;
1120
+ supportedFormats: string;
1121
+ };
1122
+ };
1123
+ };
1124
+
1125
+ export { AccessDenied, Alert, Avatar, Badge, Badge as BadgeBase, BottomSheet, Breadcrumb, Button, ButtonLoading, Card, Carousel, CategoryTreeSelect, Checkbox, ClientOnly, Combobox, DataTable, DatePicker, date as DateUtils, Drawer, DropdownMenu, FloatingContacts, GlobalLoading, GradientBadge, ImageUpload, InlineLoading, Input, InteractiveBadge, Label, LoadingBar, LoadingDots, LoadingSpinner, Modal, MultiCombobox, NotificationBadge, NotificationModal, PageLoading, Pagination, PillTabs, Popover, Progress, PulseBadge, RadioGroup, SIZE_STYLES_BTN, ScrollArea, Section, Sheet, SidebarSheet, SimpleTabs, Skeleton, SlideOver, Slider, SmartImage, StatusBadge, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TagBadge, Textarea, ToastProvider, Tooltip, type UnderverseLocale, VARIANT_STYLES_ALERT, VARIANT_STYLES_BTN, VerticalTabs, cn, getUnderverseMessages, underverseMessages, useToast };
package/dist/index.d.ts CHANGED
@@ -643,14 +643,6 @@ interface ImageUploadProps {
643
643
  declare function ImageUpload({ onUpload, onRemove, maxSize, // Convert bytes to MB
644
644
  accept, multiple, disabled, className, showPreview, previewSize, dragDropText, browseText, supportedFormatsText }: ImageUploadProps): react_jsx_runtime.JSX.Element;
645
645
 
646
- interface ProductImageUploadProps {
647
- value?: string;
648
- onChange: (url: string) => void;
649
- disabled?: boolean;
650
- className?: string;
651
- }
652
- declare const ProductImageUpload: React__default.FC<ProductImageUploadProps>;
653
-
654
646
  interface CarouselProps {
655
647
  children: React$1.ReactNode[];
656
648
  autoScroll?: boolean;
@@ -883,4 +875,251 @@ declare const VARIANT_STYLES_ALERT: {
883
875
  error: string;
884
876
  };
885
877
 
886
- export { AccessDenied, Alert, Avatar, Badge, Badge as BadgeBase, BottomSheet, Breadcrumb, Button, ButtonLoading, Card, Carousel, CategoryTreeSelect, Checkbox, ClientOnly, Combobox, DataTable, DatePicker, date as DateUtils, Drawer, DropdownMenu, FloatingContacts, GlobalLoading, GradientBadge, ImageUpload, InlineLoading, Input, InteractiveBadge, Label, LoadingBar, LoadingDots, LoadingSpinner, Modal, MultiCombobox, NotificationBadge, NotificationModal, PageLoading, Pagination, PillTabs, Popover, ProductImageUpload, Progress, PulseBadge, RadioGroup, SIZE_STYLES_BTN, ScrollArea, Section, Sheet, SidebarSheet, SimpleTabs, Skeleton, SlideOver, Slider, SmartImage, StatusBadge, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TagBadge, Textarea, ToastProvider, Tooltip, VARIANT_STYLES_ALERT, VARIANT_STYLES_BTN, VerticalTabs, cn, useToast };
878
+ declare const underverseMessages: {
879
+ readonly en: {
880
+ Common: {
881
+ close: string;
882
+ closeAlert: string;
883
+ notifications: string;
884
+ newNotification: string;
885
+ readStatus: string;
886
+ openLink: string;
887
+ theme: string;
888
+ lightTheme: string;
889
+ darkTheme: string;
890
+ systemTheme: string;
891
+ density: string;
892
+ compact: string;
893
+ normal: string;
894
+ comfortable: string;
895
+ columns: string;
896
+ };
897
+ ValidationInput: {
898
+ required: string;
899
+ typeMismatch: string;
900
+ pattern: string;
901
+ tooShort: string;
902
+ tooLong: string;
903
+ rangeUnderflow: string;
904
+ rangeOverflow: string;
905
+ stepMismatch: string;
906
+ badInput: string;
907
+ invalid: string;
908
+ };
909
+ Loading: {
910
+ loadingPage: string;
911
+ pleaseWait: string;
912
+ };
913
+ DatePicker: {
914
+ placeholder: string;
915
+ today: string;
916
+ clear: string;
917
+ };
918
+ Pagination: {
919
+ navigationLabel: string;
920
+ showingResults: string;
921
+ firstPage: string;
922
+ previousPage: string;
923
+ previous: string;
924
+ nextPage: string;
925
+ next: string;
926
+ lastPage: string;
927
+ pageNumber: string;
928
+ itemsPerPage: string;
929
+ search: string;
930
+ noOptions: string;
931
+ };
932
+ OCR: {
933
+ imageUpload: {
934
+ dragDropText: string;
935
+ browseFiles: string;
936
+ supportedFormats: string;
937
+ };
938
+ };
939
+ };
940
+ readonly vi: {
941
+ Common: {
942
+ close: string;
943
+ closeAlert: string;
944
+ notifications: string;
945
+ newNotification: string;
946
+ readStatus: string;
947
+ openLink: string;
948
+ theme: string;
949
+ lightTheme: string;
950
+ darkTheme: string;
951
+ systemTheme: string;
952
+ density: string;
953
+ compact: string;
954
+ normal: string;
955
+ comfortable: string;
956
+ columns: string;
957
+ };
958
+ ValidationInput: {
959
+ required: string;
960
+ typeMismatch: string;
961
+ pattern: string;
962
+ tooShort: string;
963
+ tooLong: string;
964
+ rangeUnderflow: string;
965
+ rangeOverflow: string;
966
+ stepMismatch: string;
967
+ badInput: string;
968
+ invalid: string;
969
+ };
970
+ Loading: {
971
+ loadingPage: string;
972
+ pleaseWait: string;
973
+ };
974
+ DatePicker: {
975
+ placeholder: string;
976
+ today: string;
977
+ clear: string;
978
+ };
979
+ Pagination: {
980
+ navigationLabel: string;
981
+ showingResults: string;
982
+ firstPage: string;
983
+ previousPage: string;
984
+ previous: string;
985
+ nextPage: string;
986
+ next: string;
987
+ lastPage: string;
988
+ pageNumber: string;
989
+ itemsPerPage: string;
990
+ search: string;
991
+ noOptions: string;
992
+ };
993
+ OCR: {
994
+ imageUpload: {
995
+ dragDropText: string;
996
+ browseFiles: string;
997
+ supportedFormats: string;
998
+ };
999
+ };
1000
+ };
1001
+ };
1002
+ type UnderverseLocale = keyof typeof underverseMessages;
1003
+ declare function getUnderverseMessages(locale?: UnderverseLocale): {
1004
+ Common: {
1005
+ close: string;
1006
+ closeAlert: string;
1007
+ notifications: string;
1008
+ newNotification: string;
1009
+ readStatus: string;
1010
+ openLink: string;
1011
+ theme: string;
1012
+ lightTheme: string;
1013
+ darkTheme: string;
1014
+ systemTheme: string;
1015
+ density: string;
1016
+ compact: string;
1017
+ normal: string;
1018
+ comfortable: string;
1019
+ columns: string;
1020
+ };
1021
+ ValidationInput: {
1022
+ required: string;
1023
+ typeMismatch: string;
1024
+ pattern: string;
1025
+ tooShort: string;
1026
+ tooLong: string;
1027
+ rangeUnderflow: string;
1028
+ rangeOverflow: string;
1029
+ stepMismatch: string;
1030
+ badInput: string;
1031
+ invalid: string;
1032
+ };
1033
+ Loading: {
1034
+ loadingPage: string;
1035
+ pleaseWait: string;
1036
+ };
1037
+ DatePicker: {
1038
+ placeholder: string;
1039
+ today: string;
1040
+ clear: string;
1041
+ };
1042
+ Pagination: {
1043
+ navigationLabel: string;
1044
+ showingResults: string;
1045
+ firstPage: string;
1046
+ previousPage: string;
1047
+ previous: string;
1048
+ nextPage: string;
1049
+ next: string;
1050
+ lastPage: string;
1051
+ pageNumber: string;
1052
+ itemsPerPage: string;
1053
+ search: string;
1054
+ noOptions: string;
1055
+ };
1056
+ OCR: {
1057
+ imageUpload: {
1058
+ dragDropText: string;
1059
+ browseFiles: string;
1060
+ supportedFormats: string;
1061
+ };
1062
+ };
1063
+ } | {
1064
+ Common: {
1065
+ close: string;
1066
+ closeAlert: string;
1067
+ notifications: string;
1068
+ newNotification: string;
1069
+ readStatus: string;
1070
+ openLink: string;
1071
+ theme: string;
1072
+ lightTheme: string;
1073
+ darkTheme: string;
1074
+ systemTheme: string;
1075
+ density: string;
1076
+ compact: string;
1077
+ normal: string;
1078
+ comfortable: string;
1079
+ columns: string;
1080
+ };
1081
+ ValidationInput: {
1082
+ required: string;
1083
+ typeMismatch: string;
1084
+ pattern: string;
1085
+ tooShort: string;
1086
+ tooLong: string;
1087
+ rangeUnderflow: string;
1088
+ rangeOverflow: string;
1089
+ stepMismatch: string;
1090
+ badInput: string;
1091
+ invalid: string;
1092
+ };
1093
+ Loading: {
1094
+ loadingPage: string;
1095
+ pleaseWait: string;
1096
+ };
1097
+ DatePicker: {
1098
+ placeholder: string;
1099
+ today: string;
1100
+ clear: string;
1101
+ };
1102
+ Pagination: {
1103
+ navigationLabel: string;
1104
+ showingResults: string;
1105
+ firstPage: string;
1106
+ previousPage: string;
1107
+ previous: string;
1108
+ nextPage: string;
1109
+ next: string;
1110
+ lastPage: string;
1111
+ pageNumber: string;
1112
+ itemsPerPage: string;
1113
+ search: string;
1114
+ noOptions: string;
1115
+ };
1116
+ OCR: {
1117
+ imageUpload: {
1118
+ dragDropText: string;
1119
+ browseFiles: string;
1120
+ supportedFormats: string;
1121
+ };
1122
+ };
1123
+ };
1124
+
1125
+ export { AccessDenied, Alert, Avatar, Badge, Badge as BadgeBase, BottomSheet, Breadcrumb, Button, ButtonLoading, Card, Carousel, CategoryTreeSelect, Checkbox, ClientOnly, Combobox, DataTable, DatePicker, date as DateUtils, Drawer, DropdownMenu, FloatingContacts, GlobalLoading, GradientBadge, ImageUpload, InlineLoading, Input, InteractiveBadge, Label, LoadingBar, LoadingDots, LoadingSpinner, Modal, MultiCombobox, NotificationBadge, NotificationModal, PageLoading, Pagination, PillTabs, Popover, Progress, PulseBadge, RadioGroup, SIZE_STYLES_BTN, ScrollArea, Section, Sheet, SidebarSheet, SimpleTabs, Skeleton, SlideOver, Slider, SmartImage, StatusBadge, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TagBadge, Textarea, ToastProvider, Tooltip, type UnderverseLocale, VARIANT_STYLES_ALERT, VARIANT_STYLES_BTN, VerticalTabs, cn, getUnderverseMessages, underverseMessages, useToast };