pixel-react 1.0.4 → 1.0.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/lib/index.d.ts CHANGED
@@ -884,7 +884,7 @@ interface AddResourceButtonProps {
884
884
  zIndex?: number;
885
885
  }
886
886
 
887
- declare const AddButton: ({ id, variant, directionalArrow, zIndex, }: AddResourceButtonProps) => react_jsx_runtime.JSX.Element;
887
+ declare const AddButton$1: ({ id, variant, directionalArrow, zIndex, }: AddResourceButtonProps) => react_jsx_runtime.JSX.Element;
888
888
 
889
889
  type Status = 'passed' | 'failed' | 'warning' | 'skipped' | 'Passed' | 'Failed' | 'Skipped' | 'Warning';
890
890
  type StatusValue = {
@@ -1344,6 +1344,13 @@ interface StateDropdownProps {
1344
1344
 
1345
1345
  declare const StateDropdown: ({ value, nodeObj, isReviewer, isApprovePage, handleStateValueClick, handleDropdownOptionsClick, disabled, isOnlyReviewer, userHasOnlyViewAccess, }: StateDropdownProps) => react_jsx_runtime.JSX.Element;
1346
1346
 
1347
+ interface AddButtonProps {
1348
+ name: string;
1349
+ onClick?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
1350
+ }
1351
+
1352
+ declare const AddButton: React__default.FC<AddButtonProps>;
1353
+
1347
1354
  type valueType$1 = any;
1348
1355
  declare const checkEmpty: (value: valueType$1) => boolean;
1349
1356
 
@@ -1351,4 +1358,4 @@ type valueType = File | string;
1351
1358
  declare const getExtension: (value: valueType) => string | undefined;
1352
1359
  declare const getExtensionWithPeriod: (value: valueType) => string;
1353
1360
 
1354
- export { Accordion, AddButton as AddResourceButton, Button, Checkbox, Chip, Col, Container, DonutChart, Drawer, ExpandableMenu, FileDropzone, Form, HighlightText, Icon, Input, InputWithDropdown, MenuOption, MiniModal, MultiSelect, RadialChart, RadioButton, RadioGroup, Row, Search, Select, StateDropdown, StatusButton, Table, TableTree, Tabs, Textarea as TextArea, ThemeProvider, Toaster, Toggle, Tooltip, Typography, checkEmpty, getExtension, getExtensionWithPeriod, useTheme };
1361
+ export { Accordion, AddButton, AddButton$1 as AddResourceButton, Button, Checkbox, Chip, Col, Container, DonutChart, Drawer, ExpandableMenu, FileDropzone, Form, HighlightText, Icon, Input, InputWithDropdown, MenuOption, MiniModal, MultiSelect, RadialChart, RadioButton, RadioGroup, Row, Search, Select, StateDropdown, StatusButton, Table, TableTree, Tabs, Textarea as TextArea, ThemeProvider, Toaster, Toggle, Tooltip, Typography, checkEmpty, getExtension, getExtensionWithPeriod, useTheme };