@majoo-ui/react 1.55.5 → 1.55.6

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/README.md CHANGED
@@ -1,7 +1,7 @@
1
- React
2
-
3
- This library was generated with [Nx](https://nx.dev).
4
-
5
- Running unit tests
6
-
7
- Run `nx test react` to execute the unit tests via [Jest](https://jestjs.io).
1
+ React
2
+
3
+ This library was generated with [Nx](https://nx.dev).
4
+
5
+ Running unit tests
6
+
7
+ Run `nx test react` to execute the unit tests via [Jest](https://jestjs.io).
@@ -124,9 +124,6 @@ declare namespace EditableTable {
124
124
  mb: (value: {
125
125
  readonly [$$ScaleValue]: "space";
126
126
  }) => {
127
- /**
128
- * Show checkbox table selection.
129
- */
130
127
  marginBottom: {
131
128
  readonly [$$ScaleValue]: "space";
132
129
  };
@@ -227,9 +224,6 @@ declare namespace EditableTable {
227
224
  mb: (value: {
228
225
  readonly [$$ScaleValue]: "space";
229
226
  }) => {
230
- /**
231
- * Show checkbox table selection.
232
- */
233
227
  marginBottom: {
234
228
  readonly [$$ScaleValue]: "space";
235
229
  };
@@ -328,9 +322,6 @@ declare namespace EditableTable {
328
322
  mb: (value: {
329
323
  readonly [$$ScaleValue]: "space";
330
324
  }) => {
331
- /**
332
- * Show checkbox table selection.
333
- */
334
325
  marginBottom: {
335
326
  readonly [$$ScaleValue]: "space";
336
327
  };
@@ -298,6 +298,7 @@ export declare const IconContainer: import("@stitches/react/types/styled-compone
298
298
  }>>;
299
299
  export declare const OptionWrapper: import("@stitches/react/types/styled-component").StyledComponent<"div", {
300
300
  placement?: "bottom" | "top" | undefined;
301
+ withFooter?: boolean | "true" | undefined;
301
302
  }, {
302
303
  sm: "(min-width: 359px)";
303
304
  md: "(min-width: 767px)";
@@ -699,7 +700,14 @@ interface InputSelectProps extends Omit<DownshiftProps<Option>, 'initialSelected
699
700
  * Deprecated in v1.46.7. Use 'hideArrowIcon' instead.
700
701
  */
701
702
  noOptionIcon?: boolean;
703
+ /**
704
+ * Additional CSS styles
705
+ */
702
706
  css?: CSS;
707
+ /**
708
+ * Render custom footer inside option
709
+ */
710
+ renderFooter?: () => React.ReactNode;
703
711
  }
704
- export declare function InputSelect({ option, onChange, value, placeholder, searchPlaceholder, embedSearch, size, disabled, search, iconColor, hideArrowicon, showLeadingIcon, placement, disabledOptions, textSelector, valueSelector, readOnly, isInvalid, noOptionIcon, fetchData, onSearch, isLoading, showTooltip, css, ...props }: InputSelectProps): JSX.Element;
712
+ export declare function InputSelect({ option, onChange, value, placeholder, searchPlaceholder, embedSearch, size, disabled, search, iconColor, hideArrowicon, showLeadingIcon, placement, disabledOptions, textSelector, valueSelector, readOnly, isInvalid, noOptionIcon, fetchData, onSearch, isLoading, showTooltip, css, renderFooter, ...props }: InputSelectProps): JSX.Element;
705
713
  export default InputSelect;
@@ -19,6 +19,7 @@ interface MobileTableProps {
19
19
  css?: CSS;
20
20
  customRowsStyle?: (e: any) => CustomRowsStyle[];
21
21
  cellAlign?: 'top' | 'center' | 'bottom';
22
+ renderContextMenu?: () => JSX.Element;
22
23
  }
23
24
  declare const MobileTable: React.ForwardRefExoticComponent<MobileTableProps & React.RefAttributes<HTMLDivElement>>;
24
25
  export default MobileTable;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { CellProps, Row } from 'react-table';
2
+ import { CellProps, Row, ColumnInstance } from 'react-table';
3
3
  import { CSS } from '../../config/stitches.config';
4
4
  export declare const TableContent: import("@stitches/react/types/styled-component").StyledComponent<"table", {}, {
5
5
  sm: "(min-width: 359px)";
@@ -1097,6 +1097,9 @@ interface CustomRowsStyle {
1097
1097
  predicate: boolean;
1098
1098
  css: CSS;
1099
1099
  }
1100
+ export interface ColumnInstanceProps<D extends object> extends ColumnInstance<D> {
1101
+ options?: [];
1102
+ }
1100
1103
  export interface EmptyDataProps {
1101
1104
  doodleImage: React.ReactNode;
1102
1105
  title: string | React.ReactNode;