@corva/ui 0.23.0-4 → 0.23.0-5
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/config/theme/accordionOverrides.js +1 -1
- package/package.json +1 -1
- package/utils/index.js +1 -1
- package/utils/intercom.js +0 -1
- package/utils/mixpanel.js +0 -1
- package/utils/wootric.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import o from"./palette.mjs.js";var t=o.primary,e=t.text6,i=t.contrastText,n={MuiAccordion:{root:{color:e,width:"100%",background:"transparent",boxShadow:"none","&:before":{content:"none"},"&$expanded":{margin:0}}},MuiAccordionDetails:{root:{padding:0}},MuiAccordionSummary:{root:{minHeight:"24px",height:"max-content",padding:0,display:"inline-flex","&:before":{content:'""',opacity:0,top:0,right:0,bottom:0,left:0,transition:"opacity .3s ease-out",position:"absolute",borderRadius:4},"&:hover":{color:i,"& .MuiAccordionSummary-expandIcon":{color:i}},"&:hover:before":{opacity:.07},"&.Mui-expanded":{minHeight:"
|
|
1
|
+
import o from"./palette.mjs.js";var t=o.primary,e=t.text6,i=t.contrastText,n={MuiAccordion:{root:{color:e,width:"100%",background:"transparent",boxShadow:"none","&:before":{content:"none"},"&$expanded":{margin:0}}},MuiAccordionDetails:{root:{padding:0}},MuiAccordionSummary:{root:{minHeight:"24px",height:"max-content",padding:0,display:"inline-flex","&:before":{content:'""',opacity:0,top:0,right:0,bottom:0,left:0,transition:"opacity .3s ease-out",position:"absolute",borderRadius:4},"&:hover":{color:i,"& .MuiAccordionSummary-expandIcon":{color:i}},"&:hover:before":{opacity:.07},"&.Mui-expanded":{minHeight:"24px"}},content:{margin:"0px 0px 0px 4px","&.Mui-expanded":{margin:"0px 0px 0px 4px"},fontWeight:400,fontSize:"12px",fontFamily:'"Roboto", "Helvetica", "Arial", sans-serif',lineHeight:"17px",letterSpacing:"0.4px"},expandIcon:{order:"-1",padding:0,marginRight:"2px",color:e,"& .MuiIconButton-label .MuiSvgIcon-root":{fontSize:"16px",padding:1}}}};export default n;
|
package/package.json
CHANGED
package/utils/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import r from"@babel/runtime/helpers/defineProperty";export{default as AccuracyUtils}from"./AccuracyUtils.js";import{convertArray as t,convertValue as o,getAllUnitTypes as e,getDefaultImperialUnit as s,getDefaultUnits as i,getUnitDescription as a,getUnitDisplay as
|
|
1
|
+
import r from"@babel/runtime/helpers/defineProperty";export{default as AccuracyUtils}from"./AccuracyUtils.js";import{convertArray as t,convertValue as o,getAllUnitTypes as e,getDefaultImperialUnit as s,getDefaultUnits as i,getUnitDescription as a,getUnitDisplay as n,getUnitPlural as p,getUnitPreference as m,getUnitsByType as f,getUnitSingular as c,getUnitSystem as l,updateUserUnits as j,getUserUnits as u,subscribeForUserUnitsUpdates as x,convertImmutables as g,convertImmutablesByBatch as y,getUniqueUnitsByType as U}from"./convert.js";import*as b from"./convert.js";export{b as convert};import*as v from"./DrillstringUtils.js";export{v as drillstringUtils};import*as d from"./FluidCheckUtils.js";export{d as fluidCheckUtils};import*as O from"./chartSeries.js";export{O as chartSeries};import*as h from"./metrics/index.js";export{h as metricsUtils};import*as P from"./main.js";export{P as main};import*as w from"./sqlParser.js";export{w as sqlParser};import*as D from"./completion.js";export{D as completion};import*as S from"./mapUnits.js";export{S as mapUnits};import*as A from"./time.js";export{A as time};import*as C from"./components.js";import*as N from"./mapbox.js";import*as T from"./torqueAndHookloadUtils.js";export{T as torqueAndHookloadUtils};import*as k from"./StageDesignVActualUtils.js";export{k as StageDesignVActualUtils};import*as B from"./reports.js";export{B as reports};import*as E from"./ga.js";export{E as ga};import*as I from"./nativeMessages.js";export{I as nativeMessages};import*as K from"./goals.js";export{K as goals};import*as q from"./notifications.js";export{q as notifications};import*as F from"./permissions.js";export{F as permissions};import*as J from"./alerts.js";export{J as alerts};import*as V from"./lasParser.js";export{V as lasParser};import*as H from"./audio.js";export{H as audio};import*as M from"./loadable.js";export{M as loadable};import*as W from"./rollbar.js";export{W as rollbar};import*as z from"./devcenter.js";export{z as devcenter};import*as G from"./mobileDetect.js";export{G as mobileDetect};import*as L from"./drillstring/index.js";export{L as drillstring};import*as Q from"./casing/index.js";export{Q as casing};import*as R from"./csvExport.js";export{R as csvExport};import*as X from"./formatting.js";export{X as formatting};export{createNotification,removeNotification,showErrorNotification,showInfoNotification,showSuccessNotification,showWarningNotification}from"./notificationToasts.js";export{convertKeysToCamelCase,convertKeysToSnakeCase,getConvertKeys}from"./convertKeys.js";function Y(r,t){var o=Object.keys(r);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(r);t&&(e=e.filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),o.push.apply(o,e)}return o}var Z={get:function(r,t){var o=r[t];return"function"==typeof o?function(){for(var t=arguments.length,e=new Array(t),s=0;s<t;s++)e[s]=arguments[s];return o.apply(r,e.map((function(r){return r.toJS?r.toJS():r})))}:o}};function $(t){return new Proxy(function(t){for(var o=1;o<arguments.length;o++){var e=null!=arguments[o]?arguments[o]:{};o%2?Y(Object(e),!0).forEach((function(o){r(t,o,e[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Y(Object(e)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}))}return t}({},t),Z)}var _=t,rr=o,tr=e,or=s,er=i,sr=a,ir=n,ar=p,nr=m,pr=f,mr=c,fr=l,cr=j,lr=u,jr=x,ur=g,xr=y,gr=U,yr=$(N),Ur=$(C);export{Ur as components,_ as convertArray,ur as convertImmutables,xr as convertImmutablesByBatch,rr as convertValue,tr as getAllUnitTypes,or as getDefaultImperialUnit,er as getDefaultUnits,gr as getUniqueUnitsByType,sr as getUnitDescription,ir as getUnitDisplay,ar as getUnitPlural,nr as getUnitPreference,mr as getUnitSingular,fr as getUnitSystem,pr as getUnitsByType,lr as getUserUnits,yr as mapbox,jr as subscribeForUserUnitsUpdates,cr as updateUserUnits};
|
package/utils/intercom.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import t from"lodash/get";var e=process.env.REACT_APP_ENVIRONMENT;function n(){window.Intercom("show")}function o(){window.Intercom("shutdown")}function c(n){var o=n.id,c="beta"!==e&&"production"!==e?"".concat(e,"_").concat(o):o;window.Intercom("boot",{app_id:"g23togek",email:n.email,company:t(n,["company","name"]),name:"".concat(n.first_name," ").concat(n.last_name),created_at:n.created_at,user_id:c,hide_default_launcher:!t(n,["preference","show_intercom_icon"])})}function a(t){window.Intercom&&window.Intercom("update",{hide_default_launcher:!t})}function i(){!function(){var t=window,e=t.Intercom;if("function"==typeof e)e("reattach_activator"),e("update",intercomSettings);else{var n=function(){var t=o.createElement("script");t.type="text/javascript",t.async=!0,t.src="https://widget.intercom.io/widget/".concat("g23togek");var e=o.getElementsByTagName("script")[0];e.parentNode.insertBefore(t,e)},o=document,c=function t(){t.c(arguments)};c.q=[],c.c=function(t){c.q.push(t)},t.Intercom=c,t.attachEvent?t.attachEvent("onload",n):t.addEventListener("load",n,!1)}}()}export{a as displayIntercomIcon,i as launchIntercom,n as openIntercom,c as startIntercomSession,o as stopIntercomSession};
|
package/utils/mixpanel.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{isReportsPage as r}from"./reports.js";var o=("production"===process.env.REACT_APP_ENVIRONMENT||"beta"===process.env.REACT_APP_ENVIRONMENT)&&!r;export{o as isLoggingToMixpanel};
|
package/utils/wootric.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
function t(){window.wootric("run")}function o(o){var e,n;"production"!==process.env.REACT_APP_ENVIRONMENT&&"beta"!==process.env.REACT_APP_ENVIRONMENT||(!function(t){var o=t.email,e=Math.trunc(Date.parse(t.created_at)/1e3);"qa"===process.env.REACT_APP_ENVIRONMENT&&(window.wootric_survey_immediately=!0),window.wootricSettings={email:o,created_at:e,account_token:"NPS-078f9110"}}(o),e=t,(n=document.createElement("script")).setAttribute("src","https://cdn.wootric.com/wootric-sdk.js"),n.onload=e,document.body.appendChild(n))}function e(){var t="#wootric-modal #wootric-close { background: #FF0000 !important; color: white !important; width: 90px !important; } #wootric-modal #wootric-close:hover { background-color: #FF0000 !important; } #close-icon { stroke: #ffffff !important; } #wootric-dismiss { display: inline-block !important; font-weight: 320 !important; font-size: 16px !important; margin-left: -4px !important; }",o=document.createElement("style");o.type="text/css",o.styleSheet?o.styleSheet.cssText=t:o.appendChild(document.createTextNode(t)),document.getElementsByTagName("head")[0].appendChild(o)}var n={launchWootric:o,appendWootricStyle:e};export default n;export{e as appendWootricStyle,o as launchWootric};
|