jamespot-react-components 1.0.200 → 1.0.201

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.
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ export type JRCDisplayCardProps = {
3
+ children: React.ReactNode;
4
+ loading?: boolean;
5
+ skeleton?: {
6
+ width?: string;
7
+ height?: string;
8
+ aspectRatio?: number;
9
+ };
10
+ width?: string;
11
+ height?: string;
12
+ aspectRatio?: number;
13
+ href?: string;
14
+ onClick?: () => void;
15
+ };
16
+ export declare const JRCDisplayCard: ({ children, href, ...props }: JRCDisplayCardProps) => React.JSX.Element;
@@ -0,0 +1,10 @@
1
+ import * as React from 'react';
2
+ import { Story } from '@storybook/react';
3
+ import { JRCDisplayCardProps } from './JRCDisplayCard';
4
+ declare const _default: {
5
+ title: string;
6
+ component: ({ children, href, ...props }: JRCDisplayCardProps) => React.JSX.Element;
7
+ };
8
+ export default _default;
9
+ export declare const Default: Story<JRCDisplayCardProps>;
10
+ export declare const Loading: Story<JRCDisplayCardProps>;
@@ -99,6 +99,7 @@ export { JRCColumnLeft } from './components/JRCColumnLeft/JRCColumnLeft';
99
99
  export { JRCColumnRight } from './components/JRCColumnRight/JRCColumnRight';
100
100
  export { JRCCommentsBloc } from './components/JRCCommentsBloc/JRCCommentsBloc';
101
101
  export { JRCDate } from './components/JRCDate/JRCDate';
102
+ export { JRCDisplayCard } from './components/JRCDisplayCard/JRCDisplayCard';
102
103
  export { JRCDropDown } from './components/JRCDropDown/JRCDropDown';
103
104
  export { JRCEllipsis } from './components/JRCEllipsis/JRCEllipsis';
104
105
  export { JRCEmptySpace } from './components/JRCEmptySpace/JRCEmptySpace';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jamespot-react-components",
3
- "version": "1.0.200",
3
+ "version": "1.0.201",
4
4
  "description": "",
5
5
  "main": "./build/jamespot-react-components.js",
6
6
  "types": "./build/src/index.d.ts",
@@ -81,7 +81,7 @@
81
81
  "chroma-js": "^2.1.1",
82
82
  "classnames": "^2.3.1",
83
83
  "dompurify": "^3.0.5",
84
- "jamespot-user-api": "^1.0.174",
84
+ "jamespot-user-api": "^1.0.176",
85
85
  "moment": "2.29.4",
86
86
  "react": "^17.x",
87
87
  "react-beautiful-dnd": "^13.1.1",