@underverse-ui/underverse 0.1.32 → 0.1.34
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.cjs +700 -651
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -2
- package/dist/index.d.ts +8 -2
- package/dist/index.js +613 -564
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -650,6 +650,8 @@ interface SectionProps extends React__default.HTMLAttributes<HTMLElement> {
|
|
|
650
650
|
variant?: "default" | "muted" | "primary" | "accent";
|
|
651
651
|
spacing?: "sm" | "md" | "lg" | "xl";
|
|
652
652
|
fullWidth?: boolean;
|
|
653
|
+
/** Hiển thị viền mỏng xám nhạt giống Card */
|
|
654
|
+
outlined?: boolean;
|
|
653
655
|
}
|
|
654
656
|
declare const Section: React__default.ForwardRefExoticComponent<SectionProps & React__default.RefAttributes<HTMLElement>>;
|
|
655
657
|
|
|
@@ -851,10 +853,12 @@ interface SmartImageProps {
|
|
|
851
853
|
priority?: boolean;
|
|
852
854
|
quality?: number;
|
|
853
855
|
fit?: Fit;
|
|
856
|
+
/** Control object position, e.g. 'center', 'top', 'left', '50% 50%'. */
|
|
857
|
+
objectPosition?: React__default.CSSProperties["objectPosition"];
|
|
854
858
|
/** Optional fallback src if original fails. */
|
|
855
859
|
fallbackSrc?: string;
|
|
856
860
|
}
|
|
857
|
-
declare function SmartImage({ src, alt, className, ratioClass, roundedClass, fill, width, height, sizes, priority, quality, fit, fallbackSrc, }: SmartImageProps): react_jsx_runtime.JSX.Element;
|
|
861
|
+
declare function SmartImage({ src, alt, className, ratioClass, roundedClass, fill, width, height, sizes, priority, quality, fit, objectPosition, fallbackSrc, }: SmartImageProps): react_jsx_runtime.JSX.Element;
|
|
858
862
|
|
|
859
863
|
interface UploadedImage {
|
|
860
864
|
id: number;
|
|
@@ -957,6 +961,8 @@ interface DataTableProps<T> {
|
|
|
957
961
|
enableColumnVisibilityToggle?: boolean;
|
|
958
962
|
enableDensityToggle?: boolean;
|
|
959
963
|
striped?: boolean;
|
|
964
|
+
/** Hiển thị đường kẻ dọc ngăn cách giữa các cột */
|
|
965
|
+
columnDividers?: boolean;
|
|
960
966
|
className?: string;
|
|
961
967
|
labels?: {
|
|
962
968
|
density?: string;
|
|
@@ -967,7 +973,7 @@ interface DataTableProps<T> {
|
|
|
967
973
|
};
|
|
968
974
|
}
|
|
969
975
|
declare function DataTable<T extends Record<string, any>>({ columns, data, rowKey, loading, total, page, pageSize, pageSizeOptions, onQueryChange, caption, toolbar, enableColumnVisibilityToggle, enableDensityToggle, striped, // Mặc định bật màu nền sẽn kẽ cho các dòng
|
|
970
|
-
className, labels, }: DataTableProps<T>): react_jsx_runtime.JSX.Element;
|
|
976
|
+
columnDividers, className, labels, }: DataTableProps<T>): react_jsx_runtime.JSX.Element;
|
|
971
977
|
|
|
972
978
|
interface TableProps extends React__default.HTMLAttributes<HTMLTableElement> {
|
|
973
979
|
containerClassName?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -650,6 +650,8 @@ interface SectionProps extends React__default.HTMLAttributes<HTMLElement> {
|
|
|
650
650
|
variant?: "default" | "muted" | "primary" | "accent";
|
|
651
651
|
spacing?: "sm" | "md" | "lg" | "xl";
|
|
652
652
|
fullWidth?: boolean;
|
|
653
|
+
/** Hiển thị viền mỏng xám nhạt giống Card */
|
|
654
|
+
outlined?: boolean;
|
|
653
655
|
}
|
|
654
656
|
declare const Section: React__default.ForwardRefExoticComponent<SectionProps & React__default.RefAttributes<HTMLElement>>;
|
|
655
657
|
|
|
@@ -851,10 +853,12 @@ interface SmartImageProps {
|
|
|
851
853
|
priority?: boolean;
|
|
852
854
|
quality?: number;
|
|
853
855
|
fit?: Fit;
|
|
856
|
+
/** Control object position, e.g. 'center', 'top', 'left', '50% 50%'. */
|
|
857
|
+
objectPosition?: React__default.CSSProperties["objectPosition"];
|
|
854
858
|
/** Optional fallback src if original fails. */
|
|
855
859
|
fallbackSrc?: string;
|
|
856
860
|
}
|
|
857
|
-
declare function SmartImage({ src, alt, className, ratioClass, roundedClass, fill, width, height, sizes, priority, quality, fit, fallbackSrc, }: SmartImageProps): react_jsx_runtime.JSX.Element;
|
|
861
|
+
declare function SmartImage({ src, alt, className, ratioClass, roundedClass, fill, width, height, sizes, priority, quality, fit, objectPosition, fallbackSrc, }: SmartImageProps): react_jsx_runtime.JSX.Element;
|
|
858
862
|
|
|
859
863
|
interface UploadedImage {
|
|
860
864
|
id: number;
|
|
@@ -957,6 +961,8 @@ interface DataTableProps<T> {
|
|
|
957
961
|
enableColumnVisibilityToggle?: boolean;
|
|
958
962
|
enableDensityToggle?: boolean;
|
|
959
963
|
striped?: boolean;
|
|
964
|
+
/** Hiển thị đường kẻ dọc ngăn cách giữa các cột */
|
|
965
|
+
columnDividers?: boolean;
|
|
960
966
|
className?: string;
|
|
961
967
|
labels?: {
|
|
962
968
|
density?: string;
|
|
@@ -967,7 +973,7 @@ interface DataTableProps<T> {
|
|
|
967
973
|
};
|
|
968
974
|
}
|
|
969
975
|
declare function DataTable<T extends Record<string, any>>({ columns, data, rowKey, loading, total, page, pageSize, pageSizeOptions, onQueryChange, caption, toolbar, enableColumnVisibilityToggle, enableDensityToggle, striped, // Mặc định bật màu nền sẽn kẽ cho các dòng
|
|
970
|
-
className, labels, }: DataTableProps<T>): react_jsx_runtime.JSX.Element;
|
|
976
|
+
columnDividers, className, labels, }: DataTableProps<T>): react_jsx_runtime.JSX.Element;
|
|
971
977
|
|
|
972
978
|
interface TableProps extends React__default.HTMLAttributes<HTMLTableElement> {
|
|
973
979
|
containerClassName?: string;
|