pixel-react 1.0.9 → 1.1.0
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 +29 -1
- package/lib/index.esm.js +177 -84
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +177 -83
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +2 -0
package/lib/index.d.ts
CHANGED
@@ -1463,6 +1463,34 @@ declare const DragAndDrop: {
|
|
1463
1463
|
|
1464
1464
|
declare const AllProjectsDropdown: () => react_jsx_runtime.JSX.Element;
|
1465
1465
|
|
1466
|
+
interface AppHeaderProps {
|
1467
|
+
logoIconName: string;
|
1468
|
+
rightContent: ReactNode;
|
1469
|
+
projectsList: string[];
|
1470
|
+
appHeaderMenuItems: appHeaderMenuItemProps[];
|
1471
|
+
appHeaderHiddenMenuItems: string[];
|
1472
|
+
selectedMenu: string;
|
1473
|
+
selectedSubMenu: string;
|
1474
|
+
selectedQuickMenu: string;
|
1475
|
+
onMenuClick?: (text: any) => void;
|
1476
|
+
onSubMenuClick?: (text: any) => void;
|
1477
|
+
onQuickMenuClick?: (text: any) => void;
|
1478
|
+
}
|
1479
|
+
interface appHeaderMenuItemProps {
|
1480
|
+
menuName: string;
|
1481
|
+
subMenuItems: appHeaderSubMenuItemProps[];
|
1482
|
+
}
|
1483
|
+
interface appHeaderSubMenuItemProps {
|
1484
|
+
subMenuName: string;
|
1485
|
+
quickMenuItems: appHeaderQuickMenuItemProps[];
|
1486
|
+
}
|
1487
|
+
interface appHeaderQuickMenuItemProps {
|
1488
|
+
quickMenuName: string;
|
1489
|
+
quickMenuIconName: string;
|
1490
|
+
}
|
1491
|
+
|
1492
|
+
declare const AppHeader: React.FC<AppHeaderProps>;
|
1493
|
+
|
1466
1494
|
type valueType$1 = any;
|
1467
1495
|
declare const checkEmpty: (value: valueType$1) => boolean;
|
1468
1496
|
|
@@ -1470,4 +1498,4 @@ type valueType = File | string;
|
|
1470
1498
|
declare const getExtension: (value: valueType) => string | undefined;
|
1471
1499
|
declare const getExtensionWithPeriod: (value: valueType) => string;
|
1472
1500
|
|
1473
|
-
export { Accordion, AddButton as AddResourceButton, AllProjectsDropdown, Button, Checkbox, Chip, Col, Container, CustomDatePicker as DatePicker, DonutChart, DragAndDrop, Drawer, ExpandableMenu, FileDropzone, Form, HighlightText, Icon, IconButton, Input, InputWithDropdown, MenuOption, MiniModal, Modal, MultiSelect, RadialChart, RadioButton, RadioGroup, Row, Search, Select, StateDropdown, StatusButton, Table, TableTree, Tabs, Textarea as TextArea, ThemeProvider, Toaster, Toggle, Tooltip, Typography, checkEmpty, getExtension, getExtensionWithPeriod, useTheme };
|
1501
|
+
export { Accordion, AddButton as AddResourceButton, AllProjectsDropdown, AppHeader, Button, Checkbox, Chip, Col, Container, CustomDatePicker as DatePicker, DonutChart, DragAndDrop, Drawer, ExpandableMenu, FileDropzone, Form, HighlightText, Icon, IconButton, Input, InputWithDropdown, MenuOption, MiniModal, Modal, MultiSelect, RadialChart, RadioButton, RadioGroup, Row, Search, Select, StateDropdown, StatusButton, Table, TableTree, Tabs, Textarea as TextArea, ThemeProvider, Toaster, Toggle, Tooltip, Typography, checkEmpty, getExtension, getExtensionWithPeriod, useTheme };
|