@harnessio/ui 0.5.10 → 0.5.12
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/components.d.ts +7 -3
- package/dist/components.js +1 -1
- package/dist/{index-CHvN8Aah.js → index-CC22tE94.js} +3156 -3157
- package/dist/{index-CHvN8Aah.js.map → index-CC22tE94.js.map} +1 -1
- package/dist/index.d.ts +7 -3
- package/dist/index.js +1 -1
- package/dist/styles.css +1 -1
- package/dist/tailwind.config.js +0 -2
- package/dist/tailwind.config.js.map +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1787,7 +1787,7 @@ declare interface CustomItemProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
1787
1787
|
children: ReactNode;
|
|
1788
1788
|
}
|
|
1789
1789
|
|
|
1790
|
-
declare const DataTable: (<TData>({ data, columns, size, variant, paginationProps, getRowClassName, onRowClick, disableHighlightOnHover, className, currentSorting, currentRowSelection, onSortingChange: externalOnSortingChange, enableRowSelection, onRowSelectionChange: externalOnRowSelectionChange, enableExpanding, getRowCanExpand, getRowCanSelect, getIsRowDisabled, currentExpanded, onExpandedChange: externalOnExpandedChange, renderSubComponent, _enableColumnResizing, getRowId, visibleColumns, columnPinning }: DataTableProps<TData>) => JSX_2.Element) & {
|
|
1790
|
+
declare const DataTable: (<TData>({ data, columns, size, variant, paginationProps, getRowClassName, onRowClick, getRowLink, disableHighlightOnHover, className, currentSorting, currentRowSelection, onSortingChange: externalOnSortingChange, enableRowSelection, onRowSelectionChange: externalOnRowSelectionChange, enableExpanding, getRowCanExpand, getRowCanSelect, getIsRowDisabled, currentExpanded, onExpandedChange: externalOnExpandedChange, renderSubComponent, _enableColumnResizing, getRowId, visibleColumns, columnPinning }: DataTableProps<TData>) => JSX_2.Element) & {
|
|
1791
1791
|
ColumnFilter: FC<DataTableColumnFilterDropdownProps>;
|
|
1792
1792
|
};
|
|
1793
1793
|
|
|
@@ -1850,6 +1850,11 @@ declare interface DataTableProps<TData> {
|
|
|
1850
1850
|
* and cannot be clicked, selected, or expanded.
|
|
1851
1851
|
*/
|
|
1852
1852
|
getIsRowDisabled?: (row: Row<TData>) => boolean;
|
|
1853
|
+
/**
|
|
1854
|
+
* Function to generate a navigation link for a row.
|
|
1855
|
+
* When provided, the row renders as a link navigating to the returned URL.
|
|
1856
|
+
*/
|
|
1857
|
+
getRowLink?: (data: TData, index: number) => string;
|
|
1853
1858
|
/**
|
|
1854
1859
|
* Current expanded rows state
|
|
1855
1860
|
*/
|
|
@@ -2052,7 +2057,6 @@ declare const Drawer_2: {
|
|
|
2052
2057
|
Trigger: ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLButtonElement>>;
|
|
2053
2058
|
Content: ForwardRefExoticComponent<Omit<Omit<DialogContentProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & {
|
|
2054
2059
|
size?: DrawerContentVariantsSize;
|
|
2055
|
-
hideClose?: boolean;
|
|
2056
2060
|
overlayClassName?: string;
|
|
2057
2061
|
forceWithOverlay?: boolean;
|
|
2058
2062
|
} & RefAttributes<HTMLDivElement>>;
|
|
@@ -2077,7 +2081,6 @@ declare const Drawer_2: {
|
|
|
2077
2081
|
|
|
2078
2082
|
declare type DrawerContentProps = ComponentPropsWithoutRef<typeof Drawer.Content> & {
|
|
2079
2083
|
size?: DrawerContentVariantsSize;
|
|
2080
|
-
hideClose?: boolean;
|
|
2081
2084
|
overlayClassName?: string;
|
|
2082
2085
|
forceWithOverlay?: boolean;
|
|
2083
2086
|
};
|
|
@@ -2093,6 +2096,7 @@ declare type DrawerContentVariantsSize = VariantProps<typeof drawerContentVarian
|
|
|
2093
2096
|
|
|
2094
2097
|
declare type DrawerHeaderBaseProps = Omit<HTMLAttributes<HTMLDivElement>, 'children'> & {
|
|
2095
2098
|
children: ReactNode;
|
|
2099
|
+
hideClose?: boolean;
|
|
2096
2100
|
};
|
|
2097
2101
|
|
|
2098
2102
|
declare type DrawerHeaderIconOnlyProps = {
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as s } from "./index-Bvr23CG5.js";
|
|
2
|
-
import { i as e } from "./index-
|
|
2
|
+
import { i as e } from "./index-CC22tE94.js";
|
|
3
3
|
import { i as a } from "./index-D6BuUbRP.js";
|
|
4
4
|
import { i as m } from "./index-BhO-bCC5.js";
|
|
5
5
|
import { i as f } from "./index-yGuTXfMI.js";
|