@corva/ui 0.95.0-7 → 0.95.0-8

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 +1 @@
1
- "use strict";var e=require("prop-types"),t=require("react/jsx-runtime");function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=r(e),u=function(e){var r=e.height,i=e.width;return t.jsx("svg",{width:i,height:r,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:t.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.7098 2.28957L21.7098 11.2896C22.0998 11.6896 22.0998 12.3196 21.7098 12.6996L12.7098 21.6996C12.3198 22.0896 11.6898 22.0896 11.2998 21.6996L2.29982 12.6996C1.90982 12.3096 1.90982 11.6796 2.29982 11.2896L11.2998 2.28957C11.6898 1.89957 12.3198 1.89957 12.7098 2.28957ZM13.9998 11.9996V14.4996L17.4998 10.9996L13.9998 7.49957V9.99957H8.99982C8.44982 9.99957 7.99982 10.4496 7.99982 10.9996V14.9996H9.99982V11.9996H13.9998Z",fill:"#75DB29"})})};u.propTypes={height:i.default.number,width:i.default.number},u.defaultProps={height:28,width:28},module.exports=u;
1
+ "use strict";var e=require("prop-types"),t=require("react/jsx-runtime");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=i(e),r=function(e){var i=e.height,l=e.width;return t.jsxs("svg",{width:l,height:i,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[t.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.7098 2.28957L21.7098 11.2896C22.0998 11.6896 22.0998 12.3196 21.7098 12.6996L12.7098 21.6996C12.3198 22.0896 11.6898 22.0896 11.2998 21.6996L2.29982 12.6996C1.90982 12.3096 1.90982 11.6796 2.29982 11.2896L11.2998 2.28957C11.6898 1.89957 12.3198 1.89957 12.7098 2.28957Z",fill:"#75DB29"}),t.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.9998 11.9996V14.4996L17.4998 10.9996L13.9998 7.49957V9.99957H8.99982C8.44982 9.99957 7.99982 10.4496 7.99982 10.9996V14.9996H9.99982V11.9996H13.9998Z",fill:"#2C2C2C"})]})};r.propTypes={height:l.default.number,width:l.default.number},r.defaultProps={height:28,width:28},module.exports=r;
@@ -12,11 +12,11 @@ export type ActivityItem = {
12
12
  rig?: any;
13
13
  well?: any;
14
14
  updated_at?: string;
15
- segment?: string;
15
+ segment?: any;
16
16
  liked?: boolean;
17
17
  likes?: any[];
18
18
  likes_count?: number;
19
- mentioned_users?: object[];
19
+ mentioned_users?: any[];
20
20
  };
21
21
  /**
22
22
  * @typedef {object} ActivityItem
@@ -29,11 +29,11 @@ export type ActivityItem = {
29
29
  * @property {any} [rig]
30
30
  * @property {any} [well]
31
31
  * @property {string} [updated_at]
32
- * @property {string} [segment]
32
+ * @property {any} [segment]
33
33
  * @property {boolean} [liked]
34
34
  * @property {any[]} [likes]
35
35
  * @property {number} [likes_count]
36
- * @property {object[]} [mentioned_users]
36
+ * @property {any[]} [mentioned_users]
37
37
  */
38
38
  /**
39
39
  * @param {object} props
@@ -42,8 +42,8 @@ export type ActivityItem = {
42
42
  * @param {(feedItemId: number) => void} [props.removeFeedItem] called after a feed item was removed by a user
43
43
  * @param {(feedItem: ActivityItem) => void} [props.enterEditMode] called when a used clicks "Edit" menu item
44
44
  * @param {any} [props.router]
45
- * @param {object} props.currentUser used to display Avatar and to determine the ability to edit comments
46
- * @param {object} [props.appData] passed to body Template
45
+ * @param {any} props.currentUser used to display Avatar and to determine the ability to edit comments
46
+ * @param {any} [props.appData] passed to body Template
47
47
  * @param {Record<string, any>} [props.customFeedItemTypeTemplates]
48
48
  * @param {string} [props.paperClassName]
49
49
  * @param {any} [props.getFeedItemMessage] used only to create a data-testid attribute
@@ -54,8 +54,8 @@ declare function FeedItem({ feedItem, editableFeedItemTypes, removeFeedItem, ent
54
54
  removeFeedItem?: (feedItemId: number) => void;
55
55
  enterEditMode?: (feedItem: ActivityItem) => void;
56
56
  router?: any;
57
- currentUser: object;
58
- appData?: object;
57
+ currentUser: any;
58
+ appData?: any;
59
59
  customFeedItemTypeTemplates?: Record<string, any>;
60
60
  paperClassName?: string;
61
61
  getFeedItemMessage?: any;
@@ -1 +1 @@
1
- {"version":3,"file":"FeedItem.d.ts","sourceRoot":"","sources":["../../../src/components/FeedItem/FeedItem.js"],"names":[],"mappings":";;QAyDc,MAAM;UACN,MAAM;cACN,OAAO,MAAM,EAAE,GAAG,CAAC;sBACnB,MAAM,QAAQ,GAAG,SAAS,GAAG,MAAM,CAAC;iBACpC,MAAM;;;;eACN,MAAM;UACN,GAAG;WACH,GAAG;iBACH,MAAM;cACN,MAAM;YACN,OAAO;YACP,GAAG,EAAE;kBACL,MAAM;sBACN,MAAM,EAAE;;AAftB;;;;;;;;;;;;;;;;GAgBG;AAEH;;;;;;;;;;;;GAYG;AACH;cAXW,YAAY;4BACZ,MAAM,EAAE;kCACK,MAAM,KAAK,IAAI;+BACjB,YAAY,KAAK,IAAI;aAChC,GAAG;iBACH,MAAM;cACN,MAAM;kCACN,OAAO,MAAM,EAAE,GAAG,CAAC;qBACnB,MAAM;yBACN,GAAG;gBAgNb"}
1
+ {"version":3,"file":"FeedItem.d.ts","sourceRoot":"","sources":["../../../src/components/FeedItem/FeedItem.js"],"names":[],"mappings":";;QAyDc,MAAM;UACN,MAAM;cACN,OAAO,MAAM,EAAE,GAAG,CAAC;sBACnB,MAAM,QAAQ,GAAG,SAAS,GAAG,MAAM,CAAC;iBACpC,MAAM;;;;eACN,MAAM;UACN,GAAG;WACH,GAAG;iBACH,MAAM;cACN,GAAG;YACH,OAAO;YACP,GAAG,EAAE;kBACL,MAAM;sBACN,GAAG,EAAE;;AAfnB;;;;;;;;;;;;;;;;GAgBG;AAEH;;;;;;;;;;;;GAYG;AACH;cAXW,YAAY;4BACZ,MAAM,EAAE;kCACK,MAAM,KAAK,IAAI;+BACjB,YAAY,KAAK,IAAI;aAChC,GAAG;iBACH,GAAG;cACH,GAAG;kCACH,OAAO,MAAM,EAAE,GAAG,CAAC;qBACnB,MAAM;yBACN,GAAG;gBAgNb"}
@@ -1 +1 @@
1
- {"version":3,"file":"RecommendationIcon.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/RecommendationIcon.js"],"names":[],"mappings":";AAEA;;;gBAeC"}
1
+ {"version":3,"file":"RecommendationIcon.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/RecommendationIcon.js"],"names":[],"mappings":";AAEA;;;gBAqBC"}
@@ -1 +1 @@
1
- import e from"prop-types";import{jsx as t}from"react/jsx-runtime";var i=function(e){var i=e.height,r=e.width;return t("svg",{width:r,height:i,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:t("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.7098 2.28957L21.7098 11.2896C22.0998 11.6896 22.0998 12.3196 21.7098 12.6996L12.7098 21.6996C12.3198 22.0896 11.6898 22.0896 11.2998 21.6996L2.29982 12.6996C1.90982 12.3096 1.90982 11.6796 2.29982 11.2896L11.2998 2.28957C11.6898 1.89957 12.3198 1.89957 12.7098 2.28957ZM13.9998 11.9996V14.4996L17.4998 10.9996L13.9998 7.49957V9.99957H8.99982C8.44982 9.99957 7.99982 10.4496 7.99982 10.9996V14.9996H9.99982V11.9996H13.9998Z",fill:"#75DB29"})})};i.propTypes={height:e.number,width:e.number},i.defaultProps={height:28,width:28};export{i as default};
1
+ import e from"prop-types";import{jsxs as t,jsx as i}from"react/jsx-runtime";var l=function(e){var l=e.height,r=e.width;return t("svg",{width:r,height:l,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[i("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.7098 2.28957L21.7098 11.2896C22.0998 11.6896 22.0998 12.3196 21.7098 12.6996L12.7098 21.6996C12.3198 22.0896 11.6898 22.0896 11.2998 21.6996L2.29982 12.6996C1.90982 12.3096 1.90982 11.6796 2.29982 11.2896L11.2998 2.28957C11.6898 1.89957 12.3198 1.89957 12.7098 2.28957Z",fill:"#75DB29"}),i("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.9998 11.9996V14.4996L17.4998 10.9996L13.9998 7.49957V9.99957H8.99982C8.44982 9.99957 7.99982 10.4496 7.99982 10.9996V14.9996H9.99982V11.9996H13.9998Z",fill:"#2C2C2C"})]})};l.propTypes={height:e.number,width:e.number},l.defaultProps={height:28,width:28};export{l as default};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@corva/ui",
3
- "version": "0.95.0-7",
3
+ "version": "0.95.0-8",
4
4
  "description": "Shared components/utils for Corva ui projects",
5
5
  "keywords": [
6
6
  "corva-ui"