@atlaskit/logo 13.14.9 → 13.15.0

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.
Files changed (87) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/cjs/atlas-logo/icon.js +2 -3
  3. package/dist/cjs/atlas-logo/logo.js +2 -3
  4. package/dist/cjs/atlassian-analytics-logo/icon.js +2 -3
  5. package/dist/cjs/atlassian-analytics-logo/logo.js +2 -3
  6. package/dist/cjs/atlassian-logo/icon.js +2 -3
  7. package/dist/cjs/atlassian-logo/logo.js +2 -3
  8. package/dist/cjs/atlassian-logo/wordmark.js +2 -3
  9. package/dist/cjs/atlassian-start-logo/logo.js +2 -3
  10. package/dist/cjs/bitbucket-logo/icon.js +2 -3
  11. package/dist/cjs/bitbucket-logo/logo.js +2 -3
  12. package/dist/cjs/bitbucket-logo/wordmark.js +2 -3
  13. package/dist/cjs/compass-logo/icon.js +2 -3
  14. package/dist/cjs/compass-logo/logo.js +2 -3
  15. package/dist/cjs/compass-logo/wordmark.js +2 -3
  16. package/dist/cjs/confluence-logo/icon.js +2 -3
  17. package/dist/cjs/confluence-logo/logo.js +2 -3
  18. package/dist/cjs/confluence-logo/wordmark.js +2 -3
  19. package/dist/cjs/constants.js +5 -6
  20. package/dist/cjs/halp-logo/icon.js +2 -3
  21. package/dist/cjs/halp-logo/logo.js +2 -3
  22. package/dist/cjs/halp-logo/wordmark.js +2 -3
  23. package/dist/cjs/hipchat-logo/icon.js +2 -3
  24. package/dist/cjs/hipchat-logo/logo.js +2 -3
  25. package/dist/cjs/hipchat-logo/wordmark.js +2 -3
  26. package/dist/cjs/index.js +13 -0
  27. package/dist/cjs/jira-align-logo/icon.js +2 -3
  28. package/dist/cjs/jira-align-logo/logo.js +2 -3
  29. package/dist/cjs/jira-align-logo/wordmark.js +2 -3
  30. package/dist/cjs/jira-core-logo/icon.js +2 -3
  31. package/dist/cjs/jira-core-logo/logo.js +2 -3
  32. package/dist/cjs/jira-core-logo/wordmark.js +2 -3
  33. package/dist/cjs/jira-logo/icon.js +2 -3
  34. package/dist/cjs/jira-logo/logo.js +2 -3
  35. package/dist/cjs/jira-logo/wordmark.js +2 -3
  36. package/dist/cjs/jira-product-discovery-logo/icon.js +2 -3
  37. package/dist/cjs/jira-product-discovery-logo/logo.js +2 -3
  38. package/dist/cjs/jira-service-desk-logo/icon.js +2 -3
  39. package/dist/cjs/jira-service-desk-logo/logo.js +2 -3
  40. package/dist/cjs/jira-service-desk-logo/wordmark.js +2 -3
  41. package/dist/cjs/jira-service-management-logo/icon.js +2 -3
  42. package/dist/cjs/jira-service-management-logo/logo.js +2 -3
  43. package/dist/cjs/jira-service-management-logo/wordmark.js +2 -3
  44. package/dist/cjs/jira-software-logo/icon.js +2 -3
  45. package/dist/cjs/jira-software-logo/logo.js +2 -3
  46. package/dist/cjs/jira-software-logo/wordmark.js +2 -3
  47. package/dist/cjs/jira-work-management-logo/icon.js +2 -3
  48. package/dist/cjs/jira-work-management-logo/logo.js +2 -3
  49. package/dist/cjs/jira-work-management-logo/wordmark.js +2 -3
  50. package/dist/cjs/loom-logo/icon.js +67 -0
  51. package/dist/cjs/loom-logo/index.js +19 -0
  52. package/dist/cjs/loom-logo/logo.js +69 -0
  53. package/dist/cjs/opsgenie-logo/new-icon.js +2 -3
  54. package/dist/cjs/opsgenie-logo/new-logo.js +2 -3
  55. package/dist/cjs/opsgenie-logo/new-wordmark.js +2 -3
  56. package/dist/cjs/opsgenie-logo/old-icon.js +2 -3
  57. package/dist/cjs/opsgenie-logo/old-logo.js +2 -3
  58. package/dist/cjs/opsgenie-logo/old-wordmark.js +2 -3
  59. package/dist/cjs/statuspage-logo/icon.js +2 -3
  60. package/dist/cjs/statuspage-logo/logo.js +2 -3
  61. package/dist/cjs/statuspage-logo/wordmark.js +2 -3
  62. package/dist/cjs/stride-logo/icon.js +2 -3
  63. package/dist/cjs/stride-logo/logo.js +2 -3
  64. package/dist/cjs/stride-logo/wordmark.js +2 -3
  65. package/dist/cjs/trello-logo/icon.js +2 -3
  66. package/dist/cjs/trello-logo/logo.js +2 -3
  67. package/dist/cjs/trello-logo/wordmark.js +2 -3
  68. package/dist/cjs/utils.js +2 -3
  69. package/dist/cjs/wrapper.js +1 -2
  70. package/dist/es2019/index.js +1 -0
  71. package/dist/es2019/loom-logo/icon.js +67 -0
  72. package/dist/es2019/loom-logo/index.js +2 -0
  73. package/dist/es2019/loom-logo/logo.js +78 -0
  74. package/dist/esm/index.js +1 -0
  75. package/dist/esm/loom-logo/icon.js +59 -0
  76. package/dist/esm/loom-logo/index.js +2 -0
  77. package/dist/esm/loom-logo/logo.js +61 -0
  78. package/dist/types/index.d.ts +1 -0
  79. package/dist/types/loom-logo/icon.d.ts +12 -0
  80. package/dist/types/loom-logo/index.d.ts +2 -0
  81. package/dist/types/loom-logo/logo.d.ts +12 -0
  82. package/dist/types-ts4.5/index.d.ts +1 -0
  83. package/dist/types-ts4.5/loom-logo/icon.d.ts +12 -0
  84. package/dist/types-ts4.5/loom-logo/index.d.ts +2 -0
  85. package/dist/types-ts4.5/loom-logo/logo.d.ts +12 -0
  86. package/package.json +2 -2
  87. package/tmp/api-report-tmp.d.ts +0 -220
@@ -0,0 +1,67 @@
1
+ /* eslint-disable max-len */
2
+ import React from 'react';
3
+ import { defaultLogoParams } from '../constants';
4
+ import { getColorsFromAppearance } from '../utils';
5
+ import Wrapper from '../wrapper';
6
+ const svg = ({
7
+ appearance,
8
+ iconColor
9
+ }) => {
10
+ let colors = {
11
+ iconColor
12
+ };
13
+ if (appearance) {
14
+ colors = getColorsFromAppearance(appearance);
15
+ }
16
+ const loomIconColor = appearance === 'brand' ? '#625DF5' : colors.iconColor;
17
+ return `
18
+ <svg
19
+ height="33"
20
+ viewBox="0 0 32 33"
21
+ fill="none"
22
+ xmlns="http://www.w3.org/2000/svg"
23
+ >
24
+ <path
25
+ fill="${loomIconColor}"
26
+ d="M29 14.5543H21.3972L27.9816 10.7528L26.5356 8.24758L19.9513 12.0491L23.7519 5.46521L21.2467 4.01838L17.446 10.6022V3H14.5539V10.6029L10.7519 4.01838L8.24743 5.46448L12.0488 12.0483L5.46441 8.24758L4.01835 10.7521L10.6027 14.5535H3V17.4458H10.602L4.01835 21.2472L5.46441 23.7524L12.0481 19.9517L8.2467 26.5355L10.7519 27.9816L14.5532 21.3971V29H17.4453V21.3978L21.246 27.9816L23.7511 26.5355L19.9498 19.951L26.5341 23.7524L27.9802 21.2472L21.3965 17.4464H28.9985V14.5543H29ZM16 19.9334C13.8193 19.9334 12.0517 18.1659 12.0517 15.9851C12.0517 13.8043 13.8193 12.0367 16 12.0367C18.1807 12.0367 19.9482 13.8043 19.9482 15.9851C19.9482 18.1659 18.1807 19.9334 16 19.9334Z"
27
+ />
28
+ </svg>
29
+ `;
30
+ };
31
+
32
+ /**
33
+ * __Loom icon__
34
+ *
35
+ * The Loom icon without an accompanying wordmark.
36
+ *
37
+ * - [Examples](https://atlassian.design/components/logo/examples)
38
+ * - [Code](https://atlassian.design/components/logo/code)
39
+ * - [Usage](https://atlassian.design/components/logo/usage)
40
+ */
41
+ export const LoomIcon = ({
42
+ appearance,
43
+ label = 'Loom',
44
+ size = defaultLogoParams.size,
45
+ testId,
46
+ iconColor = defaultLogoParams.iconColor,
47
+ iconGradientStart = defaultLogoParams.iconGradientStart,
48
+ iconGradientStop = defaultLogoParams.iconGradientStop,
49
+ textColor = defaultLogoParams.textColor
50
+ }) => {
51
+ return /*#__PURE__*/React.createElement(Wrapper, {
52
+ appearance: appearance,
53
+ label: label,
54
+ svg: svg({
55
+ appearance,
56
+ iconGradientStart,
57
+ iconGradientStop,
58
+ iconColor
59
+ }),
60
+ iconColor: iconColor,
61
+ iconGradientStart: iconGradientStart,
62
+ iconGradientStop: iconGradientStop,
63
+ size: size,
64
+ testId: testId,
65
+ textColor: textColor
66
+ });
67
+ };
@@ -0,0 +1,2 @@
1
+ export { LoomIcon } from './icon';
2
+ export { LoomLogo } from './logo';
@@ -0,0 +1,78 @@
1
+ /* eslint-disable max-len */
2
+ import React from 'react';
3
+ import { useThemeObserver } from '@atlaskit/tokens';
4
+ import { defaultLogoParams } from '../constants';
5
+ import { getColorsFromAppearance } from '../utils';
6
+ import Wrapper from '../wrapper';
7
+ const svg = ({
8
+ appearance,
9
+ colorMode,
10
+ iconColor,
11
+ textColor
12
+ }) => {
13
+ let colors = {
14
+ iconColor,
15
+ textColor
16
+ };
17
+ if (appearance) {
18
+ colors = getColorsFromAppearance(appearance);
19
+ }
20
+ const loomTextColor = colorMode === 'light' && appearance === 'brand' ? '#222' : colors.textColor;
21
+ const loomIconColor = appearance === 'brand' ? '#625DF5' : colors.iconColor;
22
+ return `
23
+ <svg
24
+ fill="none"
25
+ height="32"
26
+ viewBox="0 0 87 32"
27
+ xmlns="http://www.w3.org/2000/svg"
28
+ >
29
+ <path
30
+ clip-rule="evenodd"
31
+ d="m33.0381 6.48975v19.01995h3.492v-19.01995zm36.8275 6.09465h-3.3347v12.9261h3.4912v-7.5659c0-1.4189.893-2.5487 2.4162-2.5487 1.5762 0 2.285 1.0505 2.285 2.4431v7.6715h3.465v-7.5659c0-1.3927.8929-2.5487 2.3899-2.5487 1.6017 0 2.285 1.0505 2.285 2.4431v7.6707h3.3871v-8.3806c0-3.4672-2.2843-4.9123-4.6734-4.9123-1.7067 0-3.0732.5772-4.0966 2.1541-.6563-1.3919-2.0737-2.1541-3.8337-2.1541-1.4174 0-3.0723.6836-3.781 1.9445zm-25.4441 13.2997c-3.9339 0-6.7826-2.9178-6.7826-6.8368 0-3.8565 2.8395-6.8437 6.7826-6.8437 3.9623 0 6.7827 3.0149 6.7827 6.8437 0 3.8905-2.8504 6.8368-6.7827 6.8368zm0-10.5168c-2.029 0-3.6794 1.6507-3.6794 3.6808 0 2.03 1.6504 3.6808 3.6794 3.6808s3.6786-1.6508 3.6786-3.6808c0-2.0301-1.6496-3.6808-3.6786-3.6808zm7.4592 3.68c0 3.919 2.8487 6.8368 6.7827 6.8368 3.9307 0 6.7826-2.9463 6.7826-6.8368 0-3.8288-2.8203-6.8437-6.7826-6.8437-3.9431 0-6.7827 2.9872-6.7827 6.8437zm3.0609-.0008c0-2.0523 1.6696-3.7232 3.7218-3.7232 2.0513 0 3.7209 1.6709 3.7218 3.7232 0 2.0524-1.6698 3.7233-3.7218 3.7233-2.0522 0-3.7218-1.6709-3.7218-3.7233z"
32
+ fill="${loomTextColor}"
33
+ fill-rule="evenodd"
34
+ />
35
+ <path
36
+ d="m26 14.5543h-7.6028l6.5844-3.8015-1.446-2.50522-6.5843 3.80152 3.8006-6.58389-2.5052-1.44683-3.8007 6.58382v-7.6022h-2.8921v7.6029l-3.80205-6.58452-2.50442 1.4461 3.80136 6.58382-6.58438-3.80072-1.44606 2.50452 6.58438 3.8014h-7.60273v2.8923h7.60201l-6.58366 3.8014 1.44606 2.5052 6.58365-3.8007-3.80136 6.5838 2.50515 1.4461 3.80135-6.5845v7.6029h2.8921v-7.6022l3.8007 6.5838 2.5051-1.4461-3.8013-6.5845 6.5843 3.8014 1.4461-2.5052-6.5837-3.8008h7.602v-2.8921zm-13 5.3791c-2.1807 0-3.9483-1.7675-3.9483-3.9483s1.7676-3.9484 3.9483-3.9484 3.9482 1.7676 3.9482 3.9484-1.7675 3.9483-3.9482 3.9483z"
37
+ fill="${loomIconColor}"
38
+ />
39
+ </svg>
40
+ `;
41
+ };
42
+
43
+ /**
44
+ * __Loom logo__
45
+ *
46
+ * The Loom logo with both the wordmark and the icon combined.
47
+ *
48
+ * - [Examples](https://atlassian.design/components/logo/examples)
49
+ * - [Code](https://atlassian.design/components/logo/code)
50
+ * - [Usage](https://atlassian.design/components/logo/usage)
51
+ */
52
+ export const LoomLogo = ({
53
+ appearance,
54
+ label = 'Loom',
55
+ size = defaultLogoParams.size,
56
+ testId,
57
+ iconColor = defaultLogoParams.iconColor,
58
+ textColor = defaultLogoParams.textColor
59
+ }) => {
60
+ const {
61
+ colorMode
62
+ } = useThemeObserver();
63
+ return /*#__PURE__*/React.createElement(Wrapper, {
64
+ appearance: appearance,
65
+ label: label,
66
+ iconColor: iconColor,
67
+ size: size,
68
+ svg: svg({
69
+ appearance,
70
+ size,
71
+ colorMode,
72
+ iconColor,
73
+ textColor
74
+ }),
75
+ testId: testId,
76
+ textColor: textColor
77
+ });
78
+ };
package/dist/esm/index.js CHANGED
@@ -14,6 +14,7 @@ export { JiraServiceDeskIcon, JiraServiceDeskLogo, JiraServiceDeskWordmark } fro
14
14
  export { JiraServiceManagementIcon, JiraServiceManagementLogo, JiraServiceManagementWordmark } from './jira-service-management-logo';
15
15
  export { JiraSoftwareIcon, JiraSoftwareLogo, JiraSoftwareWordmark } from './jira-software-logo';
16
16
  export { JiraWorkManagementLogo, JiraWorkManagementWordmark, JiraWorkManagementIcon } from './jira-work-management-logo';
17
+ export { LoomIcon, LoomLogo } from './loom-logo';
17
18
  export { OpsGenieIcon, OpsGenieLogo, OpsGenieWordmark, OpsgenieIcon, OpsgenieLogo, OpsgenieWordmark } from './opsgenie-logo';
18
19
  export { StatuspageIcon, StatuspageLogo, StatuspageWordmark } from './statuspage-logo';
19
20
  export { StrideIcon, StrideLogo, StrideWordmark } from './stride-logo';
@@ -0,0 +1,59 @@
1
+ /* eslint-disable max-len */
2
+ import React from 'react';
3
+ import { defaultLogoParams } from '../constants';
4
+ import { getColorsFromAppearance } from '../utils';
5
+ import Wrapper from '../wrapper';
6
+ var svg = function svg(_ref) {
7
+ var appearance = _ref.appearance,
8
+ iconColor = _ref.iconColor;
9
+ var colors = {
10
+ iconColor: iconColor
11
+ };
12
+ if (appearance) {
13
+ colors = getColorsFromAppearance(appearance);
14
+ }
15
+ var loomIconColor = appearance === 'brand' ? '#625DF5' : colors.iconColor;
16
+ return "\n <svg\n height=\"33\"\n viewBox=\"0 0 32 33\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill=\"".concat(loomIconColor, "\"\n d=\"M29 14.5543H21.3972L27.9816 10.7528L26.5356 8.24758L19.9513 12.0491L23.7519 5.46521L21.2467 4.01838L17.446 10.6022V3H14.5539V10.6029L10.7519 4.01838L8.24743 5.46448L12.0488 12.0483L5.46441 8.24758L4.01835 10.7521L10.6027 14.5535H3V17.4458H10.602L4.01835 21.2472L5.46441 23.7524L12.0481 19.9517L8.2467 26.5355L10.7519 27.9816L14.5532 21.3971V29H17.4453V21.3978L21.246 27.9816L23.7511 26.5355L19.9498 19.951L26.5341 23.7524L27.9802 21.2472L21.3965 17.4464H28.9985V14.5543H29ZM16 19.9334C13.8193 19.9334 12.0517 18.1659 12.0517 15.9851C12.0517 13.8043 13.8193 12.0367 16 12.0367C18.1807 12.0367 19.9482 13.8043 19.9482 15.9851C19.9482 18.1659 18.1807 19.9334 16 19.9334Z\"\n />\n </svg>\n ");
17
+ };
18
+
19
+ /**
20
+ * __Loom icon__
21
+ *
22
+ * The Loom icon without an accompanying wordmark.
23
+ *
24
+ * - [Examples](https://atlassian.design/components/logo/examples)
25
+ * - [Code](https://atlassian.design/components/logo/code)
26
+ * - [Usage](https://atlassian.design/components/logo/usage)
27
+ */
28
+ export var LoomIcon = function LoomIcon(_ref2) {
29
+ var appearance = _ref2.appearance,
30
+ _ref2$label = _ref2.label,
31
+ label = _ref2$label === void 0 ? 'Loom' : _ref2$label,
32
+ _ref2$size = _ref2.size,
33
+ size = _ref2$size === void 0 ? defaultLogoParams.size : _ref2$size,
34
+ testId = _ref2.testId,
35
+ _ref2$iconColor = _ref2.iconColor,
36
+ iconColor = _ref2$iconColor === void 0 ? defaultLogoParams.iconColor : _ref2$iconColor,
37
+ _ref2$iconGradientSta = _ref2.iconGradientStart,
38
+ iconGradientStart = _ref2$iconGradientSta === void 0 ? defaultLogoParams.iconGradientStart : _ref2$iconGradientSta,
39
+ _ref2$iconGradientSto = _ref2.iconGradientStop,
40
+ iconGradientStop = _ref2$iconGradientSto === void 0 ? defaultLogoParams.iconGradientStop : _ref2$iconGradientSto,
41
+ _ref2$textColor = _ref2.textColor,
42
+ textColor = _ref2$textColor === void 0 ? defaultLogoParams.textColor : _ref2$textColor;
43
+ return /*#__PURE__*/React.createElement(Wrapper, {
44
+ appearance: appearance,
45
+ label: label,
46
+ svg: svg({
47
+ appearance: appearance,
48
+ iconGradientStart: iconGradientStart,
49
+ iconGradientStop: iconGradientStop,
50
+ iconColor: iconColor
51
+ }),
52
+ iconColor: iconColor,
53
+ iconGradientStart: iconGradientStart,
54
+ iconGradientStop: iconGradientStop,
55
+ size: size,
56
+ testId: testId,
57
+ textColor: textColor
58
+ });
59
+ };
@@ -0,0 +1,2 @@
1
+ export { LoomIcon } from './icon';
2
+ export { LoomLogo } from './logo';
@@ -0,0 +1,61 @@
1
+ /* eslint-disable max-len */
2
+ import React from 'react';
3
+ import { useThemeObserver } from '@atlaskit/tokens';
4
+ import { defaultLogoParams } from '../constants';
5
+ import { getColorsFromAppearance } from '../utils';
6
+ import Wrapper from '../wrapper';
7
+ var svg = function svg(_ref) {
8
+ var appearance = _ref.appearance,
9
+ colorMode = _ref.colorMode,
10
+ iconColor = _ref.iconColor,
11
+ textColor = _ref.textColor;
12
+ var colors = {
13
+ iconColor: iconColor,
14
+ textColor: textColor
15
+ };
16
+ if (appearance) {
17
+ colors = getColorsFromAppearance(appearance);
18
+ }
19
+ var loomTextColor = colorMode === 'light' && appearance === 'brand' ? '#222' : colors.textColor;
20
+ var loomIconColor = appearance === 'brand' ? '#625DF5' : colors.iconColor;
21
+ return "\n <svg\n fill=\"none\"\n height=\"32\"\n viewBox=\"0 0 87 32\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n clip-rule=\"evenodd\"\n d=\"m33.0381 6.48975v19.01995h3.492v-19.01995zm36.8275 6.09465h-3.3347v12.9261h3.4912v-7.5659c0-1.4189.893-2.5487 2.4162-2.5487 1.5762 0 2.285 1.0505 2.285 2.4431v7.6715h3.465v-7.5659c0-1.3927.8929-2.5487 2.3899-2.5487 1.6017 0 2.285 1.0505 2.285 2.4431v7.6707h3.3871v-8.3806c0-3.4672-2.2843-4.9123-4.6734-4.9123-1.7067 0-3.0732.5772-4.0966 2.1541-.6563-1.3919-2.0737-2.1541-3.8337-2.1541-1.4174 0-3.0723.6836-3.781 1.9445zm-25.4441 13.2997c-3.9339 0-6.7826-2.9178-6.7826-6.8368 0-3.8565 2.8395-6.8437 6.7826-6.8437 3.9623 0 6.7827 3.0149 6.7827 6.8437 0 3.8905-2.8504 6.8368-6.7827 6.8368zm0-10.5168c-2.029 0-3.6794 1.6507-3.6794 3.6808 0 2.03 1.6504 3.6808 3.6794 3.6808s3.6786-1.6508 3.6786-3.6808c0-2.0301-1.6496-3.6808-3.6786-3.6808zm7.4592 3.68c0 3.919 2.8487 6.8368 6.7827 6.8368 3.9307 0 6.7826-2.9463 6.7826-6.8368 0-3.8288-2.8203-6.8437-6.7826-6.8437-3.9431 0-6.7827 2.9872-6.7827 6.8437zm3.0609-.0008c0-2.0523 1.6696-3.7232 3.7218-3.7232 2.0513 0 3.7209 1.6709 3.7218 3.7232 0 2.0524-1.6698 3.7233-3.7218 3.7233-2.0522 0-3.7218-1.6709-3.7218-3.7233z\"\n fill=\"".concat(loomTextColor, "\"\n fill-rule=\"evenodd\"\n />\n <path\n d=\"m26 14.5543h-7.6028l6.5844-3.8015-1.446-2.50522-6.5843 3.80152 3.8006-6.58389-2.5052-1.44683-3.8007 6.58382v-7.6022h-2.8921v7.6029l-3.80205-6.58452-2.50442 1.4461 3.80136 6.58382-6.58438-3.80072-1.44606 2.50452 6.58438 3.8014h-7.60273v2.8923h7.60201l-6.58366 3.8014 1.44606 2.5052 6.58365-3.8007-3.80136 6.5838 2.50515 1.4461 3.80135-6.5845v7.6029h2.8921v-7.6022l3.8007 6.5838 2.5051-1.4461-3.8013-6.5845 6.5843 3.8014 1.4461-2.5052-6.5837-3.8008h7.602v-2.8921zm-13 5.3791c-2.1807 0-3.9483-1.7675-3.9483-3.9483s1.7676-3.9484 3.9483-3.9484 3.9482 1.7676 3.9482 3.9484-1.7675 3.9483-3.9482 3.9483z\"\n fill=\"").concat(loomIconColor, "\"\n />\n </svg>\n ");
22
+ };
23
+
24
+ /**
25
+ * __Loom logo__
26
+ *
27
+ * The Loom logo with both the wordmark and the icon combined.
28
+ *
29
+ * - [Examples](https://atlassian.design/components/logo/examples)
30
+ * - [Code](https://atlassian.design/components/logo/code)
31
+ * - [Usage](https://atlassian.design/components/logo/usage)
32
+ */
33
+ export var LoomLogo = function LoomLogo(_ref2) {
34
+ var appearance = _ref2.appearance,
35
+ _ref2$label = _ref2.label,
36
+ label = _ref2$label === void 0 ? 'Loom' : _ref2$label,
37
+ _ref2$size = _ref2.size,
38
+ size = _ref2$size === void 0 ? defaultLogoParams.size : _ref2$size,
39
+ testId = _ref2.testId,
40
+ _ref2$iconColor = _ref2.iconColor,
41
+ iconColor = _ref2$iconColor === void 0 ? defaultLogoParams.iconColor : _ref2$iconColor,
42
+ _ref2$textColor = _ref2.textColor,
43
+ textColor = _ref2$textColor === void 0 ? defaultLogoParams.textColor : _ref2$textColor;
44
+ var _useThemeObserver = useThemeObserver(),
45
+ colorMode = _useThemeObserver.colorMode;
46
+ return /*#__PURE__*/React.createElement(Wrapper, {
47
+ appearance: appearance,
48
+ label: label,
49
+ iconColor: iconColor,
50
+ size: size,
51
+ svg: svg({
52
+ appearance: appearance,
53
+ size: size,
54
+ colorMode: colorMode,
55
+ iconColor: iconColor,
56
+ textColor: textColor
57
+ }),
58
+ testId: testId,
59
+ textColor: textColor
60
+ });
61
+ };
@@ -15,6 +15,7 @@ export { JiraServiceDeskIcon, JiraServiceDeskLogo, JiraServiceDeskWordmark, } fr
15
15
  export { JiraServiceManagementIcon, JiraServiceManagementLogo, JiraServiceManagementWordmark, } from './jira-service-management-logo';
16
16
  export { JiraSoftwareIcon, JiraSoftwareLogo, JiraSoftwareWordmark, } from './jira-software-logo';
17
17
  export { JiraWorkManagementLogo, JiraWorkManagementWordmark, JiraWorkManagementIcon, } from './jira-work-management-logo';
18
+ export { LoomIcon, LoomLogo } from './loom-logo';
18
19
  export { OpsGenieIcon, OpsGenieLogo, OpsGenieWordmark, OpsgenieIcon, OpsgenieLogo, OpsgenieWordmark, } from './opsgenie-logo';
19
20
  export { StatuspageIcon, StatuspageLogo, StatuspageWordmark, } from './statuspage-logo';
20
21
  export { StrideIcon, StrideLogo, StrideWordmark } from './stride-logo';
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ import { LogoProps } from '../types';
3
+ /**
4
+ * __Loom icon__
5
+ *
6
+ * The Loom icon without an accompanying wordmark.
7
+ *
8
+ * - [Examples](https://atlassian.design/components/logo/examples)
9
+ * - [Code](https://atlassian.design/components/logo/code)
10
+ * - [Usage](https://atlassian.design/components/logo/usage)
11
+ */
12
+ export declare const LoomIcon: ({ appearance, label, size, testId, iconColor, iconGradientStart, iconGradientStop, textColor, }: LogoProps) => JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { LoomIcon } from './icon';
2
+ export { LoomLogo } from './logo';
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ import { LogoProps } from '../types';
3
+ /**
4
+ * __Loom logo__
5
+ *
6
+ * The Loom logo with both the wordmark and the icon combined.
7
+ *
8
+ * - [Examples](https://atlassian.design/components/logo/examples)
9
+ * - [Code](https://atlassian.design/components/logo/code)
10
+ * - [Usage](https://atlassian.design/components/logo/usage)
11
+ */
12
+ export declare const LoomLogo: ({ appearance, label, size, testId, iconColor, textColor, }: LogoProps) => JSX.Element;
@@ -15,6 +15,7 @@ export { JiraServiceDeskIcon, JiraServiceDeskLogo, JiraServiceDeskWordmark, } fr
15
15
  export { JiraServiceManagementIcon, JiraServiceManagementLogo, JiraServiceManagementWordmark, } from './jira-service-management-logo';
16
16
  export { JiraSoftwareIcon, JiraSoftwareLogo, JiraSoftwareWordmark, } from './jira-software-logo';
17
17
  export { JiraWorkManagementLogo, JiraWorkManagementWordmark, JiraWorkManagementIcon, } from './jira-work-management-logo';
18
+ export { LoomIcon, LoomLogo } from './loom-logo';
18
19
  export { OpsGenieIcon, OpsGenieLogo, OpsGenieWordmark, OpsgenieIcon, OpsgenieLogo, OpsgenieWordmark, } from './opsgenie-logo';
19
20
  export { StatuspageIcon, StatuspageLogo, StatuspageWordmark, } from './statuspage-logo';
20
21
  export { StrideIcon, StrideLogo, StrideWordmark } from './stride-logo';
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ import { LogoProps } from '../types';
3
+ /**
4
+ * __Loom icon__
5
+ *
6
+ * The Loom icon without an accompanying wordmark.
7
+ *
8
+ * - [Examples](https://atlassian.design/components/logo/examples)
9
+ * - [Code](https://atlassian.design/components/logo/code)
10
+ * - [Usage](https://atlassian.design/components/logo/usage)
11
+ */
12
+ export declare const LoomIcon: ({ appearance, label, size, testId, iconColor, iconGradientStart, iconGradientStop, textColor, }: LogoProps) => JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { LoomIcon } from './icon';
2
+ export { LoomLogo } from './logo';
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ import { LogoProps } from '../types';
3
+ /**
4
+ * __Loom logo__
5
+ *
6
+ * The Loom logo with both the wordmark and the icon combined.
7
+ *
8
+ * - [Examples](https://atlassian.design/components/logo/examples)
9
+ * - [Code](https://atlassian.design/components/logo/code)
10
+ * - [Usage](https://atlassian.design/components/logo/usage)
11
+ */
12
+ export declare const LoomLogo: ({ appearance, label, size, testId, iconColor, textColor, }: LogoProps) => JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/logo",
3
- "version": "13.14.9",
3
+ "version": "13.15.0",
4
4
  "description": "A logo is a visual representation of a brand or product. It can be a word or an image, or a combination of both.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -28,7 +28,7 @@
28
28
  "dependencies": {
29
29
  "@atlaskit/ds-lib": "^2.2.0",
30
30
  "@atlaskit/theme": "^12.6.0",
31
- "@atlaskit/tokens": "^1.25.0",
31
+ "@atlaskit/tokens": "^1.33.0",
32
32
  "@babel/runtime": "^7.0.0",
33
33
  "@emotion/react": "^11.7.1",
34
34
  "react-uid": "^2.2.0"
@@ -1,220 +0,0 @@
1
- ## API Report File for "@atlaskit/logo"
2
-
3
- > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
-
5
- ```ts
6
-
7
- /// <reference types="react" />
8
-
9
- // @public (undocumented)
10
- type Appearance = 'brand' | 'inverse' | 'neutral';
11
-
12
- // @public
13
- export const AtlasIcon: ({ appearance, label, size, testId, }: LogoPropsAppearanceRequired) => JSX.Element;
14
-
15
- // @public
16
- export const AtlasLogo: ({ appearance, label, size, testId, }: LogoPropsAppearanceRequired) => JSX.Element;
17
-
18
- // @public
19
- export const AtlassianAnalyticsIcon: ({ appearance, label, size, testId, }: LogoPropsAppearanceRequired) => JSX.Element;
20
-
21
- // @public
22
- export const AtlassianAnalyticsLogo: ({ appearance, label, size, testId, }: LogoPropsAppearanceRequired) => JSX.Element;
23
-
24
- // @public
25
- export const AtlassianIcon: ({ appearance, label, size, iconColor, iconGradientStart, iconGradientStop, textColor, testId, }: LogoProps) => JSX.Element;
26
-
27
- // @public
28
- export const AtlassianLogo: ({ appearance, label, size, testId, iconColor, iconGradientStart, iconGradientStop, textColor, }: LogoProps) => JSX.Element;
29
-
30
- // @public
31
- export const AtlassianStartLogo: ({ appearance, label, size, testId, iconColor, iconGradientStart, iconGradientStop, textColor, }: LogoProps) => JSX.Element;
32
-
33
- // @public
34
- export const AtlassianWordmark: ({ appearance, label, size, testId, textColor, }: LogoProps) => JSX.Element;
35
-
36
- // @public
37
- export const BitbucketIcon: ({ appearance, label, size, testId, iconColor, iconGradientStart, iconGradientStop, textColor, }: LogoProps) => JSX.Element;
38
-
39
- // @public
40
- export const BitbucketLogo: ({ appearance, label, size, testId, iconColor, iconGradientStart, iconGradientStop, textColor, }: LogoProps) => JSX.Element;
41
-
42
- // @public
43
- export const BitbucketWordmark: ({ appearance, label, size, testId, textColor, }: LogoProps) => JSX.Element;
44
-
45
- // @public
46
- export const CompassIcon: ({ appearance, label, size, testId, iconColor, iconGradientStart, iconGradientStop, textColor, }: LogoProps) => JSX.Element;
47
-
48
- // @public
49
- export const CompassLogo: ({ appearance, label, size, testId, iconColor, iconGradientStart, iconGradientStop, textColor, }: LogoProps) => JSX.Element;
50
-
51
- // @public
52
- export const CompassWordmark: ({ appearance, label, size, testId, textColor, }: LogoProps) => JSX.Element;
53
-
54
- // @public
55
- export const ConfluenceIcon: ({ appearance, label, size, testId, iconColor, iconGradientStart, iconGradientStop, textColor, }: LogoProps) => JSX.Element;
56
-
57
- // @public
58
- export const ConfluenceLogo: ({ appearance, label, size, testId, iconColor, iconGradientStart, iconGradientStop, textColor, }: LogoProps) => JSX.Element;
59
-
60
- // @public
61
- export const ConfluenceWordmark: ({ appearance, label, size, testId, textColor, }: LogoProps) => JSX.Element;
62
-
63
- // @public
64
- export const HalpIcon: ({ appearance, label, size, testId, textColor, iconColor, iconGradientStart, iconGradientStop, }: LogoProps) => JSX.Element;
65
-
66
- // @public
67
- export const HalpLogo: ({ appearance, label, size, testId, iconColor, iconGradientStart, iconGradientStop, textColor, }: LogoProps) => JSX.Element;
68
-
69
- // @public
70
- export const HalpWordmark: ({ appearance, label, size, testId, textColor, }: LogoProps) => JSX.Element;
71
-
72
- // @public @deprecated (undocumented)
73
- export const HipchatIcon: ({ label, size, testId, iconColor, iconGradientStart, iconGradientStop, textColor, }: LogoProps) => JSX.Element;
74
-
75
- // @public @deprecated (undocumented)
76
- export const HipchatLogo: ({ iconColor, iconGradientStart, iconGradientStop, label, size, testId, textColor, }: LogoProps) => JSX.Element;
77
-
78
- // @public @deprecated (undocumented)
79
- export const HipchatWordmark: ({ iconColor, iconGradientStart, iconGradientStop, label, size, testId, textColor, }: LogoProps) => JSX.Element;
80
-
81
- // @public
82
- export const JiraAlignIcon: ({ appearance, label, size, testId, textColor, iconColor, iconGradientStart, iconGradientStop, }: LogoProps) => JSX.Element;
83
-
84
- // @public
85
- export const JiraAlignLogo: ({ appearance, label, size, testId, iconColor, iconGradientStart, iconGradientStop, textColor, }: LogoProps) => JSX.Element;
86
-
87
- // @public
88
- export const JiraAlignWordmark: ({ appearance, label, size, testId, textColor, }: LogoProps) => JSX.Element;
89
-
90
- // @public @deprecated (undocumented)
91
- export const JiraCoreIcon: ({ iconColor, iconGradientStart, iconGradientStop, label, size, testId, textColor, }: LogoProps) => JSX.Element;
92
-
93
- // @public @deprecated (undocumented)
94
- export const JiraCoreLogo: ({ iconColor, iconGradientStart, iconGradientStop, label, size, testId, textColor, }: LogoProps) => JSX.Element;
95
-
96
- // @public @deprecated (undocumented)
97
- export const JiraCoreWordmark: ({ iconColor, iconGradientStart, iconGradientStop, label, size, testId, textColor, }: LogoProps) => JSX.Element;
98
-
99
- // @public
100
- export const JiraIcon: ({ appearance, label, size, testId, textColor, iconColor, iconGradientStart, iconGradientStop, }: LogoProps) => JSX.Element;
101
-
102
- // @public
103
- export const JiraLogo: ({ appearance, label, size, testId, iconColor, iconGradientStart, iconGradientStop, textColor, }: LogoProps) => JSX.Element;
104
-
105
- // @public
106
- export const JiraProductDiscoveryIcon: ({ appearance, label, size, testId, iconColor, iconGradientStart, iconGradientStop, textColor, }: LogoProps) => JSX.Element;
107
-
108
- // @public
109
- export const JiraProductDiscoveryLogo: ({ appearance, label, size, testId, iconColor, iconGradientStart, iconGradientStop, textColor, }: LogoProps) => JSX.Element;
110
-
111
- // @public @deprecated (undocumented)
112
- export const JiraServiceDeskIcon: ({ iconColor, iconGradientStart, iconGradientStop, label, size, testId, textColor, }: LogoProps) => JSX.Element;
113
-
114
- // @public @deprecated (undocumented)
115
- export const JiraServiceDeskLogo: ({ iconColor, iconGradientStart, iconGradientStop, label, size, testId, textColor, }: LogoProps) => JSX.Element;
116
-
117
- // @public @deprecated (undocumented)
118
- export const JiraServiceDeskWordmark: ({ iconColor, iconGradientStart, iconGradientStop, label, size, testId, textColor, }: LogoProps) => JSX.Element;
119
-
120
- // @public
121
- export const JiraServiceManagementIcon: ({ appearance, label, size, testId, iconColor, iconGradientStart, iconGradientStop, textColor, }: LogoProps) => JSX.Element;
122
-
123
- // @public
124
- export const JiraServiceManagementLogo: ({ appearance, label, size, testId, iconColor, iconGradientStart, iconGradientStop, textColor, }: LogoProps) => JSX.Element;
125
-
126
- // @public
127
- export const JiraServiceManagementWordmark: ({ appearance, label, size, testId, textColor, }: LogoProps) => JSX.Element;
128
-
129
- // @public
130
- export const JiraSoftwareIcon: ({ appearance, label, size, testId, iconColor, iconGradientStart, iconGradientStop, textColor, }: LogoProps) => JSX.Element;
131
-
132
- // @public
133
- export const JiraSoftwareLogo: ({ appearance, label, size, testId, iconColor, iconGradientStart, iconGradientStop, textColor, }: LogoProps) => JSX.Element;
134
-
135
- // @public
136
- export const JiraSoftwareWordmark: ({ appearance, label, size, testId, textColor, iconColor, iconGradientStart, iconGradientStop, }: LogoProps) => JSX.Element;
137
-
138
- // @public
139
- export const JiraWordmark: ({ appearance, label, size, testId, textColor, }: LogoProps) => JSX.Element;
140
-
141
- // @public
142
- export const JiraWorkManagementIcon: ({ appearance, label, size, testId, iconColor, iconGradientStart, iconGradientStop, textColor, }: LogoProps) => JSX.Element;
143
-
144
- // @public
145
- export const JiraWorkManagementLogo: ({ appearance, label, size, testId, iconColor, iconGradientStart, iconGradientStop, textColor, }: LogoProps) => JSX.Element;
146
-
147
- // @public
148
- export const JiraWorkManagementWordmark: ({ appearance, label, size, testId, iconColor, iconGradientStart, iconGradientStop, textColor, }: LogoProps) => JSX.Element;
149
-
150
- // @public (undocumented)
151
- export type LogoProps = {
152
- size?: Size;
153
- appearance?: Appearance;
154
- textColor?: string;
155
- iconColor?: string;
156
- iconGradientStart?: string;
157
- iconGradientStop?: string;
158
- label?: string;
159
- testId?: string;
160
- };
161
-
162
- // @public (undocumented)
163
- type LogoPropsAppearanceRequired = Omit<WithRequiredProperty<LogoProps, 'appearance'>, 'iconColor' | 'iconGradientStart' | 'iconGradientStop' | 'textColor'>;
164
-
165
- // @public @deprecated (undocumented)
166
- export const OpsGenieIcon: ({ iconColor, iconGradientStart, iconGradientStop, size, testId, textColor, }: LogoProps) => JSX.Element;
167
-
168
- // @public
169
- export const OpsgenieIcon: ({ appearance, label, size, testId, textColor, iconColor, iconGradientStart, iconGradientStop, }: LogoProps) => JSX.Element;
170
-
171
- // @public @deprecated (undocumented)
172
- export const OpsGenieLogo: ({ iconColor, iconGradientStart, iconGradientStop, size, testId, textColor, }: LogoProps) => JSX.Element;
173
-
174
- // @public
175
- export const OpsgenieLogo: ({ appearance, label, size, testId, textColor, iconColor, iconGradientStart, iconGradientStop, }: LogoProps) => JSX.Element;
176
-
177
- // @public @deprecated (undocumented)
178
- export const OpsGenieWordmark: ({ iconColor, iconGradientStart, iconGradientStop, size, testId, textColor, }: LogoProps) => JSX.Element;
179
-
180
- // @public
181
- export const OpsgenieWordmark: ({ appearance, size, testId, textColor, iconColor, iconGradientStart, iconGradientStop, }: LogoProps) => JSX.Element;
182
-
183
- // @public (undocumented)
184
- type Size = 'large' | 'medium' | 'small' | 'xlarge' | 'xsmall';
185
-
186
- // @public
187
- export const StatuspageIcon: ({ appearance, label, size, testId, iconColor, iconGradientStart, iconGradientStop, textColor, }: LogoProps) => JSX.Element;
188
-
189
- // @public
190
- export const StatuspageLogo: ({ appearance, label, size, testId, iconColor, iconGradientStart, iconGradientStop, textColor, }: LogoProps) => JSX.Element;
191
-
192
- // @public
193
- export const StatuspageWordmark: ({ appearance, label, size, testId, iconColor, iconGradientStart, iconGradientStop, textColor, }: LogoProps) => JSX.Element;
194
-
195
- // @public @deprecated (undocumented)
196
- export const StrideIcon: ({ iconColor, iconGradientStart, iconGradientStop, size, testId, textColor, }: LogoProps) => JSX.Element;
197
-
198
- // @public @deprecated (undocumented)
199
- export const StrideLogo: ({ iconColor, iconGradientStart, iconGradientStop, size, testId, textColor, }: LogoProps) => JSX.Element;
200
-
201
- // @public @deprecated (undocumented)
202
- export const StrideWordmark: ({ iconColor, iconGradientStart, iconGradientStop, size, testId, textColor, }: LogoProps) => JSX.Element;
203
-
204
- // @public
205
- export const TrelloIcon: ({ appearance, label, size, testId, iconColor, iconGradientStart, iconGradientStop, textColor, }: LogoProps) => JSX.Element;
206
-
207
- // @public
208
- export const TrelloLogo: ({ appearance, label, size, testId, iconColor, iconGradientStart, iconGradientStop, textColor, }: LogoProps) => JSX.Element;
209
-
210
- // @public
211
- export const TrelloWordmark: ({ appearance, label, size, testId, iconColor, iconGradientStart, iconGradientStop, textColor, }: LogoProps) => JSX.Element;
212
-
213
- // @public
214
- type WithRequiredProperty<Type, Key extends keyof Type> = Type & {
215
- [Property in Key]-?: Type[Property];
216
- };
217
-
218
- // (No @packageDocumentation comment for this package)
219
-
220
- ```