@mutable/meiosis
Advanced tools
Comparing version 1.1.10 to 1.1.11
import React from "react"; | ||
import { ButtonProps } from "./Button.types"; | ||
/** | ||
- Use an avatar for attributing actions or content to specific users. | ||
- The user's name should always be present when using Avatar – either printed beside the avatar or in a tooltip. | ||
**/ | ||
export declare const Button: React.FC<ButtonProps & React.ButtonHTMLAttributes<HTMLButtonElement>>; |
@@ -28,2 +28,7 @@ import { SelectValue } from "../Select/Select.types"; | ||
onSearch?: (searchConfig: SearchConfig) => void; | ||
/** | ||
* onSort can be used to perform api call sort. | ||
* If onSort is undefined, in-view data sort will be performed | ||
*/ | ||
onSort?: (sortConfig: SortConfig) => void; | ||
onRowClick?: (row: any, index: number) => void; | ||
@@ -30,0 +35,0 @@ onColumnClick?: (column: any, index: number) => void; |
@@ -1,6 +0,6 @@ | ||
export declare type IconType = 'bug' | 'history' | 'spinner' | 'stack' | 'plus' | 'trash' | 'envelope' | 'edit'; | ||
export declare type IconType = 'bug' | 'history' | 'spinner' | 'stack' | 'plus' | 'trash' | 'envelope' | 'edit' | 'upload'; | ||
export declare const IconTypes: string[]; | ||
export interface IconProps { | ||
/** | ||
* Icon source can be an alias, such as 'bug' | 'history' | 'spinner' | 'stack' | 'plus' | 'trash' | 'envelope' | 'edit'; | ||
* Icon source can be an alias, such as 'bug' | 'history' | 'spinner' | 'stack' | 'plus' | 'trash' | 'envelope' | 'edit' | 'upload'; | ||
* a string path, such as 'require("../../public/icons/microchip-light.svg")'; | ||
@@ -7,0 +7,0 @@ * or an SVG object, such as \<svg ...>\<path d="M ..." ... /></svg> |
@@ -24,5 +24,6 @@ import { Button } from './components/Button/Button'; | ||
import { DataTable } from './components/DataTable/DataTable'; | ||
import { FileUpload } from './components/FileUpload/FileUpload'; | ||
import WithLoading from "./components/HOC/WithLoading/WithLoading"; | ||
import './styles/global.css'; | ||
export * from "./types"; | ||
export { Button, AreaChart, SystemHealthCard, SystemHealthCardWithLoading, Table, TableWithLoading, Badge, Card, CardList, CardListWithLoading, DescriptionList, DescriptionListWithLoading, Icon, IconLink, Spinner, Input, Field, Form, Select, ControlledSelect, Modal, SectionTitle, Alert, Tabs, WithLoading, AccountSelection, Pagination, DataTable }; | ||
export { Button, AreaChart, SystemHealthCard, SystemHealthCardWithLoading, Table, TableWithLoading, Badge, Card, CardList, CardListWithLoading, DescriptionList, DescriptionListWithLoading, Icon, IconLink, Spinner, Input, Field, Form, Select, ControlledSelect, Modal, SectionTitle, Alert, Tabs, WithLoading, AccountSelection, Pagination, DataTable, FileUpload }; |
@@ -25,2 +25,3 @@ import { TimeSeries } from './utils/types'; | ||
import { DataTableProps, DataTableColumnProps, DataTableColumnType, SearchConfig, SortConfig, SortDirection, MultilineRow } from './components/DataTable/DataTable.types'; | ||
export { TimeSeries, ButtonProps, AreaChartProps, SystemHealthCardProps, TableProps, BadgeProps, CardProps, CardListProps, DescriptionItemProps, DescriptionListProps, IconProps, IconLinkProps, SpinnerProps, InputProps, FieldProps, FormProps, SelectValue, SelectProps, ControlledSelectProps, ModalProps, Width, SectionTitleProps, AlertType, AlertProps, TabProps, TabsProps, AccountSelectionProps, PaginationProps, DataTableProps, DataTableColumnProps, DataTableColumnType, SearchConfig, SortConfig, SortDirection, MultilineRow, ButtonVariant, TextAlign }; | ||
import { FileUploadProps } from './components/FileUpload/FileUpload.types'; | ||
export { TimeSeries, ButtonProps, AreaChartProps, SystemHealthCardProps, TableProps, BadgeProps, CardProps, CardListProps, DescriptionItemProps, DescriptionListProps, IconProps, IconLinkProps, SpinnerProps, InputProps, FieldProps, FormProps, SelectValue, SelectProps, ControlledSelectProps, ModalProps, Width, SectionTitleProps, AlertType, AlertProps, TabProps, TabsProps, AccountSelectionProps, PaginationProps, DataTableProps, DataTableColumnProps, DataTableColumnType, SearchConfig, SortConfig, SortDirection, MultilineRow, ButtonVariant, TextAlign, FileUploadProps }; |
{ | ||
"name": "@mutable/meiosis", | ||
"version": "1.1.10", | ||
"version": "1.1.11", | ||
"description": "Meiosis is the Design System for Mutable Products and Websites", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19895306
63
2445