jamespot-react-components 1.0.149 → 1.0.150

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.
@@ -11,7 +11,7 @@ export type NativeInputFileProps = DataCy & Omit<React.ComponentPropsWithoutRef<
11
11
  onChange: (files: ApiWrapper<jFileLittle>[]) => void;
12
12
  };
13
13
  export type JRCInputFileProps<T extends FieldValues = FieldValues> = JRCInputFieldProps<T> & Omit<NativeInputFileProps, 'value' | 'onChange'>;
14
- export declare const InputFile: React.ForwardRefExoticComponent<DataCy & Omit<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "onChange" | "value"> & {
14
+ export declare const InputFile: React.ForwardRefExoticComponent<DataCy & Omit<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "value" | "onChange"> & {
15
15
  token?: string | undefined;
16
16
  attrName?: string | undefined;
17
17
  onLoading?: ((state: boolean) => void) | undefined;
@@ -55,6 +55,7 @@ export type SelectProps = DataCy & {
55
55
  htmlFor?: string;
56
56
  required?: boolean;
57
57
  allowCustomOptions?: boolean;
58
+ loading?: boolean;
58
59
  };
59
60
  /**
60
61
  * Autocomplete
@@ -2,8 +2,8 @@ import * as React from 'react';
2
2
  import { JRCFileViewerProps } from './types';
3
3
  export declare const JRCFileViewer: <T extends {
4
4
  title: string;
5
- id: number;
6
5
  type: string;
6
+ id: number;
7
7
  uri: string;
8
8
  mainType: string;
9
9
  dateCreation: string;
@@ -7,6 +7,6 @@ export type JRCHtmlProps = LimitLinesProps & {
7
7
  };
8
8
  export declare const JRCHtml: React.ForwardRefExoticComponent<LimitLinesProps & {
9
9
  className?: string | undefined;
10
- as?: "symbol" | "object" | "g" | "b" | "div" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "link" | "main" | "map" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "slot" | "script" | "section" | "select" | "small" | "source" | "span" | "strong" | "style" | "sub" | "summary" | "sup" | "table" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "filter" | "foreignObject" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "stop" | "switch" | "text" | "textPath" | "tspan" | "use" | "view" | React.ComponentClass<any, any> | React.FunctionComponent<any> | undefined;
10
+ as?: "symbol" | "object" | "g" | "b" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "link" | "main" | "map" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "slot" | "script" | "section" | "select" | "small" | "source" | "span" | "strong" | "style" | "sub" | "summary" | "sup" | "table" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "filter" | "foreignObject" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "stop" | "switch" | "text" | "textPath" | "tspan" | "use" | "view" | React.ComponentClass<any, any> | React.FunctionComponent<any> | undefined;
11
11
  __html: string | undefined;
12
12
  } & React.RefAttributes<HTMLDivElement>>;
@@ -42,7 +42,7 @@ export interface JRCModalProps {
42
42
  showIconClose?: boolean;
43
43
  enableClickAwayCloseModal?: boolean;
44
44
  contentFull?: boolean;
45
- overflow?: 'hidden' | 'scroll';
45
+ overflow?: 'hidden' | 'scroll' | 'visible';
46
46
  radius?: ModalBorderRadius;
47
47
  isFull?: boolean;
48
48
  isFullHeight?: boolean;
@@ -8,21 +8,21 @@ export declare const JRCModalContainerFull: import("styled-components").StyledCo
8
8
  }, never>;
9
9
  export declare const JRCModalContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
10
10
  isFullHeight?: boolean | undefined;
11
- overflow?: "hidden" | "scroll" | undefined;
11
+ overflow?: "hidden" | "visible" | "scroll" | undefined;
12
12
  radius?: ModalBorderRadius | undefined;
13
13
  maxHeight?: string | undefined;
14
14
  }, never>;
15
15
  export declare const JRCModalTitle: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
16
16
  export declare const JRCModalOptions: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
17
17
  export declare const JRCModalContent: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
18
- overflow?: "hidden" | "scroll" | undefined;
18
+ overflow?: "hidden" | "visible" | "scroll" | undefined;
19
19
  }, never>;
20
20
  export declare const JRCModalContentFull: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
21
21
  export declare const JRCModalContentScrollbox: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
22
22
  export declare const JRCModalHeader: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
23
- overflow?: "hidden" | "scroll" | undefined;
23
+ overflow?: "hidden" | "visible" | "scroll" | undefined;
24
24
  }, never>;
25
25
  export declare const JRCModalFooter: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
26
- overflow?: "hidden" | "scroll" | undefined;
26
+ overflow?: "hidden" | "visible" | "scroll" | undefined;
27
27
  }, never>;
28
28
  export declare const JRCModalClose: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -9,4 +9,4 @@ export declare const SIZES: Readonly<{
9
9
  xxl: 24;
10
10
  xxxl: 32;
11
11
  }>;
12
- export declare const Typography: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, Pick<JRCTypographyProps, "color" | "size" | "weight" | "align"> & FastCssProps, never>;
12
+ export declare const Typography: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, Pick<JRCTypographyProps, "color" | "size" | "align" | "weight"> & FastCssProps, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jamespot-react-components",
3
- "version": "1.0.149",
3
+ "version": "1.0.150",
4
4
  "description": "",
5
5
  "main": "./build/jamespot-react-components.js",
6
6
  "types": "./build/src/index.d.ts",
@@ -89,7 +89,7 @@
89
89
  "chroma-js": "^2.1.1",
90
90
  "classnames": "^2.3.1",
91
91
  "dompurify": "^3.0.5",
92
- "jamespot-user-api": "^1.0.121",
92
+ "jamespot-user-api": "^1.0.123",
93
93
  "moment": "^2.29.1",
94
94
  "react": "^17.x",
95
95
  "react-beautiful-dnd": "^13.1.1",