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.
- package/build/jamespot-react-components.js +335 -336
- package/build/jamespot-react-components.js.map +1 -1
- package/build/src/components/JRCCard/JRCCardImg.d.ts +1 -1
- package/build/src/components/JRCHref/JRCHref.d.ts +0 -1
- package/build/src/components/JRCImg/JRCImg.d.ts +1 -1
- package/build/src/components/JRCImg/{url.util.d.ts → JRCImg.utils.d.ts} +0 -2
- package/build/src/components/JRCImg/{url.utils.test.d.ts → JRCImg.utils.test.d.ts} +0 -0
- package/build/src/components/JRCTooltip/JRCBaseTooltip.d.ts +21 -0
- package/build/src/index.d.ts +1 -0
- package/build/src/types.d.ts +2 -0
- package/build/src/utils/index.d.ts +2 -1
- package/build/src/utils/utils.uri.d.ts +2 -0
- package/build/src/utils/utils.uri.test.d.ts +1 -0
- package/package.json +2 -2
|
@@ -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;
|
|
File without changes
|
|
@@ -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;
|
package/build/src/index.d.ts
CHANGED
|
@@ -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';
|
package/build/src/types.d.ts
CHANGED
|
@@ -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
|
-
|
|
9
|
+
import * as uri from './utils.uri';
|
|
10
|
+
export { array, date, document, misc, object, regexp, string, time, uri };
|
|
@@ -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.
|
|
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.
|
|
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",
|