@sinco/react 1.2.3-rc.0 → 1.2.3-rc.4

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/index.esm.js CHANGED
@@ -16909,16 +16909,16 @@ var DrawerComponent = function DrawerComponent(_ref) {
16909
16909
  direction: "row",
16910
16910
  py: 1.5,
16911
16911
  px: 1,
16912
- bgcolor: "primary.main"
16912
+ bgcolor: "secondary.main"
16913
16913
  }, React__default.createElement(Typography, {
16914
- color: "background.paper" ,
16914
+ color: "action.active" ,
16915
16915
  variant: "h6"
16916
16916
  }, title), React__default.createElement(IconButton, {
16917
16917
  onClick: onClose,
16918
16918
  size: "small"
16919
16919
  }, React__default.createElement(Close, {
16920
16920
  sx: {
16921
- color: "background.paper"
16921
+ color: "action.active"
16922
16922
  },
16923
16923
  fontSize: "inherit"
16924
16924
  }))), React__default.createElement(Stack, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sinco/react",
3
- "version": "1.2.3-rc.0",
3
+ "version": "1.2.3-rc.4",
4
4
  "description": "package for the configuration of mui react sinco",
5
5
  "private": false,
6
6
  "license": "MIT",
@@ -1,5 +1,5 @@
1
1
  import React, { ReactNode } from "react";
2
- import { SxProps } from "@mui/material";
2
+ import { SxProps, PaletteColor } from "@mui/material";
3
3
  export type DrawerPosition = "left" | "right";
4
4
  export interface DrawerComponentProperties {
5
5
  title: string;
@@ -13,8 +13,8 @@ export interface DrawerComponentProperties {
13
13
  onClose: () => void;
14
14
  sx?: SxProps;
15
15
  sxActions?: SxProps;
16
- backgroundColor?: string;
17
- color?: string;
16
+ backgroundColor?: React.CSSProperties;
17
+ color?: React.CSSProperties | PaletteColor;
18
18
  headerColor?: string;
19
19
  closeIcon?: string;
20
20
  }
@@ -2,6 +2,7 @@ import React from "react";
2
2
  export interface MultiSelectProps {
3
3
  topPanel?: React.ReactNode;
4
4
  acciones?: React.ReactNode;
5
+ contenido?: React.ReactNode;
5
6
  anchorEl: HTMLElement | null;
6
7
  dense?: boolean;
7
8
  open: boolean;
@@ -10,4 +11,4 @@ export interface MultiSelectProps {
10
11
  filterFunction: (items: any[], filtroTexto: string) => any[];
11
12
  getItemLabel: (item: any) => string;
12
13
  }
13
- export declare const MultiSelect: ({ topPanel, acciones, open, onClose, items, filterFunction, getItemLabel, anchorEl, dense }: MultiSelectProps) => React.JSX.Element;
14
+ export declare const MultiSelect: ({ topPanel, acciones, open, onClose, items, filterFunction, getItemLabel, anchorEl, dense, contenido }: MultiSelectProps) => React.JSX.Element;