jamespot-react-components 1.0.245 → 1.0.247

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.
Files changed (27) hide show
  1. package/build/jamespot-react-components.js +347 -341
  2. package/build/jamespot-react-components.js.map +1 -1
  3. package/build/src/components/Drives/components/DriveFiltererList.d.ts +3 -3
  4. package/build/src/components/Drives/components/EntityItem.d.ts +2 -2
  5. package/build/src/components/Form/Input/JRCInputFile/utils/file.api.d.ts +1 -1
  6. package/build/src/components/Form/Input/JRCSelect/JRCInputSelect.d.ts +10 -0
  7. package/build/src/components/Form/Input/JRCSelect/JRCInputSelect.stories.d.ts +1 -1
  8. package/build/src/components/Form/Input/JRCSelect/JRCInputSelect.types.d.ts +13 -13
  9. package/build/src/components/Form/Input/JRCSelect/JRCInputSelectAsync.stories.d.ts +1 -1
  10. package/build/src/components/Form/Input/JRCSelect/JRCInputSelectHierarchicalTree.d.ts +1 -1
  11. package/build/src/components/Form/Input/JRCSelect/JRCInputSelectRaw.d.ts +1 -1
  12. package/build/src/components/JRCEmptySpace/JRCEmptySpace.d.ts +2 -0
  13. package/build/src/components/JRCFileViewer/JRCFileViewer.d.ts +1 -1
  14. package/build/src/components/JRCFlex/JRCFlexBox.d.ts +2 -2
  15. package/build/src/components/Widgets/JRCWidgetArticleText/JRCWidgetArticleText.stories.d.ts +5 -5
  16. package/build/src/components/Widgets/JRCWidgetCheckList/JRCWidgetCheckList.d.ts +7 -8
  17. package/build/src/components/Widgets/JRCWidgetPresence/JRCWidgetPresence.styles.d.ts +4 -3
  18. package/build/src/components/Widgets/JRCWidgetQuickSurvey/JRCWidgetQuickSurveyResponse.d.ts +13 -0
  19. package/build/src/components/Widgets/JRCWidgetSlider/JRCWidgetArticleSliderEditor.d.ts +1 -1
  20. package/build/src/components/Widgets/JRCWidgetTable/JRCWidgetDatasourceTableEditor.d.ts +2 -2
  21. package/build/src/components/Widgets/JRCWidgetTable/JRCWidgetExcelDatasourceTableEditor.d.ts +2 -2
  22. package/build/src/components/Widgets/components/WidgetAvatarList.d.ts +11 -0
  23. package/build/src/components/Widgets/context/hooks.d.ts +5 -5
  24. package/build/src/index.d.ts +1 -0
  25. package/build/src/utils/index.d.ts +1 -1
  26. package/package.json +2 -2
  27. package/build/src/components/Widgets/JRCWidgetPresence/PresenceAvatar.d.ts +0 -9
@@ -16,8 +16,8 @@ export declare const visibilityFilter: <T extends {
16
16
  type: string;
17
17
  id: string;
18
18
  title: string;
19
- mimetype?: string | undefined;
20
19
  size?: number | undefined;
20
+ mimetype?: string | undefined;
21
21
  webUrl?: string | undefined;
22
22
  }>(array: T[], filters: Array<'public' | 'private'>) => T[];
23
23
  export declare const typeFilter: <T extends {
@@ -29,8 +29,8 @@ export declare const typeFilter: <T extends {
29
29
  type: string;
30
30
  id: string;
31
31
  title: string;
32
- mimetype?: string | undefined;
33
32
  size?: number | undefined;
33
+ mimetype?: string | undefined;
34
34
  webUrl?: string | undefined;
35
35
  }>(array: T[], filters: string[]) => T[];
36
36
  export declare function useFilters<T extends MSUnifiedEntity>(initialEntities: T[], query: string): {
@@ -50,8 +50,8 @@ export declare const DriveFiltererList: <T extends {
50
50
  type: string;
51
51
  id: string;
52
52
  title: string;
53
- mimetype?: string | undefined;
54
53
  size?: number | undefined;
54
+ mimetype?: string | undefined;
55
55
  webUrl?: string | undefined;
56
56
  }>({ initialEntities, renderItem, filters, }: {
57
57
  initialEntities: T[];
@@ -11,8 +11,8 @@ export declare const EntityItem: <T extends ({
11
11
  type: string;
12
12
  id: string;
13
13
  title: string;
14
- mimetype?: string | undefined;
15
14
  size?: number | undefined;
15
+ mimetype?: string | undefined;
16
16
  webUrl?: string | undefined;
17
17
  }) | {
18
18
  type: string;
@@ -21,8 +21,8 @@ export declare const EntityItem: <T extends ({
21
21
  _extend: {
22
22
  path: string;
23
23
  };
24
- mimetype?: string | undefined;
25
24
  size?: number | undefined;
25
+ mimetype?: string | undefined;
26
26
  webUrl?: string | undefined;
27
27
  }>({ entity, initialFolderColor, useNavigation, onSelect, onSelectDocument, onSelectMultiDocument, onClick, }: {
28
28
  entity: T;
@@ -8,8 +8,8 @@ export declare function fileSend(file: File, token: string | undefined, name: st
8
8
  dateModified: string | null;
9
9
  title: string;
10
10
  _url: string;
11
- mimetype: string;
12
11
  size: number;
12
+ mimetype: string;
13
13
  path?: string | undefined;
14
14
  };
15
15
  token: string;
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import { JRCInputSelectProps } from './JRCInputSelect.types';
3
+ import type { FieldValues } from 'react-hook-form';
4
+ type SelectOption = {
5
+ label: string;
6
+ value: any;
7
+ resetOptions?: boolean;
8
+ };
9
+ export declare function JRCInputSelect<T extends FieldValues = FieldValues>(props: Omit<JRCInputSelectProps<T, SelectOption>, 'getLabel' | 'getValue'>): React.JSX.Element;
10
+ export {};
@@ -9,4 +9,4 @@ type Data = {
9
9
  export declare const InputSelect: Story<JRCInputSelectProps<{
10
10
  select: Data;
11
11
  select2: Array<Data>;
12
- }>>;
12
+ }, any>>;
@@ -8,8 +8,8 @@ import { PartialBy } from '../../../../types/utils';
8
8
  /**
9
9
  * Select
10
10
  */
11
- export type NativeSelectProps<T extends FieldValues = FieldValues> = PartialBy<ControllerRenderProps<T>, 'onBlur'> & SelectProps & IconsProp;
12
- export type JRCInputSelectProps<T extends FieldValues = FieldValues> = JRCInputFieldProps<T> & SelectProps & IconsProp;
11
+ export type NativeSelectProps<T extends FieldValues = FieldValues, U = any> = PartialBy<ControllerRenderProps<T>, 'onBlur'> & SelectProps<U> & IconsProp;
12
+ export type JRCInputSelectProps<T extends FieldValues = FieldValues, U = any> = JRCInputFieldProps<T> & SelectProps<U> & IconsProp;
13
13
  export type Getter = ((option: any) => any) | string;
14
14
  export type IconsProp = {
15
15
  iconBefore?: {
@@ -18,34 +18,34 @@ export type IconsProp = {
18
18
  onClick?: () => void;
19
19
  };
20
20
  };
21
- export type SelectProps = DataCy & {
22
- options?: Array<any>;
21
+ export type SelectProps<T = any> = DataCy & {
22
+ options?: Array<T>;
23
23
  asyncPromise?: (inputValue: string, page?: number) => Promise<any[]>;
24
24
  multiple?: boolean;
25
- getLabel?: ((option: any) => any) | string;
26
- getValue?: ((option: any) => any) | string;
27
- getDescription?: (option: any) => any;
25
+ getLabel?: ((option: T) => string) | string;
26
+ getValue?: ((option: T) => string) | string;
27
+ getDescription?: (option: T) => T;
28
28
  disabled?: boolean;
29
29
  readOnly?: boolean;
30
30
  placeholder?: string;
31
31
  searchable?: boolean;
32
- getSearch?: ((option: any) => any) | string;
32
+ getSearch?: ((option: T) => string) | string;
33
33
  group?: boolean;
34
- getGroup?: ((option: any) => any) | string;
34
+ getGroup?: ((option: T) => string) | string;
35
35
  views?: Array<'folder' | 'user' | 'group' | 'community'>;
36
36
  onConfirm?: (values: any) => void;
37
37
  hideSelectedOption?: boolean;
38
38
  hideDeleteIcon?: boolean;
39
39
  displayOption?: boolean;
40
40
  displayIndicator?: boolean;
41
- getOptionsSelected?: (options: any) => void;
42
- setOptionsSelected?: any;
41
+ getOptionsSelected?: (options: T) => void;
42
+ setOptionsSelected?: T;
43
43
  components?: {
44
44
  Option?: React.ComponentType<{
45
- option: any;
45
+ option: T;
46
46
  }>;
47
47
  SelectedOption?: React.ComponentType<{
48
- option: any;
48
+ option: T;
49
49
  }>;
50
50
  };
51
51
  /**
@@ -8,4 +8,4 @@ type Data = {
8
8
  };
9
9
  export declare const AsyncSelect: Story<JRCInputSelectProps<{
10
10
  select: Array<Data>;
11
- }>>;
11
+ }, any>>;
@@ -11,7 +11,7 @@ export type JRCInputSelectHierarchicalTreeProps = Omit<JRCInputSelectProps, 'asy
11
11
  value: any;
12
12
  }>;
13
13
  };
14
- export declare const JRCInputSelectHierarchicalTree: React.ForwardRefExoticComponent<Omit<JRCInputSelectProps<import("react-hook-form").FieldValues>, "asyncPromise"> & JRCModalLayoutProps & {
14
+ export declare const JRCInputSelectHierarchicalTree: React.ForwardRefExoticComponent<Omit<JRCInputSelectProps<import("react-hook-form").FieldValues, any>, "asyncPromise"> & JRCModalLayoutProps & {
15
15
  asyncPromise?: ((inputValue: string, page?: number) => Promise<PagingResults<any>>) | undefined;
16
16
  hierarchicalTaxonomyPromise: (uriConcept: string) => Promise<PagingResults<jObjectAutocomplete>>;
17
17
  displayModal?: boolean | undefined;
@@ -1,3 +1,3 @@
1
1
  import { NativeSelectProps } from './JRCInputSelect.types';
2
2
  import type { FieldValues } from 'react-hook-form';
3
- export declare const JRCInputSelectRaw: <T extends FieldValues = FieldValues>(props: Pick<Partial<NativeSelectProps<T>>, "ref"> & Omit<NativeSelectProps<T>, "ref">) => JSX.Element;
3
+ export declare const JRCInputSelectRaw: <T extends FieldValues = FieldValues, U = any>(props: Pick<Partial<NativeSelectProps<T, U>>, "ref"> & Omit<NativeSelectProps<T, U>, "ref">) => JSX.Element;
@@ -1,5 +1,6 @@
1
1
  import * as React from 'react';
2
2
  type EmptySpaceBgColor = 'sandLight' | 'sky15' | 'transparent';
3
+ type Alignment = React.CSSProperties['justifyContent'];
3
4
  export type JRCEmptySpaceProps = {
4
5
  img?: string;
5
6
  imgAlt?: string;
@@ -7,6 +8,7 @@ export type JRCEmptySpaceProps = {
7
8
  description?: string;
8
9
  actions?: React.ReactChild;
9
10
  bgColor?: EmptySpaceBgColor;
11
+ alignment?: Alignment;
10
12
  };
11
13
  export declare const JRCEmptySpace: React.FC<JRCEmptySpaceProps>;
12
14
  export {};
@@ -9,7 +9,7 @@ export declare const JRCFileViewer: <T extends {
9
9
  dateModified: string | null;
10
10
  title: string;
11
11
  _url: string;
12
- mimetype: string;
13
12
  size: number;
13
+ mimetype: string;
14
14
  path?: string | undefined;
15
15
  }>({ files, size, children, openWithOptions, onReadFile, }: JRCFileViewerProps<T>) => React.JSX.Element;
@@ -14,8 +14,8 @@ export declare const JRCFlexBox: import("styled-components").StyledComponent<"di
14
14
  inline?: boolean | undefined;
15
15
  flex?: string | boolean | undefined;
16
16
  gap?: number | undefined;
17
- x?: "center" | "flex-start" | "flex-end" | "space-around" | "space-between" | "space-evenly" | undefined;
18
- y?: "center" | "flex-start" | "flex-end" | "space-around" | "space-between" | "space-evenly" | undefined;
17
+ x?: "center" | "space-around" | "space-between" | "space-evenly" | "flex-end" | "flex-start" | undefined;
18
+ y?: "center" | "space-around" | "space-between" | "space-evenly" | "flex-end" | "flex-start" | undefined;
19
19
  childFull?: boolean | undefined;
20
20
  }, never>;
21
21
  export type JRCFlexBoxProps = FlexBoxProps & {
@@ -35,8 +35,8 @@ export declare const Primary: Story<{
35
35
  name: import("jamespot-user-api").WidgetsName.ExcelDatasourceTable;
36
36
  uniqid: string;
37
37
  content: {
38
- uri?: string | undefined;
39
38
  limit?: number | boolean | undefined;
39
+ uri?: string | undefined;
40
40
  tableColumnsData?: {
41
41
  name?: string | undefined;
42
42
  label?: string | undefined;
@@ -78,10 +78,10 @@ export declare const Primary: Story<{
78
78
  emailsPromptStatus?: string | undefined;
79
79
  }>)>[] | undefined;
80
80
  } & (import("jamespot-user-api").WidgetArticleAttachmentContent | import("jamespot-user-api").WidgetArticleGalleryContent | import("jamespot-user-api").WidgetArticleImageContent | WidgetArticleTextContent | import("jamespot-user-api").WidgetArticleTitleContent | import("jamespot-user-api").WidgetArticleSliderContent | {
81
- url?: string | undefined;
82
81
  target?: string | undefined;
83
82
  text?: string | undefined;
84
83
  color?: string | undefined;
84
+ url?: string | undefined;
85
85
  backgroundColor?: string | undefined;
86
86
  borderRadius?: string | undefined;
87
87
  fontSize?: string | undefined;
@@ -89,8 +89,8 @@ export declare const Primary: Story<{
89
89
  variant?: "contained" | "outlined" | undefined;
90
90
  openingType?: "link" | "anchor" | "popup" | undefined;
91
91
  openingTypeLink?: {
92
- url: string;
93
92
  target: string;
93
+ url: string;
94
94
  } | undefined;
95
95
  openingTypeAnchor?: {
96
96
  uniqid: string;
@@ -105,8 +105,8 @@ export declare const Primary: Story<{
105
105
  css?: Record<string, string> | undefined;
106
106
  edit?: boolean | undefined;
107
107
  } | {
108
- uri?: string | undefined;
109
108
  limit?: number | boolean | undefined;
109
+ uri?: string | undefined;
110
110
  tableColumnsData?: {
111
111
  name?: string | undefined;
112
112
  label?: string | undefined;
@@ -124,8 +124,8 @@ export declare const Primary: Story<{
124
124
  tableSizedColumns?: boolean | undefined;
125
125
  tableSizedColumnsWidth?: number | undefined;
126
126
  } | {
127
- uri?: string | undefined;
128
127
  limit?: number | boolean | undefined;
128
+ uri?: string | undefined;
129
129
  tableColumnsData?: {
130
130
  name?: string | undefined;
131
131
  label?: string | undefined;
@@ -1,13 +1,12 @@
1
1
  import React from 'react';
2
2
  import { jFileLittle, jHref } from 'jamespot-user-api';
3
- export declare const CSSWidgetWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
4
- export declare const CSSList: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
5
- export declare const CSSRowWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
6
- export declare const CSSRowImageWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
7
- export declare const CSSRow: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
8
- export declare const CSSRowExtend: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
9
- export declare const CSSRowBox: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
10
- export declare const CSSRowContent: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
3
+ export declare const CSSWidgetCheckListWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
4
+ export declare const CSSWidgetCheckList: import("styled-components").StyledComponent<"ul", import("styled-components").DefaultTheme, {}, never>;
5
+ export declare const CSSWidgetCheckListItem: import("styled-components").StyledComponent<"li", import("styled-components").DefaultTheme, {}, never>;
6
+ export declare const CSSWidgetCheckListItemBtn: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {}, never>;
7
+ export declare const CSSWidgetCheckListItemData: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
8
+ export declare const CSSWidgetCheckListItemCheckBox: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
9
+ export declare const CSSWidgetCheckListItemLabel: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
11
10
  export declare const CSSCheckboxWrapper: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {}, never>;
12
11
  export type JRCWidgetCheckListEntryUser = {
13
12
  id: string | number;
@@ -1,6 +1,7 @@
1
- export declare const CSSWidgetPresence: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
2
- export declare const CSSProgressBarWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
3
- export declare const CSSWidgetPresenceEntry: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
1
+ export declare const CSSWidgetPresenceList: import("styled-components").StyledComponent<"ul", import("styled-components").DefaultTheme, {}, never>;
2
+ export declare const CSSWidgetPresenceListItem: import("styled-components").StyledComponent<"li", import("styled-components").DefaultTheme, {}, never>;
3
+ export declare const CSSWidgetPresenceListItemProgressBar: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
4
+ export declare const CSSWidgetPresenceListItemBtn: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
4
5
  isDisabled: boolean;
5
6
  }, never>;
6
7
  export declare const CSSWidgetPresenceLabel: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
@@ -0,0 +1,13 @@
1
+ import { jUserLittle, WidgetLegacyMixedBoolean } from 'jamespot-user-api';
2
+ import React from 'react';
3
+ export declare const JRCWidgetQuickSurveyResponse: ({ anonymize, limit, userResponses, canSeeResponses, isClosed, setOpenUsersModal, }: {
4
+ anonymize?: boolean | 0 | 1 | undefined;
5
+ limit: number;
6
+ userResponses: {
7
+ counter: number;
8
+ userList: jUserLittle[];
9
+ };
10
+ canSeeResponses?: boolean | 0 | 1 | undefined;
11
+ isClosed?: boolean | 0 | 1 | undefined;
12
+ setOpenUsersModal: () => void;
13
+ }) => React.JSX.Element;
@@ -21,8 +21,8 @@ export declare const EditorSlide: ({ forceOpen, title, text, displayAs, backgrou
21
21
  dateModified: string | null;
22
22
  title: string;
23
23
  _url: string;
24
- mimetype: string;
25
24
  size: number;
25
+ mimetype: string;
26
26
  path?: string | undefined;
27
27
  } | undefined;
28
28
  token?: string | undefined;
@@ -13,8 +13,8 @@ export type WidgetDatasourceContext = EditorBaseContext<WidgetDatasourceTableCon
13
13
  handlers: WidgetDatasourceHandlers;
14
14
  };
15
15
  export declare const JRCWidgetDatasourceTableEditor: ({ uri, limit, tableHeadColor, tableHeadTextColor, tableHeadIconColor, tableRowColor, tableRowTextColor, tableColumnsData, tableBorderRadius, tableSizedColumns, tableSizedColumnsWidth, hook, handlers, onChange, onSave, onStateChange, onError, }: {
16
- uri?: string | undefined;
17
16
  limit?: number | boolean | undefined;
17
+ uri?: string | undefined;
18
18
  tableColumnsData?: {
19
19
  name?: string | undefined;
20
20
  label?: string | undefined;
@@ -38,8 +38,8 @@ export declare const JRCWidgetDatasourceTableEditor: ({ uri, limit, tableHeadCol
38
38
  isActive: HookIsActive;
39
39
  };
40
40
  } & WidgetEditorActions<{
41
- uri?: string | undefined;
42
41
  limit?: number | boolean | undefined;
42
+ uri?: string | undefined;
43
43
  tableColumnsData?: {
44
44
  name?: string | undefined;
45
45
  label?: string | undefined;
@@ -13,8 +13,8 @@ export type WidgetExcelDatasourceContext = EditorBaseContext<WidgetExcelDatasour
13
13
  handlers: WidgetExcelDatasourceHandlers;
14
14
  };
15
15
  export declare const JRCWidgetExcelDatasourceTableEditor: ({ uri, limit, tableHeadColor, tableHeadTextColor, tableHeadIconColor, tableRowColor, tableRowTextColor, tableColumnsData, tableSizedColumns, tableSizedColumnsWidth, tableBorderRadius, hook, handlers, onChange, onSave, onStateChange, onError, }: {
16
- uri?: string | undefined;
17
16
  limit?: number | boolean | undefined;
17
+ uri?: string | undefined;
18
18
  tableColumnsData?: {
19
19
  name?: string | undefined;
20
20
  label?: string | undefined;
@@ -38,8 +38,8 @@ export declare const JRCWidgetExcelDatasourceTableEditor: ({ uri, limit, tableHe
38
38
  isActive: HookIsActive;
39
39
  };
40
40
  } & WidgetEditorActions<{
41
- uri?: string | undefined;
42
41
  limit?: number | boolean | undefined;
42
+ uri?: string | undefined;
43
43
  tableColumnsData?: {
44
44
  name?: string | undefined;
45
45
  label?: string | undefined;
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import { jUserLittle } from 'jamespot-user-api';
3
+ export declare const CSSAvatarList: import("styled-components").StyledComponent<"ul", import("styled-components").DefaultTheme, {}, never>;
4
+ export declare const CSSAvatarListItem: import("styled-components").StyledComponent<"li", import("styled-components").DefaultTheme, {
5
+ overlap?: boolean | undefined;
6
+ small?: boolean | undefined;
7
+ }, never>;
8
+ export declare const WidgetAvatarList: ({ list, left }: {
9
+ list: jUserLittle[];
10
+ left: number;
11
+ }) => React.JSX.Element;
@@ -29,8 +29,8 @@ export declare const useEditorContext: <T = EditorBaseContext<{
29
29
  name: import("jamespot-user-api").WidgetsName.ExcelDatasourceTable;
30
30
  uniqid: string;
31
31
  content: {
32
- uri?: string | undefined;
33
32
  limit?: number | boolean | undefined;
33
+ uri?: string | undefined;
34
34
  tableColumnsData?: {
35
35
  name?: string | undefined;
36
36
  label?: string | undefined;
@@ -72,10 +72,10 @@ export declare const useEditorContext: <T = EditorBaseContext<{
72
72
  emailsPromptStatus?: string | undefined;
73
73
  }>)>[] | undefined;
74
74
  } & (import("jamespot-user-api").WidgetArticleAttachmentContent | import("jamespot-user-api").WidgetArticleGalleryContent | import("jamespot-user-api").WidgetArticleImageContent | import("jamespot-user-api").WidgetArticleTextContent | import("jamespot-user-api").WidgetArticleTitleContent | {
75
- url?: string | undefined;
76
75
  target?: string | undefined;
77
76
  text?: string | undefined;
78
77
  color?: string | undefined;
78
+ url?: string | undefined;
79
79
  backgroundColor?: string | undefined;
80
80
  borderRadius?: string | undefined;
81
81
  fontSize?: string | undefined;
@@ -83,8 +83,8 @@ export declare const useEditorContext: <T = EditorBaseContext<{
83
83
  variant?: "contained" | "outlined" | undefined;
84
84
  openingType?: "link" | "anchor" | "popup" | undefined;
85
85
  openingTypeLink?: {
86
- url: string;
87
86
  target: string;
87
+ url: string;
88
88
  } | undefined;
89
89
  openingTypeAnchor?: {
90
90
  uniqid: string;
@@ -99,8 +99,8 @@ export declare const useEditorContext: <T = EditorBaseContext<{
99
99
  css?: Record<string, string> | undefined;
100
100
  edit?: boolean | undefined;
101
101
  } | {
102
- uri?: string | undefined;
103
102
  limit?: number | boolean | undefined;
103
+ uri?: string | undefined;
104
104
  tableColumnsData?: {
105
105
  name?: string | undefined;
106
106
  label?: string | undefined;
@@ -118,8 +118,8 @@ export declare const useEditorContext: <T = EditorBaseContext<{
118
118
  tableSizedColumns?: boolean | undefined;
119
119
  tableSizedColumnsWidth?: number | undefined;
120
120
  } | {
121
- uri?: string | undefined;
122
121
  limit?: number | boolean | undefined;
122
+ uri?: string | undefined;
123
123
  tableColumnsData?: {
124
124
  name?: string | undefined;
125
125
  label?: string | undefined;
@@ -82,6 +82,7 @@ export { JRCInputUrl } from './components/Form/Input/JRCInputUrl/JRCInputUrl';
82
82
  export { JRCInputCommunity } from './components/Form/Input/JRCSelect/JRCAutocompleteCommunity';
83
83
  export { JRCInputAudience } from './components/Form/Input/JRCSelect/JRCInputAudience';
84
84
  export { JRCInputAutocomplete } from './components/Form/Input/JRCSelect/JRCInputAutocomplete';
85
+ export { JRCInputSelect } from './components/Form/Input/JRCSelect/JRCInputSelect';
85
86
  export { JRCInputSelectExtended } from './components/Form/Input/JRCSelect/JRCInputSelectExtended';
86
87
  export { JRCInputSelectRaw } from './components/Form/Input/JRCSelect/JRCInputSelectRaw';
87
88
  export { JRCInputSelectHierarchicalTree } from './components/Form/Input/JRCSelect/JRCInputSelectHierarchicalTree';
@@ -33,8 +33,8 @@ export declare const Utils: {
33
33
  sandbox_iframes?: boolean | undefined;
34
34
  sandbox_iframes_exclusions?: string[] | undefined;
35
35
  }) => {
36
- height: number;
37
36
  language: string;
37
+ height: number;
38
38
  cache_suffix: string;
39
39
  toolbar: string;
40
40
  content_css: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jamespot-react-components",
3
- "version": "1.0.245",
3
+ "version": "1.0.247",
4
4
  "description": "",
5
5
  "main": "./build/jamespot-react-components.js",
6
6
  "types": "./build/src/index.d.ts",
@@ -80,7 +80,7 @@
80
80
  "chroma-js": "^2.1.1",
81
81
  "classnames": "^2.3.1",
82
82
  "dompurify": "^3.0.5",
83
- "jamespot-user-api": "^1.0.218",
83
+ "jamespot-user-api": "^1.0.221",
84
84
  "moment": "2.29.4",
85
85
  "react": "^17.x",
86
86
  "react-beautiful-dnd": "^13.1.1",
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- export declare const CSSAvatarWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
3
- overlap?: boolean | undefined;
4
- }, never>;
5
- export declare const PresenceAvatar: ({ title, uri, overlap }: {
6
- title: string;
7
- uri: string;
8
- overlap?: boolean | undefined;
9
- }) => React.JSX.Element;