jamespot-react-components 1.0.117 → 1.0.119

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.
@@ -1,4 +1,4 @@
1
- import { ImgUrlProps } from 'components/JRCImg/url.util';
1
+ import { ImgUrlProps } from 'components/JRCImg/JRCImg.utils';
2
2
  import * as React from 'react';
3
3
  declare const ASPECTS: {
4
4
  '4:3': number;
@@ -8,7 +8,6 @@ export declare type JRCLinkToProps = DataCy & React.ComponentPropsWithoutRef<'a'
8
8
  idObject?: number;
9
9
  };
10
10
  declare type NativeProps = React.ComponentPropsWithoutRef<'a'> & {
11
- href: string;
12
11
  useLink?: boolean;
13
12
  hasLicense?: boolean;
14
13
  };
@@ -1,4 +1,4 @@
1
- import { ImgUrlProps } from './url.util';
1
+ import { ImgUrlProps } from './JRCImg.utils';
2
2
  /**
3
3
  * @see ImgUrlProps
4
4
  * @property loading - img loading attribute - default is lazy
@@ -1,4 +1,3 @@
1
- import { UriOrTypeId } from 'components/Form/Common/types';
2
1
  /**
3
2
  * @see JRCImgProps
4
3
  */
@@ -48,7 +47,6 @@ export declare type ImgUrlProps = {
48
47
  export declare function getFrom(arg: Pick<ImgUrlProps, 'from'>): string;
49
48
  export declare function getTimestamp(arg: Timestamp): string;
50
49
  export declare function getArgs(arg: Args): string;
51
- export declare function getUri(arg: UriOrTypeId): string;
52
50
  export declare function getSize(arg: Size & WidthHeight, dpr?: number): string;
53
51
  export declare function getFormat(arg: Format): string;
54
52
  export declare function getUrl(url: string): URL | undefined;
@@ -0,0 +1,21 @@
1
+ export declare const tooltipSizes: {
2
+ padding: Record<string, string>;
3
+ };
4
+ export declare type TooltipSizes = keyof typeof tooltipSizes.padding;
5
+ export declare type JRCBaseTooltipProps = {
6
+ tooltip: any;
7
+ children: any;
8
+ dataEventOff: 'click' | 'mouseleave';
9
+ className?: string;
10
+ color: {
11
+ border?: string;
12
+ background: string;
13
+ text: string;
14
+ };
15
+ sizeTooltip: 'small' | 'medium' | 'large';
16
+ position?: 'top' | 'bottom' | 'left' | 'right';
17
+ delayHide?: number;
18
+ delayShow?: number;
19
+ events?: any;
20
+ };
21
+ export declare const JRCBaseTooltip: (props: JRCBaseTooltipProps) => JSX.Element;
@@ -35,6 +35,7 @@ export { JRCAutocompleteAudienceField } from './components/Form/Input/JRCFormAut
35
35
  export { JRCAutocompleteCommunityField } from './components/Form/Input/JRCFormAutocomplete/JRCFormAutocompleteCommunity';
36
36
  export { JRCAutocompleteTaxonomyField } from './components/Form/Input/JRCFormAutocomplete/JRCFormAutocompleteTaxonomy';
37
37
  export { JRCAvatar } from './components/JRCAvatar/JRCAvatar';
38
+ export { JRCBaseTooltip } from './components/JRCTooltip/JRCBaseTooltip';
38
39
  export { JRCButton } from './components/JRCButton/JRCButton';
39
40
  export { JRCButtonDownload } from './components/JRCButtonDownload/JRCButtonDownload';
40
41
  export { JRCButtonDropdown } from './components/JRCButtonDropdown/JRCButtonDropdown';
@@ -1,3 +1,4 @@
1
+ export * from './components/Form/Common/types';
1
2
  export { JRCAlertProps } from './components/JRCAlert/JRCAlert';
2
3
  export { JRCAppColumnProps, JRCAppTabsProps, TabEventProps, JRCTabEntry, JRCMainColumnProps, JRCColumnProps, JRCContainerProps, } from './components/Templates/template.type';
3
4
  export { JRCAppContainerProps } from './components/JRCAppContainer/JRCAppContainer';
@@ -8,6 +9,7 @@ export { JRCAutocompleteCommunityProps } from './components/Form/Input/JRCSelect
8
9
  export { JRCAutocompleteProps } from './components/Form/Input/JRCSelect/JRCInputSelect.types';
9
10
  export { JRCAutocompleteTaxonomyProps } from './components/Form/Input/JRCFormAutocomplete/JRCFormAutocompleteTaxonomy';
10
11
  export { JRCAvatarProps } from './components/JRCAvatar/JRCAvatar';
12
+ export { JRCBaseTooltipProps } from './components/JRCTooltip/JRCBaseTooltip';
11
13
  export { JRCButtonDownloadProps } from './components/JRCButtonDownload/JRCButtonDownload';
12
14
  export { JRCButtonDropdownProps, JRCButtonDropdownOptionProps, } from './components/JRCButtonDropdown/JRCButtonDropdown.types';
13
15
  export { JRCButtonFileProps } from './components/JRCButtonFile/JRCButtonFile';
@@ -6,4 +6,5 @@ import * as object from './utils.object';
6
6
  import * as regexp from './utils.regexp';
7
7
  import * as string from './utils.string';
8
8
  import * as time from './utils.time';
9
- export { array, date, document, misc, object, regexp, string, time };
9
+ import * as uri from './utils.uri';
10
+ export { array, date, document, misc, object, regexp, string, time, uri };
@@ -0,0 +1,2 @@
1
+ import { UriOrTypeId } from '../components/Form/Common/types';
2
+ export declare function getUri(arg: UriOrTypeId): string;
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jamespot-react-components",
3
- "version": "1.0.117",
3
+ "version": "1.0.119",
4
4
  "description": "",
5
5
  "main": "./build/jamespot-react-components.js",
6
6
  "types": "./build/src/index.d.ts",
@@ -98,7 +98,7 @@
98
98
  "@tiptap/starter-kit": "^2.0.0-beta.203",
99
99
  "chroma-js": "^2.1.1",
100
100
  "classnames": "^2.3.1",
101
- "jamespot-user-api": "^1.0.90",
101
+ "jamespot-user-api": "^1.0.91",
102
102
  "moment": "^2.29.1",
103
103
  "react": "^17.x",
104
104
  "react-dnd": "^14.0.4",