@imposium-hub/components 1.38.6 → 1.38.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.
@@ -24,6 +24,7 @@ export default class TextLayer extends React.PureComponent<ITextLayerProps, ITex
24
24
  super(props);
25
25
 
26
26
  this.state = {
27
+ fontError: false,
27
28
  fontLoaded: false
28
29
  };
29
30
 
@@ -2,7 +2,7 @@ import * as React from 'react';
2
2
  import ImposiumDropdown from '../dropdown/Dropdown';
3
3
  import ServiceIcon from '../service-icon/ServiceIcon';
4
4
  import { string2HexCode, parameterizeServiceUrl } from '../../Util';
5
- import { ICON_CHEVRON_DOWN, ICON_CHEVRON_UP} from '../../constants/icons';
5
+ import { ICON_CHEVRON_DOWN, ICON_CHEVRON_UP, ICON_HELP} from '../../constants/icons';
6
6
 
7
7
  export interface IHeaderProps {
8
8
  email? : string;
@@ -389,6 +389,10 @@ export default class ImposiumHeader extends React.PureComponent<IHeaderProps, IH
389
389
  <span className = 'inner-right'>
390
390
  {storyToggle}
391
391
  {accountDropdownToggle}
392
+ <a href = 'https://support.imposium.com' target = '_blank'><div
393
+ className = 'btn-help'>
394
+ {ICON_HELP}
395
+ </div></a>
392
396
  </span>
393
397
  </div>
394
398
 
@@ -431,6 +435,7 @@ export default class ImposiumHeader extends React.PureComponent<IHeaderProps, IH
431
435
  </div>
432
436
  </div>
433
437
  </ImposiumDropdown>
438
+
434
439
  </nav>
435
440
  );
436
441
  }
@@ -50,6 +50,7 @@ import { faCompress } from '@fortawesome/pro-light-svg-icons/faCompress';
50
50
  import { faLayerGroup } from '@fortawesome/free-solid-svg-icons/faLayerGroup';
51
51
  import { faCube } from '@fortawesome/free-solid-svg-icons/faCube';
52
52
  import { faFileCode } from '@fortawesome/free-solid-svg-icons/faFileCode';
53
+ import { faQuestionCircle } from '@fortawesome/pro-light-svg-icons/faQuestionCircle';
53
54
 
54
55
  export const ICON_VIDEO = <FontAwesomeIcon icon = {faVideo}/>;
55
56
 
@@ -150,3 +151,5 @@ export const ICON_LAYER_GROUP = <FontAwesomeIcon icon = {faLayerGroup}/>;
150
151
  export const ICON_CUBE = <FontAwesomeIcon icon = {faCube}/>;
151
152
 
152
153
  export const ICON_FILE_CODE = <FontAwesomeIcon icon = {faFileCode}/>;
154
+
155
+ export const ICON_HELP = <FontAwesomeIcon icon = {faQuestionCircle}/>;