@atlaskit/logo 20.1.2 → 20.2.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.
- package/CHANGELOG.md +7 -0
- package/dist/cjs/artifacts/logo-components/jira-coding-agent/icon.js +42 -0
- package/dist/cjs/artifacts/logo-components/jira-coding-agent/index.js +12 -0
- package/dist/cjs/artifacts/raw-icons/index.js +4 -2
- package/dist/cjs/create-feature-flagged-rovo-component.js +27 -0
- package/dist/cjs/index.js +12 -1
- package/dist/cjs/logo-config.js +5 -0
- package/dist/es2019/artifacts/logo-components/jira-coding-agent/icon.js +37 -0
- package/dist/es2019/artifacts/logo-components/jira-coding-agent/index.js +6 -0
- package/dist/es2019/artifacts/raw-icons/index.js +3 -1
- package/dist/es2019/create-feature-flagged-rovo-component.js +19 -0
- package/dist/es2019/index.js +11 -0
- package/dist/es2019/logo-config.js +5 -0
- package/dist/esm/artifacts/logo-components/jira-coding-agent/icon.js +34 -0
- package/dist/esm/artifacts/logo-components/jira-coding-agent/index.js +6 -0
- package/dist/esm/artifacts/raw-icons/index.js +3 -1
- package/dist/esm/create-feature-flagged-rovo-component.js +21 -0
- package/dist/esm/index.js +13 -1
- package/dist/esm/logo-config.js +5 -0
- package/dist/types/artifacts/logo-components/jira-coding-agent/icon.d.ts +17 -0
- package/dist/types/artifacts/logo-components/jira-coding-agent/index.d.ts +6 -0
- package/dist/types/artifacts/raw-icons/index.d.ts +2 -1
- package/dist/types/create-feature-flagged-rovo-component.d.ts +14 -0
- package/dist/types/index.d.ts +10 -0
- package/dist/types-ts4.5/artifacts/logo-components/jira-coding-agent/icon.d.ts +17 -0
- package/dist/types-ts4.5/artifacts/logo-components/jira-coding-agent/index.d.ts +6 -0
- package/dist/types-ts4.5/artifacts/raw-icons/index.d.ts +2 -1
- package/dist/types-ts4.5/create-feature-flagged-rovo-component.d.ts +14 -0
- package/dist/types-ts4.5/index.d.ts +10 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.JiraCodingAgentIcon = JiraCodingAgentIcon;
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
var _iconWrapper = require("../../../utils/icon-wrapper");
|
|
10
|
+
/**
|
|
11
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
12
|
+
* @codegen <<SignedSource::a4a56eeee9c8594a65687d2ede86d87f>>
|
|
13
|
+
* @codegenCommand yarn workspace @atlaskit/logo generate:components
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
// `height` is set to 100% to allow the SVG to scale with the parent element
|
|
17
|
+
var svg = "<svg height=\"100%\" viewBox=\"0 0 55 55\">\n <path fill=\"var(--tile-color,#1868db)\" d=\"M24.519.844a6.3 6.3 0 0 1 6.3 0l18.37 10.601a6.3 6.3 0 0 1 3.15 5.454V38.1c0 2.25-1.2 4.33-3.15 5.454l-18.37 10.601a6.3 6.3 0 0 1-6.3 0l-18.37-10.6a6.3 6.3 0 0 1-3.15-5.454V16.9c0-2.25 1.2-4.33 3.15-5.454z\"/>\n <path fill=\"var(--icon-color, white)\" d=\"M20.71 34.657h-2.705C13.926 34.657 11 32.16 11 28.5h14.543c.754 0 1.241.536 1.241 1.294v14.634c-3.635 0-6.074-2.944-6.074-7.05zm7.183-7.272h-2.705c-4.079 0-7.005-2.454-7.005-6.113h14.542c.754 0 1.286.491 1.286 1.25v14.634c-3.635 0-6.118-2.945-6.118-7.05zm7.227-7.228h-2.705c-4.079 0-7.005-2.498-7.005-6.157h14.543c.753 0 1.241.535 1.241 1.25v14.633c-3.636 0-6.074-2.944-6.074-7.049z\"/>\n</svg>\n";
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* __JiraCodingAgentIcon__
|
|
21
|
+
*
|
|
22
|
+
* A temporary component to represent the icon for Jira Coding Agent.
|
|
23
|
+
* @deprecated This component has been replaced by the component `JiraCodingAgentIcon` in `@atlaskit/logo`.
|
|
24
|
+
* Please migrate any usages of this temporary component, using the prop `shouldUseNewLogoDesign` where necessary
|
|
25
|
+
* to enable the new design by default.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
function JiraCodingAgentIcon(_ref) {
|
|
29
|
+
var size = _ref.size,
|
|
30
|
+
_ref$appearance = _ref.appearance,
|
|
31
|
+
appearance = _ref$appearance === void 0 ? 'brand' : _ref$appearance,
|
|
32
|
+
_ref$label = _ref.label,
|
|
33
|
+
label = _ref$label === void 0 ? 'Jira Coding Agent' : _ref$label,
|
|
34
|
+
testId = _ref.testId;
|
|
35
|
+
return /*#__PURE__*/_react.default.createElement(_iconWrapper.IconWrapper, {
|
|
36
|
+
svg: svg,
|
|
37
|
+
label: label,
|
|
38
|
+
appearance: appearance,
|
|
39
|
+
size: size,
|
|
40
|
+
testId: testId
|
|
41
|
+
});
|
|
42
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "JiraCodingAgentIcon", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function get() {
|
|
9
|
+
return _icon.JiraCodingAgentIcon;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
var _icon = require("./icon");
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.trelloIcon = exports.teamsIcon = exports.talentIcon = exports.studioIcon = exports.statuspageIcon = exports.searchIcon = exports.rovoIcon = exports.rovoHexIcon = exports.rovoDevIcon = exports.rovoDevAgentIcon = exports.rawIcons = exports.projectsIcon = exports.opsgenieIcon = exports.moreAtlassianAppsIcon = exports.loomInternalIcon = exports.loomIcon = exports.jiraServiceManagementIcon = exports.jiraServiceManagementDataCenterIcon = exports.jiraProductDiscoveryIcon = exports.jiraIcon = exports.jiraDataCenterIcon = exports.hubIcon = exports.homeIcon = exports.guardIcon = exports.guardDetectIcon = exports.goalsIcon = exports.focusIcon = exports.feedbackIcon = exports.dxIcon = exports.customerServiceManagementIcon = exports.customLinkIcon = exports.crowdIcon = exports.confluenceIcon = exports.confluenceDataCenterIcon = exports.compassIcon = exports.companyHubIcon = exports.chatIcon = exports.bitbucketIcon = exports.bitbucketDataCenterIcon = exports.bambooIcon = exports.assetsIcon = exports.analyticsIcon = exports.alignIcon = exports.adminIcon = void 0;
|
|
6
|
+
exports.trelloIcon = exports.teamsIcon = exports.talentIcon = exports.studioIcon = exports.statuspageIcon = exports.searchIcon = exports.rovoIcon = exports.rovoHexIcon = exports.rovoDevIcon = exports.rovoDevAgentIcon = exports.rawIcons = exports.projectsIcon = exports.opsgenieIcon = exports.moreAtlassianAppsIcon = exports.loomInternalIcon = exports.loomIcon = exports.jiraServiceManagementIcon = exports.jiraServiceManagementDataCenterIcon = exports.jiraProductDiscoveryIcon = exports.jiraIcon = exports.jiraDataCenterIcon = exports.jiraCodingAgentIcon = exports.hubIcon = exports.homeIcon = exports.guardIcon = exports.guardDetectIcon = exports.goalsIcon = exports.focusIcon = exports.feedbackIcon = exports.dxIcon = exports.customerServiceManagementIcon = exports.customLinkIcon = exports.crowdIcon = exports.confluenceIcon = exports.confluenceDataCenterIcon = exports.compassIcon = exports.companyHubIcon = exports.chatIcon = exports.bitbucketIcon = exports.bitbucketDataCenterIcon = exports.bambooIcon = exports.assetsIcon = exports.analyticsIcon = exports.alignIcon = exports.adminIcon = void 0;
|
|
7
7
|
/**
|
|
8
8
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
9
|
-
* @codegen <<SignedSource::
|
|
9
|
+
* @codegen <<SignedSource::b916b382d443b694c70482ec980866ec>>
|
|
10
10
|
* @codegenCommand yarn workspace @atlaskit/logo generate:components
|
|
11
11
|
*/
|
|
12
12
|
var adminIcon = exports.adminIcon = "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24'> <path fill='%23dddee1' d='M0 6a6 6 0 0 1 6-6h12a6 6 0 0 1 6 6v12a6 6 0 0 1-6 6H6a6 6 0 0 1-6-6z'/> <path fill='%23101214' fill-rule='evenodd' d='M10.444 5h3.111l.98 2.61 2.75-.457 1.555 2.694L17.07 12l1.77 2.153-1.555 2.694-2.75-.457-.979 2.61h-3.11l-.98-2.61-2.75.457-1.555-2.694L6.931 12 5.16 9.847l1.555-2.694 2.75.457zM12 14.625a2.625 2.625 0 1 0 0-5.25 2.625 2.625 0 0 0 0 5.25' clip-rule='evenodd'/> </svg> ";
|
|
@@ -32,6 +32,7 @@ var guardDetectIcon = exports.guardDetectIcon = "data:image/svg+xml,<svg xmlns='
|
|
|
32
32
|
var guardIcon = exports.guardIcon = "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24'> <path fill='%23dddee1' d='M0 6a6 6 0 0 1 6-6h12a6 6 0 0 1 6 6v12a6 6 0 0 1-6 6H6a6 6 0 0 1-6-6z'/> <path fill='%23101214' d='M5.49 10.87h13.02c.374 0 .574-.2.574-.574V5.907c0-.374-.2-.574-.574-.574h-2.744c-.374 0-.573.2-.573.574v2.22h-1.247v-2.22c0-.374-.2-.574-.574-.574h-2.743c-.374 0-.574.2-.574.574v2.22H8.807v-2.22c0-.374-.2-.574-.573-.574H5.49c-.374 0-.573.2-.573.574v4.39c0 .373.2.573.573.573m.225 3.84a8.7 8.7 0 0 1-.5-2.493c-.024-.324.126-.499.475-.499h12.62c.349 0 .498.15.498.449a8.2 8.2 0 0 1-.523 2.544c-.15.399-.375.573-.799.573H6.513c-.424 0-.649-.174-.798-.573m11.547 2.07C16.065 18.253 14.095 19.2 12 19.2s-4.116-.948-5.288-2.42c-.299-.398-.15-.648.15-.648h10.275c.3 0 .45.25.125.649'/> </svg> ";
|
|
33
33
|
var homeIcon = exports.homeIcon = "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24'> <path fill='%23dddee1' d='M0 6a6 6 0 0 1 6-6h12a6 6 0 0 1 6 6v12a6 6 0 0 1-6 6H6a6 6 0 0 1-6-6z'/> <path fill='%23101214' d='M5.875 10.688v7.437h4.375V13.75h3.5v4.375h4.375v-7.437L12 5z'/> </svg> ";
|
|
34
34
|
var hubIcon = exports.hubIcon = "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 32 32'> <g clip-path='url(%23clip0_95164_16219)'> <path fill='%23dddee1' d='M0 8a8 8 0 0 1 8-8h16a8 8 0 0 1 8 8v16a8 8 0 0 1-8 8H8a8 8 0 0 1-8-8z'/> <g clip-path='url(%23clip1_95164_16219)'> <path fill='%23101214' fill-rule='evenodd' d='M9 25.333V6.667h14v18.666h-5.25V21.25h-3.5v4.083zm3.5-14.583h2.333V9H12.5zm4.667 0H19.5V9h-2.333zm-2.334 4.083H12.5v-1.75h2.333zM12.5 18.916h2.333v-1.75H12.5zm7-4.083h-2.333v-1.75H19.5zm-2.333 4.083H19.5v-1.75h-2.333z' clip-rule='evenodd'/> </g> </g> <defs> <clipPath id='clip0_95164_16219'> <path fill='%23fff' d='M0 0h32v32H0z'/> </clipPath> <clipPath id='clip1_95164_16219'> <path fill='%23fff' d='M2 2h28v28H2z'/> </clipPath> </defs> </svg> ";
|
|
35
|
+
var jiraCodingAgentIcon = exports.jiraCodingAgentIcon = "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 55 55'> <path fill='%231868db' d='M24.519.844a6.3 6.3 0 0 1 6.3 0l18.37 10.601a6.3 6.3 0 0 1 3.15 5.454V38.1c0 2.25-1.2 4.33-3.15 5.454l-18.37 10.601a6.3 6.3 0 0 1-6.3 0l-18.37-10.6a6.3 6.3 0 0 1-3.15-5.454V16.9c0-2.25 1.2-4.33 3.15-5.454z'/> <path fill='%23fff' d='M20.71 34.657h-2.705C13.926 34.657 11 32.16 11 28.5h14.543c.754 0 1.241.536 1.241 1.294v14.634c-3.635 0-6.074-2.944-6.074-7.05zm7.183-7.272h-2.705c-4.079 0-7.005-2.454-7.005-6.113h14.542c.754 0 1.286.491 1.286 1.25v14.634c-3.635 0-6.118-2.945-6.118-7.05zm7.227-7.228h-2.705c-4.079 0-7.005-2.498-7.005-6.157h14.543c.753 0 1.241.535 1.241 1.25v14.633c-3.636 0-6.074-2.944-6.074-7.049z'/> </svg> ";
|
|
35
36
|
var jiraDataCenterIcon = exports.jiraDataCenterIcon = "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24'> <path fill='%23fff' d='M6 .5h12A5.5 5.5 0 0 1 23.5 6v12a5.5 5.5 0 0 1-5.5 5.5H6A5.5 5.5 0 0 1 .5 18V6A5.5 5.5 0 0 1 6 .5'/> <path stroke='%23dddee1' d='M6 .5h12A5.5 5.5 0 0 1 23.5 6v12a5.5 5.5 0 0 1-5.5 5.5H6A5.5 5.5 0 0 1 .5 18V6A5.5 5.5 0 0 1 6 .5Z'/> <path fill='%231868db' d='M8.974 15.523H7.62c-2.04 0-3.502-1.249-3.502-3.078h7.271c.377 0 .62.268.62.647v7.317c-1.817 0-3.036-1.472-3.036-3.525zm3.591-3.636h-1.352c-2.04 0-3.503-1.227-3.503-3.056h7.272c.376 0 .642.245.642.625v7.317c-1.817 0-3.059-1.473-3.059-3.525zm3.614-3.614h-1.353c-2.04 0-3.502-1.249-3.502-3.078h7.271c.377 0 .62.268.62.624v7.318c-1.817 0-3.036-1.473-3.036-3.525z'/> </svg> ";
|
|
36
37
|
var jiraProductDiscoveryIcon = exports.jiraProductDiscoveryIcon = "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24'> <path fill='%23c97cf4' d='M0 6a6 6 0 0 1 6-6h12a6 6 0 0 1 6 6v12a6 6 0 0 1-6 6H6a6 6 0 0 1-6-6z'/> <path fill='%23101214' d='M13.467 4.882a9.47 9.47 0 0 0 5.422 0c.159-.035.265.07.23.229-.513 1.85-.513 3.558 0 5.408.035.14-.072.264-.23.211a10.1 10.1 0 0 0-5.422 0c-.142.053-.265-.07-.212-.211.476-1.85.476-3.559 0-5.408-.053-.159.07-.264.212-.23m.724 6.553v.3c0 1.39-.972 2.412-2.173 2.412a2.153 2.153 0 0 1-2.154-2.166c0-1.198.971-2.15 2.331-2.15h.353V5.62c-.176-.017-.353-.017-.53-.017a6.387 6.387 0 0 0-6.393 6.394 6.37 6.37 0 0 0 6.393 6.377c3.533 0 6.411-2.854 6.411-6.377v-.563z'/> </svg> ";
|
|
37
38
|
var jiraServiceManagementDataCenterIcon = exports.jiraServiceManagementDataCenterIcon = "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 25 24'> <path fill='%23fff' d='M6.417.5h12a5.5 5.5 0 0 1 5.5 5.5v12a5.5 5.5 0 0 1-5.5 5.5h-12a5.5 5.5 0 0 1-5.5-5.5V6a5.5 5.5 0 0 1 5.5-5.5'/> <path stroke='%23dddee1' d='M6.417.5h12a5.5 5.5 0 0 1 5.5 5.5v12a5.5 5.5 0 0 1-5.5 5.5h-12a5.5 5.5 0 0 1-5.5-5.5V6a5.5 5.5 0 0 1 5.5-5.5Z'/> <path fill='%231868db' d='M14.117 10.203h4.464c.67 0 .899.637.49 1.144l-6.98 8.616c-2.257-1.798-2.044-4.643-.393-6.72zm-3.45 3.433H6.205c-.67 0-.899-.638-.49-1.144l6.981-8.617c2.256 1.799 2.011 4.61.376 6.704z'/> </svg> ";
|
|
@@ -76,6 +77,7 @@ var rawIcons = exports.rawIcons = {
|
|
|
76
77
|
guard: guardIcon,
|
|
77
78
|
home: homeIcon,
|
|
78
79
|
hub: hubIcon,
|
|
80
|
+
jiraCodingAgent: jiraCodingAgentIcon,
|
|
79
81
|
jiraDataCenter: jiraDataCenterIcon,
|
|
80
82
|
jiraProductDiscovery: jiraProductDiscoveryIcon,
|
|
81
83
|
jiraServiceManagementDataCenter: jiraServiceManagementDataCenterIcon,
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.createFeatureFlaggedRovoComponent = void 0;
|
|
8
|
+
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
9
|
+
var _react = _interopRequireDefault(require("react"));
|
|
10
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
11
|
+
var _createFeatureFlaggedServiceCollectionComponent = require("./create-feature-flagged-service-collection-component");
|
|
12
|
+
var _tempSizeWrapper = require("./temp-size-wrapper");
|
|
13
|
+
var _excluded = ["shouldUseHexLogo"];
|
|
14
|
+
var createFeatureFlaggedRovoComponent = exports.createFeatureFlaggedRovoComponent = function createFeatureFlaggedRovoComponent(LegacyComponent, NewComponent, NewHexComponent) {
|
|
15
|
+
var RovoHexWrapped = (0, _tempSizeWrapper.tempSizeWrapper)(NewHexComponent);
|
|
16
|
+
var RovoServiceCollectionWrapped = (0, _createFeatureFlaggedServiceCollectionComponent.createFeatureFlaggedServiceCollectionComponent)(LegacyComponent, NewComponent);
|
|
17
|
+
return function (_ref) {
|
|
18
|
+
var shouldUseHexLogo = _ref.shouldUseHexLogo,
|
|
19
|
+
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
20
|
+
// Return hex logo if feature flag enabled. Otherwise revert to old set of components
|
|
21
|
+
if ((0, _platformFeatureFlags.fg)('platform-logo-rebrand-rovo-hex') || shouldUseHexLogo) {
|
|
22
|
+
return /*#__PURE__*/_react.default.createElement(RovoHexWrapped, props);
|
|
23
|
+
} else {
|
|
24
|
+
return /*#__PURE__*/_react.default.createElement(RovoServiceCollectionWrapped, props);
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
};
|
package/dist/cjs/index.js
CHANGED
|
@@ -53,7 +53,7 @@ Object.defineProperty(exports, "AtlassianMarketplaceLogo", {
|
|
|
53
53
|
return _atlassianMarketplace.AtlassianMarketplaceLogo;
|
|
54
54
|
}
|
|
55
55
|
});
|
|
56
|
-
exports.JiraServiceManagementLogo = exports.JiraServiceManagementIcon = exports.JiraServiceManagementDataCenterLogo = exports.JiraServiceManagementDataCenterIcon = exports.JiraProductDiscoveryLogo = exports.JiraProductDiscoveryIcon = exports.JiraLogo = exports.JiraIcon = exports.JiraDataCenterLogo = exports.JiraDataCenterIcon = exports.JiraAlignLogo = exports.JiraAlignIcon = exports.HubLogo = exports.HubIcon = exports.HomeLogo = exports.HomeIcon = exports.GuardLogo = exports.GuardIcon = exports.GoalsLogo = exports.GoalsIcon = exports.FocusLogo = exports.FocusIcon = exports.FeedbackLogo = exports.FeedbackIcon = exports.DxIcon = exports.CustomerServiceManagementLogo = exports.CustomerServiceManagementIcon = exports.CrowdLogo = exports.CrowdIcon = exports.ConfluenceLogo = exports.ConfluenceIcon = exports.ConfluenceDataCenterLogo = exports.ConfluenceDataCenterIcon = exports.CompassLogo = exports.CompassIcon = exports.ChatLogo = exports.ChatIcon = exports.BitbucketLogo = exports.BitbucketIcon = exports.BitbucketDataCenterLogo = exports.BitbucketDataCenterIcon = exports.BambooLogo = exports.BambooIcon = void 0;
|
|
56
|
+
exports.JiraServiceManagementLogo = exports.JiraServiceManagementIcon = exports.JiraServiceManagementDataCenterLogo = exports.JiraServiceManagementDataCenterIcon = exports.JiraProductDiscoveryLogo = exports.JiraProductDiscoveryIcon = exports.JiraLogo = exports.JiraIcon = exports.JiraDataCenterLogo = exports.JiraDataCenterIcon = exports.JiraCodingAgentIcon = exports.JiraAlignLogo = exports.JiraAlignIcon = exports.HubLogo = exports.HubIcon = exports.HomeLogo = exports.HomeIcon = exports.GuardLogo = exports.GuardIcon = exports.GoalsLogo = exports.GoalsIcon = exports.FocusLogo = exports.FocusIcon = exports.FeedbackLogo = exports.FeedbackIcon = exports.DxIcon = exports.CustomerServiceManagementLogo = exports.CustomerServiceManagementIcon = exports.CrowdLogo = exports.CrowdIcon = exports.ConfluenceLogo = exports.ConfluenceIcon = exports.ConfluenceDataCenterLogo = exports.ConfluenceDataCenterIcon = exports.CompassLogo = exports.CompassIcon = exports.ChatLogo = exports.ChatIcon = exports.BitbucketLogo = exports.BitbucketIcon = exports.BitbucketDataCenterLogo = exports.BitbucketDataCenterIcon = exports.BambooLogo = exports.BambooIcon = void 0;
|
|
57
57
|
Object.defineProperty(exports, "JiraSoftwareIcon", {
|
|
58
58
|
enumerable: true,
|
|
59
59
|
get: function get() {
|
|
@@ -100,6 +100,7 @@ var _guard = require("./artifacts/logo-components/guard");
|
|
|
100
100
|
var _home = require("./artifacts/logo-components/home");
|
|
101
101
|
var _hub = require("./artifacts/logo-components/hub");
|
|
102
102
|
var _jira = require("./artifacts/logo-components/jira");
|
|
103
|
+
var _jiraCodingAgent = require("./artifacts/logo-components/jira-coding-agent");
|
|
103
104
|
var _jiraDataCenter = require("./artifacts/logo-components/jira-data-center");
|
|
104
105
|
var _jiraProductDiscovery = require("./artifacts/logo-components/jira-product-discovery");
|
|
105
106
|
var _jiraServiceManagement = require("./artifacts/logo-components/jira-service-management");
|
|
@@ -389,6 +390,16 @@ var RovoDevAgentIcon = exports.RovoDevAgentIcon = (0, _tempSizeWrapper.tempSizeW
|
|
|
389
390
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
390
391
|
*/
|
|
391
392
|
var RovoDevAgentLogo = exports.RovoDevAgentLogo = (0, _tempSizeWrapper.tempSizeWrapper)(_rovoDevAgent.RovoDevAgentLogoCS);
|
|
393
|
+
/**
|
|
394
|
+
* __Jira Coding Agent icon__
|
|
395
|
+
*
|
|
396
|
+
* The Jira Coding Agent icon without an accompanying wordmark.
|
|
397
|
+
*
|
|
398
|
+
* - [Examples](https://atlassian.design/components/logo/examples)
|
|
399
|
+
* - [Code](https://atlassian.design/components/logo/code)
|
|
400
|
+
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
401
|
+
*/
|
|
402
|
+
var JiraCodingAgentIcon = exports.JiraCodingAgentIcon = (0, _tempSizeWrapper.tempSizeWrapper)(_jiraCodingAgent.JiraCodingAgentIcon);
|
|
392
403
|
/**
|
|
393
404
|
* __Search icon__
|
|
394
405
|
*
|
package/dist/cjs/logo-config.js
CHANGED
|
@@ -94,6 +94,11 @@ var logoDocsSchema = exports.logoDocsSchema = [
|
|
|
94
94
|
name: 'loom-attribution',
|
|
95
95
|
type: 'migration',
|
|
96
96
|
category: 'app'
|
|
97
|
+
}, {
|
|
98
|
+
name: 'jira-coding-agent',
|
|
99
|
+
type: 'new',
|
|
100
|
+
category: 'agent',
|
|
101
|
+
skipLogo: true
|
|
97
102
|
}, {
|
|
98
103
|
name: 'rovo',
|
|
99
104
|
type: 'rovo-hex',
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
* @codegen <<SignedSource::a4a56eeee9c8594a65687d2ede86d87f>>
|
|
4
|
+
* @codegenCommand yarn workspace @atlaskit/logo generate:components
|
|
5
|
+
*/
|
|
6
|
+
import React from 'react';
|
|
7
|
+
import { IconWrapper } from '../../../utils/icon-wrapper';
|
|
8
|
+
// `height` is set to 100% to allow the SVG to scale with the parent element
|
|
9
|
+
const svg = `<svg height="100%" viewBox="0 0 55 55">
|
|
10
|
+
<path fill="var(--tile-color,#1868db)" d="M24.519.844a6.3 6.3 0 0 1 6.3 0l18.37 10.601a6.3 6.3 0 0 1 3.15 5.454V38.1c0 2.25-1.2 4.33-3.15 5.454l-18.37 10.601a6.3 6.3 0 0 1-6.3 0l-18.37-10.6a6.3 6.3 0 0 1-3.15-5.454V16.9c0-2.25 1.2-4.33 3.15-5.454z"/>
|
|
11
|
+
<path fill="var(--icon-color, white)" d="M20.71 34.657h-2.705C13.926 34.657 11 32.16 11 28.5h14.543c.754 0 1.241.536 1.241 1.294v14.634c-3.635 0-6.074-2.944-6.074-7.05zm7.183-7.272h-2.705c-4.079 0-7.005-2.454-7.005-6.113h14.542c.754 0 1.286.491 1.286 1.25v14.634c-3.635 0-6.118-2.945-6.118-7.05zm7.227-7.228h-2.705c-4.079 0-7.005-2.498-7.005-6.157h14.543c.753 0 1.241.535 1.241 1.25v14.633c-3.636 0-6.074-2.944-6.074-7.049z"/>
|
|
12
|
+
</svg>
|
|
13
|
+
`;
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* __JiraCodingAgentIcon__
|
|
17
|
+
*
|
|
18
|
+
* A temporary component to represent the icon for Jira Coding Agent.
|
|
19
|
+
* @deprecated This component has been replaced by the component `JiraCodingAgentIcon` in `@atlaskit/logo`.
|
|
20
|
+
* Please migrate any usages of this temporary component, using the prop `shouldUseNewLogoDesign` where necessary
|
|
21
|
+
* to enable the new design by default.
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
export function JiraCodingAgentIcon({
|
|
25
|
+
size,
|
|
26
|
+
appearance = 'brand',
|
|
27
|
+
label = 'Jira Coding Agent',
|
|
28
|
+
testId
|
|
29
|
+
}) {
|
|
30
|
+
return /*#__PURE__*/React.createElement(IconWrapper, {
|
|
31
|
+
svg: svg,
|
|
32
|
+
label: label,
|
|
33
|
+
appearance: appearance,
|
|
34
|
+
size: size,
|
|
35
|
+
testId: testId
|
|
36
|
+
});
|
|
37
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
* @codegen <<SignedSource::d3a68d35d166e266b70952ebcfb8865b>>
|
|
4
|
+
* @codegenCommand yarn workspace @atlaskit/logo generate:components
|
|
5
|
+
*/
|
|
6
|
+
export { JiraCodingAgentIcon } from './icon';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::b916b382d443b694c70482ec980866ec>>
|
|
4
4
|
* @codegenCommand yarn workspace @atlaskit/logo generate:components
|
|
5
5
|
*/
|
|
6
6
|
export const adminIcon = "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24'> <path fill='%23dddee1' d='M0 6a6 6 0 0 1 6-6h12a6 6 0 0 1 6 6v12a6 6 0 0 1-6 6H6a6 6 0 0 1-6-6z'/> <path fill='%23101214' fill-rule='evenodd' d='M10.444 5h3.111l.98 2.61 2.75-.457 1.555 2.694L17.07 12l1.77 2.153-1.555 2.694-2.75-.457-.979 2.61h-3.11l-.98-2.61-2.75.457-1.555-2.694L6.931 12 5.16 9.847l1.555-2.694 2.75.457zM12 14.625a2.625 2.625 0 1 0 0-5.25 2.625 2.625 0 0 0 0 5.25' clip-rule='evenodd'/> </svg> ";
|
|
@@ -26,6 +26,7 @@ export const guardDetectIcon = "data:image/svg+xml,<svg xmlns='http://www.w3.org
|
|
|
26
26
|
export const guardIcon = "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24'> <path fill='%23dddee1' d='M0 6a6 6 0 0 1 6-6h12a6 6 0 0 1 6 6v12a6 6 0 0 1-6 6H6a6 6 0 0 1-6-6z'/> <path fill='%23101214' d='M5.49 10.87h13.02c.374 0 .574-.2.574-.574V5.907c0-.374-.2-.574-.574-.574h-2.744c-.374 0-.573.2-.573.574v2.22h-1.247v-2.22c0-.374-.2-.574-.574-.574h-2.743c-.374 0-.574.2-.574.574v2.22H8.807v-2.22c0-.374-.2-.574-.573-.574H5.49c-.374 0-.573.2-.573.574v4.39c0 .373.2.573.573.573m.225 3.84a8.7 8.7 0 0 1-.5-2.493c-.024-.324.126-.499.475-.499h12.62c.349 0 .498.15.498.449a8.2 8.2 0 0 1-.523 2.544c-.15.399-.375.573-.799.573H6.513c-.424 0-.649-.174-.798-.573m11.547 2.07C16.065 18.253 14.095 19.2 12 19.2s-4.116-.948-5.288-2.42c-.299-.398-.15-.648.15-.648h10.275c.3 0 .45.25.125.649'/> </svg> ";
|
|
27
27
|
export const homeIcon = "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24'> <path fill='%23dddee1' d='M0 6a6 6 0 0 1 6-6h12a6 6 0 0 1 6 6v12a6 6 0 0 1-6 6H6a6 6 0 0 1-6-6z'/> <path fill='%23101214' d='M5.875 10.688v7.437h4.375V13.75h3.5v4.375h4.375v-7.437L12 5z'/> </svg> ";
|
|
28
28
|
export const hubIcon = "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 32 32'> <g clip-path='url(%23clip0_95164_16219)'> <path fill='%23dddee1' d='M0 8a8 8 0 0 1 8-8h16a8 8 0 0 1 8 8v16a8 8 0 0 1-8 8H8a8 8 0 0 1-8-8z'/> <g clip-path='url(%23clip1_95164_16219)'> <path fill='%23101214' fill-rule='evenodd' d='M9 25.333V6.667h14v18.666h-5.25V21.25h-3.5v4.083zm3.5-14.583h2.333V9H12.5zm4.667 0H19.5V9h-2.333zm-2.334 4.083H12.5v-1.75h2.333zM12.5 18.916h2.333v-1.75H12.5zm7-4.083h-2.333v-1.75H19.5zm-2.333 4.083H19.5v-1.75h-2.333z' clip-rule='evenodd'/> </g> </g> <defs> <clipPath id='clip0_95164_16219'> <path fill='%23fff' d='M0 0h32v32H0z'/> </clipPath> <clipPath id='clip1_95164_16219'> <path fill='%23fff' d='M2 2h28v28H2z'/> </clipPath> </defs> </svg> ";
|
|
29
|
+
export const jiraCodingAgentIcon = "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 55 55'> <path fill='%231868db' d='M24.519.844a6.3 6.3 0 0 1 6.3 0l18.37 10.601a6.3 6.3 0 0 1 3.15 5.454V38.1c0 2.25-1.2 4.33-3.15 5.454l-18.37 10.601a6.3 6.3 0 0 1-6.3 0l-18.37-10.6a6.3 6.3 0 0 1-3.15-5.454V16.9c0-2.25 1.2-4.33 3.15-5.454z'/> <path fill='%23fff' d='M20.71 34.657h-2.705C13.926 34.657 11 32.16 11 28.5h14.543c.754 0 1.241.536 1.241 1.294v14.634c-3.635 0-6.074-2.944-6.074-7.05zm7.183-7.272h-2.705c-4.079 0-7.005-2.454-7.005-6.113h14.542c.754 0 1.286.491 1.286 1.25v14.634c-3.635 0-6.118-2.945-6.118-7.05zm7.227-7.228h-2.705c-4.079 0-7.005-2.498-7.005-6.157h14.543c.753 0 1.241.535 1.241 1.25v14.633c-3.636 0-6.074-2.944-6.074-7.049z'/> </svg> ";
|
|
29
30
|
export const jiraDataCenterIcon = "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24'> <path fill='%23fff' d='M6 .5h12A5.5 5.5 0 0 1 23.5 6v12a5.5 5.5 0 0 1-5.5 5.5H6A5.5 5.5 0 0 1 .5 18V6A5.5 5.5 0 0 1 6 .5'/> <path stroke='%23dddee1' d='M6 .5h12A5.5 5.5 0 0 1 23.5 6v12a5.5 5.5 0 0 1-5.5 5.5H6A5.5 5.5 0 0 1 .5 18V6A5.5 5.5 0 0 1 6 .5Z'/> <path fill='%231868db' d='M8.974 15.523H7.62c-2.04 0-3.502-1.249-3.502-3.078h7.271c.377 0 .62.268.62.647v7.317c-1.817 0-3.036-1.472-3.036-3.525zm3.591-3.636h-1.352c-2.04 0-3.503-1.227-3.503-3.056h7.272c.376 0 .642.245.642.625v7.317c-1.817 0-3.059-1.473-3.059-3.525zm3.614-3.614h-1.353c-2.04 0-3.502-1.249-3.502-3.078h7.271c.377 0 .62.268.62.624v7.318c-1.817 0-3.036-1.473-3.036-3.525z'/> </svg> ";
|
|
30
31
|
export const jiraProductDiscoveryIcon = "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24'> <path fill='%23c97cf4' d='M0 6a6 6 0 0 1 6-6h12a6 6 0 0 1 6 6v12a6 6 0 0 1-6 6H6a6 6 0 0 1-6-6z'/> <path fill='%23101214' d='M13.467 4.882a9.47 9.47 0 0 0 5.422 0c.159-.035.265.07.23.229-.513 1.85-.513 3.558 0 5.408.035.14-.072.264-.23.211a10.1 10.1 0 0 0-5.422 0c-.142.053-.265-.07-.212-.211.476-1.85.476-3.559 0-5.408-.053-.159.07-.264.212-.23m.724 6.553v.3c0 1.39-.972 2.412-2.173 2.412a2.153 2.153 0 0 1-2.154-2.166c0-1.198.971-2.15 2.331-2.15h.353V5.62c-.176-.017-.353-.017-.53-.017a6.387 6.387 0 0 0-6.393 6.394 6.37 6.37 0 0 0 6.393 6.377c3.533 0 6.411-2.854 6.411-6.377v-.563z'/> </svg> ";
|
|
31
32
|
export const jiraServiceManagementDataCenterIcon = "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 25 24'> <path fill='%23fff' d='M6.417.5h12a5.5 5.5 0 0 1 5.5 5.5v12a5.5 5.5 0 0 1-5.5 5.5h-12a5.5 5.5 0 0 1-5.5-5.5V6a5.5 5.5 0 0 1 5.5-5.5'/> <path stroke='%23dddee1' d='M6.417.5h12a5.5 5.5 0 0 1 5.5 5.5v12a5.5 5.5 0 0 1-5.5 5.5h-12a5.5 5.5 0 0 1-5.5-5.5V6a5.5 5.5 0 0 1 5.5-5.5Z'/> <path fill='%231868db' d='M14.117 10.203h4.464c.67 0 .899.637.49 1.144l-6.98 8.616c-2.257-1.798-2.044-4.643-.393-6.72zm-3.45 3.433H6.205c-.67 0-.899-.638-.49-1.144l6.981-8.617c2.256 1.799 2.011 4.61.376 6.704z'/> </svg> ";
|
|
@@ -70,6 +71,7 @@ export const rawIcons = {
|
|
|
70
71
|
guard: guardIcon,
|
|
71
72
|
home: homeIcon,
|
|
72
73
|
hub: hubIcon,
|
|
74
|
+
jiraCodingAgent: jiraCodingAgentIcon,
|
|
73
75
|
jiraDataCenter: jiraDataCenterIcon,
|
|
74
76
|
jiraProductDiscovery: jiraProductDiscoveryIcon,
|
|
75
77
|
jiraServiceManagementDataCenter: jiraServiceManagementDataCenterIcon,
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
3
|
+
import { createFeatureFlaggedServiceCollectionComponent } from './create-feature-flagged-service-collection-component';
|
|
4
|
+
import { tempSizeWrapper } from './temp-size-wrapper';
|
|
5
|
+
export const createFeatureFlaggedRovoComponent = (LegacyComponent, NewComponent, NewHexComponent) => {
|
|
6
|
+
const RovoHexWrapped = tempSizeWrapper(NewHexComponent);
|
|
7
|
+
const RovoServiceCollectionWrapped = createFeatureFlaggedServiceCollectionComponent(LegacyComponent, NewComponent);
|
|
8
|
+
return ({
|
|
9
|
+
shouldUseHexLogo,
|
|
10
|
+
...props
|
|
11
|
+
}) => {
|
|
12
|
+
// Return hex logo if feature flag enabled. Otherwise revert to old set of components
|
|
13
|
+
if (fg('platform-logo-rebrand-rovo-hex') || shouldUseHexLogo) {
|
|
14
|
+
return /*#__PURE__*/React.createElement(RovoHexWrapped, props);
|
|
15
|
+
} else {
|
|
16
|
+
return /*#__PURE__*/React.createElement(RovoServiceCollectionWrapped, props);
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
};
|
package/dist/es2019/index.js
CHANGED
|
@@ -19,6 +19,7 @@ import { GuardIcon as NewGuardIcon, GuardLogoCS as NewGuardLogo } from './artifa
|
|
|
19
19
|
import { HomeIcon as NewHomeIcon, HomeLogoCS as NewHomeLogo } from './artifacts/logo-components/home';
|
|
20
20
|
import { HubIcon as NewHubIcon, HubLogoCS as NewHubLogo } from './artifacts/logo-components/hub';
|
|
21
21
|
import { JiraIcon as NewJiraIcon, JiraLogoCS as NewJiraLogo } from './artifacts/logo-components/jira';
|
|
22
|
+
import { JiraCodingAgentIcon as NewJiraCodingAgentIcon } from './artifacts/logo-components/jira-coding-agent';
|
|
22
23
|
import { JiraDataCenterIcon as NewJiraDataCenterIcon, JiraDataCenterLogoCS as NewJiraDataCenterLogo } from './artifacts/logo-components/jira-data-center';
|
|
23
24
|
import { JiraProductDiscoveryIcon as NewJPDIcon, JiraProductDiscoveryLogoCS as NewJPDLogo } from './artifacts/logo-components/jira-product-discovery';
|
|
24
25
|
import { JiraServiceManagementIcon as NewJSMIcon, JiraServiceManagementLogoCS as NewJSMLogo } from './artifacts/logo-components/jira-service-management';
|
|
@@ -309,6 +310,16 @@ export const RovoDevAgentIcon = tempSizeWrapper(NewRovoDevAgentIcon);
|
|
|
309
310
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
310
311
|
*/
|
|
311
312
|
export const RovoDevAgentLogo = tempSizeWrapper(NewRovoDevAgentLogo);
|
|
313
|
+
/**
|
|
314
|
+
* __Jira Coding Agent icon__
|
|
315
|
+
*
|
|
316
|
+
* The Jira Coding Agent icon without an accompanying wordmark.
|
|
317
|
+
*
|
|
318
|
+
* - [Examples](https://atlassian.design/components/logo/examples)
|
|
319
|
+
* - [Code](https://atlassian.design/components/logo/code)
|
|
320
|
+
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
321
|
+
*/
|
|
322
|
+
export const JiraCodingAgentIcon = tempSizeWrapper(NewJiraCodingAgentIcon);
|
|
312
323
|
/**
|
|
313
324
|
* __Search icon__
|
|
314
325
|
*
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
* @codegen <<SignedSource::a4a56eeee9c8594a65687d2ede86d87f>>
|
|
4
|
+
* @codegenCommand yarn workspace @atlaskit/logo generate:components
|
|
5
|
+
*/
|
|
6
|
+
import React from 'react';
|
|
7
|
+
import { IconWrapper } from '../../../utils/icon-wrapper';
|
|
8
|
+
// `height` is set to 100% to allow the SVG to scale with the parent element
|
|
9
|
+
var svg = "<svg height=\"100%\" viewBox=\"0 0 55 55\">\n <path fill=\"var(--tile-color,#1868db)\" d=\"M24.519.844a6.3 6.3 0 0 1 6.3 0l18.37 10.601a6.3 6.3 0 0 1 3.15 5.454V38.1c0 2.25-1.2 4.33-3.15 5.454l-18.37 10.601a6.3 6.3 0 0 1-6.3 0l-18.37-10.6a6.3 6.3 0 0 1-3.15-5.454V16.9c0-2.25 1.2-4.33 3.15-5.454z\"/>\n <path fill=\"var(--icon-color, white)\" d=\"M20.71 34.657h-2.705C13.926 34.657 11 32.16 11 28.5h14.543c.754 0 1.241.536 1.241 1.294v14.634c-3.635 0-6.074-2.944-6.074-7.05zm7.183-7.272h-2.705c-4.079 0-7.005-2.454-7.005-6.113h14.542c.754 0 1.286.491 1.286 1.25v14.634c-3.635 0-6.118-2.945-6.118-7.05zm7.227-7.228h-2.705c-4.079 0-7.005-2.498-7.005-6.157h14.543c.753 0 1.241.535 1.241 1.25v14.633c-3.636 0-6.074-2.944-6.074-7.049z\"/>\n</svg>\n";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* __JiraCodingAgentIcon__
|
|
13
|
+
*
|
|
14
|
+
* A temporary component to represent the icon for Jira Coding Agent.
|
|
15
|
+
* @deprecated This component has been replaced by the component `JiraCodingAgentIcon` in `@atlaskit/logo`.
|
|
16
|
+
* Please migrate any usages of this temporary component, using the prop `shouldUseNewLogoDesign` where necessary
|
|
17
|
+
* to enable the new design by default.
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
export function JiraCodingAgentIcon(_ref) {
|
|
21
|
+
var size = _ref.size,
|
|
22
|
+
_ref$appearance = _ref.appearance,
|
|
23
|
+
appearance = _ref$appearance === void 0 ? 'brand' : _ref$appearance,
|
|
24
|
+
_ref$label = _ref.label,
|
|
25
|
+
label = _ref$label === void 0 ? 'Jira Coding Agent' : _ref$label,
|
|
26
|
+
testId = _ref.testId;
|
|
27
|
+
return /*#__PURE__*/React.createElement(IconWrapper, {
|
|
28
|
+
svg: svg,
|
|
29
|
+
label: label,
|
|
30
|
+
appearance: appearance,
|
|
31
|
+
size: size,
|
|
32
|
+
testId: testId
|
|
33
|
+
});
|
|
34
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
* @codegen <<SignedSource::d3a68d35d166e266b70952ebcfb8865b>>
|
|
4
|
+
* @codegenCommand yarn workspace @atlaskit/logo generate:components
|
|
5
|
+
*/
|
|
6
|
+
export { JiraCodingAgentIcon } from './icon';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::b916b382d443b694c70482ec980866ec>>
|
|
4
4
|
* @codegenCommand yarn workspace @atlaskit/logo generate:components
|
|
5
5
|
*/
|
|
6
6
|
export var adminIcon = "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24'> <path fill='%23dddee1' d='M0 6a6 6 0 0 1 6-6h12a6 6 0 0 1 6 6v12a6 6 0 0 1-6 6H6a6 6 0 0 1-6-6z'/> <path fill='%23101214' fill-rule='evenodd' d='M10.444 5h3.111l.98 2.61 2.75-.457 1.555 2.694L17.07 12l1.77 2.153-1.555 2.694-2.75-.457-.979 2.61h-3.11l-.98-2.61-2.75.457-1.555-2.694L6.931 12 5.16 9.847l1.555-2.694 2.75.457zM12 14.625a2.625 2.625 0 1 0 0-5.25 2.625 2.625 0 0 0 0 5.25' clip-rule='evenodd'/> </svg> ";
|
|
@@ -26,6 +26,7 @@ export var guardDetectIcon = "data:image/svg+xml,<svg xmlns='http://www.w3.org/2
|
|
|
26
26
|
export var guardIcon = "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24'> <path fill='%23dddee1' d='M0 6a6 6 0 0 1 6-6h12a6 6 0 0 1 6 6v12a6 6 0 0 1-6 6H6a6 6 0 0 1-6-6z'/> <path fill='%23101214' d='M5.49 10.87h13.02c.374 0 .574-.2.574-.574V5.907c0-.374-.2-.574-.574-.574h-2.744c-.374 0-.573.2-.573.574v2.22h-1.247v-2.22c0-.374-.2-.574-.574-.574h-2.743c-.374 0-.574.2-.574.574v2.22H8.807v-2.22c0-.374-.2-.574-.573-.574H5.49c-.374 0-.573.2-.573.574v4.39c0 .373.2.573.573.573m.225 3.84a8.7 8.7 0 0 1-.5-2.493c-.024-.324.126-.499.475-.499h12.62c.349 0 .498.15.498.449a8.2 8.2 0 0 1-.523 2.544c-.15.399-.375.573-.799.573H6.513c-.424 0-.649-.174-.798-.573m11.547 2.07C16.065 18.253 14.095 19.2 12 19.2s-4.116-.948-5.288-2.42c-.299-.398-.15-.648.15-.648h10.275c.3 0 .45.25.125.649'/> </svg> ";
|
|
27
27
|
export var homeIcon = "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24'> <path fill='%23dddee1' d='M0 6a6 6 0 0 1 6-6h12a6 6 0 0 1 6 6v12a6 6 0 0 1-6 6H6a6 6 0 0 1-6-6z'/> <path fill='%23101214' d='M5.875 10.688v7.437h4.375V13.75h3.5v4.375h4.375v-7.437L12 5z'/> </svg> ";
|
|
28
28
|
export var hubIcon = "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 32 32'> <g clip-path='url(%23clip0_95164_16219)'> <path fill='%23dddee1' d='M0 8a8 8 0 0 1 8-8h16a8 8 0 0 1 8 8v16a8 8 0 0 1-8 8H8a8 8 0 0 1-8-8z'/> <g clip-path='url(%23clip1_95164_16219)'> <path fill='%23101214' fill-rule='evenodd' d='M9 25.333V6.667h14v18.666h-5.25V21.25h-3.5v4.083zm3.5-14.583h2.333V9H12.5zm4.667 0H19.5V9h-2.333zm-2.334 4.083H12.5v-1.75h2.333zM12.5 18.916h2.333v-1.75H12.5zm7-4.083h-2.333v-1.75H19.5zm-2.333 4.083H19.5v-1.75h-2.333z' clip-rule='evenodd'/> </g> </g> <defs> <clipPath id='clip0_95164_16219'> <path fill='%23fff' d='M0 0h32v32H0z'/> </clipPath> <clipPath id='clip1_95164_16219'> <path fill='%23fff' d='M2 2h28v28H2z'/> </clipPath> </defs> </svg> ";
|
|
29
|
+
export var jiraCodingAgentIcon = "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 55 55'> <path fill='%231868db' d='M24.519.844a6.3 6.3 0 0 1 6.3 0l18.37 10.601a6.3 6.3 0 0 1 3.15 5.454V38.1c0 2.25-1.2 4.33-3.15 5.454l-18.37 10.601a6.3 6.3 0 0 1-6.3 0l-18.37-10.6a6.3 6.3 0 0 1-3.15-5.454V16.9c0-2.25 1.2-4.33 3.15-5.454z'/> <path fill='%23fff' d='M20.71 34.657h-2.705C13.926 34.657 11 32.16 11 28.5h14.543c.754 0 1.241.536 1.241 1.294v14.634c-3.635 0-6.074-2.944-6.074-7.05zm7.183-7.272h-2.705c-4.079 0-7.005-2.454-7.005-6.113h14.542c.754 0 1.286.491 1.286 1.25v14.634c-3.635 0-6.118-2.945-6.118-7.05zm7.227-7.228h-2.705c-4.079 0-7.005-2.498-7.005-6.157h14.543c.753 0 1.241.535 1.241 1.25v14.633c-3.636 0-6.074-2.944-6.074-7.049z'/> </svg> ";
|
|
29
30
|
export var jiraDataCenterIcon = "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24'> <path fill='%23fff' d='M6 .5h12A5.5 5.5 0 0 1 23.5 6v12a5.5 5.5 0 0 1-5.5 5.5H6A5.5 5.5 0 0 1 .5 18V6A5.5 5.5 0 0 1 6 .5'/> <path stroke='%23dddee1' d='M6 .5h12A5.5 5.5 0 0 1 23.5 6v12a5.5 5.5 0 0 1-5.5 5.5H6A5.5 5.5 0 0 1 .5 18V6A5.5 5.5 0 0 1 6 .5Z'/> <path fill='%231868db' d='M8.974 15.523H7.62c-2.04 0-3.502-1.249-3.502-3.078h7.271c.377 0 .62.268.62.647v7.317c-1.817 0-3.036-1.472-3.036-3.525zm3.591-3.636h-1.352c-2.04 0-3.503-1.227-3.503-3.056h7.272c.376 0 .642.245.642.625v7.317c-1.817 0-3.059-1.473-3.059-3.525zm3.614-3.614h-1.353c-2.04 0-3.502-1.249-3.502-3.078h7.271c.377 0 .62.268.62.624v7.318c-1.817 0-3.036-1.473-3.036-3.525z'/> </svg> ";
|
|
30
31
|
export var jiraProductDiscoveryIcon = "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24'> <path fill='%23c97cf4' d='M0 6a6 6 0 0 1 6-6h12a6 6 0 0 1 6 6v12a6 6 0 0 1-6 6H6a6 6 0 0 1-6-6z'/> <path fill='%23101214' d='M13.467 4.882a9.47 9.47 0 0 0 5.422 0c.159-.035.265.07.23.229-.513 1.85-.513 3.558 0 5.408.035.14-.072.264-.23.211a10.1 10.1 0 0 0-5.422 0c-.142.053-.265-.07-.212-.211.476-1.85.476-3.559 0-5.408-.053-.159.07-.264.212-.23m.724 6.553v.3c0 1.39-.972 2.412-2.173 2.412a2.153 2.153 0 0 1-2.154-2.166c0-1.198.971-2.15 2.331-2.15h.353V5.62c-.176-.017-.353-.017-.53-.017a6.387 6.387 0 0 0-6.393 6.394 6.37 6.37 0 0 0 6.393 6.377c3.533 0 6.411-2.854 6.411-6.377v-.563z'/> </svg> ";
|
|
31
32
|
export var jiraServiceManagementDataCenterIcon = "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 25 24'> <path fill='%23fff' d='M6.417.5h12a5.5 5.5 0 0 1 5.5 5.5v12a5.5 5.5 0 0 1-5.5 5.5h-12a5.5 5.5 0 0 1-5.5-5.5V6a5.5 5.5 0 0 1 5.5-5.5'/> <path stroke='%23dddee1' d='M6.417.5h12a5.5 5.5 0 0 1 5.5 5.5v12a5.5 5.5 0 0 1-5.5 5.5h-12a5.5 5.5 0 0 1-5.5-5.5V6a5.5 5.5 0 0 1 5.5-5.5Z'/> <path fill='%231868db' d='M14.117 10.203h4.464c.67 0 .899.637.49 1.144l-6.98 8.616c-2.257-1.798-2.044-4.643-.393-6.72zm-3.45 3.433H6.205c-.67 0-.899-.638-.49-1.144l6.981-8.617c2.256 1.799 2.011 4.61.376 6.704z'/> </svg> ";
|
|
@@ -70,6 +71,7 @@ export var rawIcons = {
|
|
|
70
71
|
guard: guardIcon,
|
|
71
72
|
home: homeIcon,
|
|
72
73
|
hub: hubIcon,
|
|
74
|
+
jiraCodingAgent: jiraCodingAgentIcon,
|
|
73
75
|
jiraDataCenter: jiraDataCenterIcon,
|
|
74
76
|
jiraProductDiscovery: jiraProductDiscoveryIcon,
|
|
75
77
|
jiraServiceManagementDataCenter: jiraServiceManagementDataCenterIcon,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
2
|
+
var _excluded = ["shouldUseHexLogo"];
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
5
|
+
import { createFeatureFlaggedServiceCollectionComponent } from './create-feature-flagged-service-collection-component';
|
|
6
|
+
import { tempSizeWrapper } from './temp-size-wrapper';
|
|
7
|
+
var createFeatureFlaggedRovoComponent = function createFeatureFlaggedRovoComponent(LegacyComponent, NewComponent, NewHexComponent) {
|
|
8
|
+
var RovoHexWrapped = tempSizeWrapper(NewHexComponent);
|
|
9
|
+
var RovoServiceCollectionWrapped = createFeatureFlaggedServiceCollectionComponent(LegacyComponent, NewComponent);
|
|
10
|
+
return function (_ref) {
|
|
11
|
+
var shouldUseHexLogo = _ref.shouldUseHexLogo,
|
|
12
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
13
|
+
// Return hex logo if feature flag enabled. Otherwise revert to old set of components
|
|
14
|
+
if (fg('platform-logo-rebrand-rovo-hex') || shouldUseHexLogo) {
|
|
15
|
+
return /*#__PURE__*/React.createElement(RovoHexWrapped, props);
|
|
16
|
+
} else {
|
|
17
|
+
return /*#__PURE__*/React.createElement(RovoServiceCollectionWrapped, props);
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
export { createFeatureFlaggedRovoComponent };
|
package/dist/esm/index.js
CHANGED
|
@@ -19,6 +19,7 @@ import { GuardIcon as NewGuardIcon, GuardLogoCS as NewGuardLogo } from './artifa
|
|
|
19
19
|
import { HomeIcon as NewHomeIcon, HomeLogoCS as NewHomeLogo } from './artifacts/logo-components/home';
|
|
20
20
|
import { HubIcon as NewHubIcon, HubLogoCS as NewHubLogo } from './artifacts/logo-components/hub';
|
|
21
21
|
import { JiraIcon as NewJiraIcon, JiraLogoCS as NewJiraLogo } from './artifacts/logo-components/jira';
|
|
22
|
+
import { JiraCodingAgentIcon as NewJiraCodingAgentIcon } from './artifacts/logo-components/jira-coding-agent';
|
|
22
23
|
import { JiraDataCenterIcon as NewJiraDataCenterIcon, JiraDataCenterLogoCS as NewJiraDataCenterLogo } from './artifacts/logo-components/jira-data-center';
|
|
23
24
|
import { JiraProductDiscoveryIcon as NewJPDIcon, JiraProductDiscoveryLogoCS as NewJPDLogo } from './artifacts/logo-components/jira-product-discovery';
|
|
24
25
|
import { JiraServiceManagementIcon as NewJSMIcon, JiraServiceManagementLogoCS as NewJSMLogo } from './artifacts/logo-components/jira-service-management';
|
|
@@ -332,6 +333,17 @@ var RovoDevAgentIcon = tempSizeWrapper(NewRovoDevAgentIcon);
|
|
|
332
333
|
*/
|
|
333
334
|
export { RovoDevAgentIcon };
|
|
334
335
|
var RovoDevAgentLogo = tempSizeWrapper(NewRovoDevAgentLogo);
|
|
336
|
+
/**
|
|
337
|
+
* __Jira Coding Agent icon__
|
|
338
|
+
*
|
|
339
|
+
* The Jira Coding Agent icon without an accompanying wordmark.
|
|
340
|
+
*
|
|
341
|
+
* - [Examples](https://atlassian.design/components/logo/examples)
|
|
342
|
+
* - [Code](https://atlassian.design/components/logo/code)
|
|
343
|
+
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
344
|
+
*/
|
|
345
|
+
export { RovoDevAgentLogo };
|
|
346
|
+
var JiraCodingAgentIcon = tempSizeWrapper(NewJiraCodingAgentIcon);
|
|
335
347
|
/**
|
|
336
348
|
* __Search icon__
|
|
337
349
|
*
|
|
@@ -341,7 +353,7 @@ var RovoDevAgentLogo = tempSizeWrapper(NewRovoDevAgentLogo);
|
|
|
341
353
|
* - [Code](https://atlassian.design/components/logo/code)
|
|
342
354
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
343
355
|
*/
|
|
344
|
-
export {
|
|
356
|
+
export { JiraCodingAgentIcon };
|
|
345
357
|
var SearchIcon = tempSizeWrapper(SearchNewIcon);
|
|
346
358
|
/**
|
|
347
359
|
* __Search logo__
|
package/dist/esm/logo-config.js
CHANGED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
* @codegen <<SignedSource::a4a56eeee9c8594a65687d2ede86d87f>>
|
|
4
|
+
* @codegenCommand yarn workspace @atlaskit/logo generate:components
|
|
5
|
+
*/
|
|
6
|
+
import React from 'react';
|
|
7
|
+
import type { AppIconProps } from '../../../utils/types';
|
|
8
|
+
/**
|
|
9
|
+
* __JiraCodingAgentIcon__
|
|
10
|
+
*
|
|
11
|
+
* A temporary component to represent the icon for Jira Coding Agent.
|
|
12
|
+
* @deprecated This component has been replaced by the component `JiraCodingAgentIcon` in `@atlaskit/logo`.
|
|
13
|
+
* Please migrate any usages of this temporary component, using the prop `shouldUseNewLogoDesign` where necessary
|
|
14
|
+
* to enable the new design by default.
|
|
15
|
+
*
|
|
16
|
+
*/
|
|
17
|
+
export declare function JiraCodingAgentIcon({ size, appearance, label, testId, }: AppIconProps): React.JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
* @codegen <<SignedSource::d3a68d35d166e266b70952ebcfb8865b>>
|
|
4
|
+
* @codegenCommand yarn workspace @atlaskit/logo generate:components
|
|
5
|
+
*/
|
|
6
|
+
export { JiraCodingAgentIcon } from './icon';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::b916b382d443b694c70482ec980866ec>>
|
|
4
4
|
* @codegenCommand yarn workspace @atlaskit/logo generate:components
|
|
5
5
|
*/
|
|
6
6
|
export declare const adminIcon = "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24'> <path fill='%23dddee1' d='M0 6a6 6 0 0 1 6-6h12a6 6 0 0 1 6 6v12a6 6 0 0 1-6 6H6a6 6 0 0 1-6-6z'/> <path fill='%23101214' fill-rule='evenodd' d='M10.444 5h3.111l.98 2.61 2.75-.457 1.555 2.694L17.07 12l1.77 2.153-1.555 2.694-2.75-.457-.979 2.61h-3.11l-.98-2.61-2.75.457-1.555-2.694L6.931 12 5.16 9.847l1.555-2.694 2.75.457zM12 14.625a2.625 2.625 0 1 0 0-5.25 2.625 2.625 0 0 0 0 5.25' clip-rule='evenodd'/> </svg> ";
|
|
@@ -26,6 +26,7 @@ export declare const guardDetectIcon = "data:image/svg+xml,<svg xmlns='http://ww
|
|
|
26
26
|
export declare const guardIcon = "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24'> <path fill='%23dddee1' d='M0 6a6 6 0 0 1 6-6h12a6 6 0 0 1 6 6v12a6 6 0 0 1-6 6H6a6 6 0 0 1-6-6z'/> <path fill='%23101214' d='M5.49 10.87h13.02c.374 0 .574-.2.574-.574V5.907c0-.374-.2-.574-.574-.574h-2.744c-.374 0-.573.2-.573.574v2.22h-1.247v-2.22c0-.374-.2-.574-.574-.574h-2.743c-.374 0-.574.2-.574.574v2.22H8.807v-2.22c0-.374-.2-.574-.573-.574H5.49c-.374 0-.573.2-.573.574v4.39c0 .373.2.573.573.573m.225 3.84a8.7 8.7 0 0 1-.5-2.493c-.024-.324.126-.499.475-.499h12.62c.349 0 .498.15.498.449a8.2 8.2 0 0 1-.523 2.544c-.15.399-.375.573-.799.573H6.513c-.424 0-.649-.174-.798-.573m11.547 2.07C16.065 18.253 14.095 19.2 12 19.2s-4.116-.948-5.288-2.42c-.299-.398-.15-.648.15-.648h10.275c.3 0 .45.25.125.649'/> </svg> ";
|
|
27
27
|
export declare const homeIcon = "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24'> <path fill='%23dddee1' d='M0 6a6 6 0 0 1 6-6h12a6 6 0 0 1 6 6v12a6 6 0 0 1-6 6H6a6 6 0 0 1-6-6z'/> <path fill='%23101214' d='M5.875 10.688v7.437h4.375V13.75h3.5v4.375h4.375v-7.437L12 5z'/> </svg> ";
|
|
28
28
|
export declare const hubIcon = "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 32 32'> <g clip-path='url(%23clip0_95164_16219)'> <path fill='%23dddee1' d='M0 8a8 8 0 0 1 8-8h16a8 8 0 0 1 8 8v16a8 8 0 0 1-8 8H8a8 8 0 0 1-8-8z'/> <g clip-path='url(%23clip1_95164_16219)'> <path fill='%23101214' fill-rule='evenodd' d='M9 25.333V6.667h14v18.666h-5.25V21.25h-3.5v4.083zm3.5-14.583h2.333V9H12.5zm4.667 0H19.5V9h-2.333zm-2.334 4.083H12.5v-1.75h2.333zM12.5 18.916h2.333v-1.75H12.5zm7-4.083h-2.333v-1.75H19.5zm-2.333 4.083H19.5v-1.75h-2.333z' clip-rule='evenodd'/> </g> </g> <defs> <clipPath id='clip0_95164_16219'> <path fill='%23fff' d='M0 0h32v32H0z'/> </clipPath> <clipPath id='clip1_95164_16219'> <path fill='%23fff' d='M2 2h28v28H2z'/> </clipPath> </defs> </svg> ";
|
|
29
|
+
export declare const jiraCodingAgentIcon = "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 55 55'> <path fill='%231868db' d='M24.519.844a6.3 6.3 0 0 1 6.3 0l18.37 10.601a6.3 6.3 0 0 1 3.15 5.454V38.1c0 2.25-1.2 4.33-3.15 5.454l-18.37 10.601a6.3 6.3 0 0 1-6.3 0l-18.37-10.6a6.3 6.3 0 0 1-3.15-5.454V16.9c0-2.25 1.2-4.33 3.15-5.454z'/> <path fill='%23fff' d='M20.71 34.657h-2.705C13.926 34.657 11 32.16 11 28.5h14.543c.754 0 1.241.536 1.241 1.294v14.634c-3.635 0-6.074-2.944-6.074-7.05zm7.183-7.272h-2.705c-4.079 0-7.005-2.454-7.005-6.113h14.542c.754 0 1.286.491 1.286 1.25v14.634c-3.635 0-6.118-2.945-6.118-7.05zm7.227-7.228h-2.705c-4.079 0-7.005-2.498-7.005-6.157h14.543c.753 0 1.241.535 1.241 1.25v14.633c-3.636 0-6.074-2.944-6.074-7.049z'/> </svg> ";
|
|
29
30
|
export declare const jiraDataCenterIcon = "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24'> <path fill='%23fff' d='M6 .5h12A5.5 5.5 0 0 1 23.5 6v12a5.5 5.5 0 0 1-5.5 5.5H6A5.5 5.5 0 0 1 .5 18V6A5.5 5.5 0 0 1 6 .5'/> <path stroke='%23dddee1' d='M6 .5h12A5.5 5.5 0 0 1 23.5 6v12a5.5 5.5 0 0 1-5.5 5.5H6A5.5 5.5 0 0 1 .5 18V6A5.5 5.5 0 0 1 6 .5Z'/> <path fill='%231868db' d='M8.974 15.523H7.62c-2.04 0-3.502-1.249-3.502-3.078h7.271c.377 0 .62.268.62.647v7.317c-1.817 0-3.036-1.472-3.036-3.525zm3.591-3.636h-1.352c-2.04 0-3.503-1.227-3.503-3.056h7.272c.376 0 .642.245.642.625v7.317c-1.817 0-3.059-1.473-3.059-3.525zm3.614-3.614h-1.353c-2.04 0-3.502-1.249-3.502-3.078h7.271c.377 0 .62.268.62.624v7.318c-1.817 0-3.036-1.473-3.036-3.525z'/> </svg> ";
|
|
30
31
|
export declare const jiraProductDiscoveryIcon = "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24'> <path fill='%23c97cf4' d='M0 6a6 6 0 0 1 6-6h12a6 6 0 0 1 6 6v12a6 6 0 0 1-6 6H6a6 6 0 0 1-6-6z'/> <path fill='%23101214' d='M13.467 4.882a9.47 9.47 0 0 0 5.422 0c.159-.035.265.07.23.229-.513 1.85-.513 3.558 0 5.408.035.14-.072.264-.23.211a10.1 10.1 0 0 0-5.422 0c-.142.053-.265-.07-.212-.211.476-1.85.476-3.559 0-5.408-.053-.159.07-.264.212-.23m.724 6.553v.3c0 1.39-.972 2.412-2.173 2.412a2.153 2.153 0 0 1-2.154-2.166c0-1.198.971-2.15 2.331-2.15h.353V5.62c-.176-.017-.353-.017-.53-.017a6.387 6.387 0 0 0-6.393 6.394 6.37 6.37 0 0 0 6.393 6.377c3.533 0 6.411-2.854 6.411-6.377v-.563z'/> </svg> ";
|
|
31
32
|
export declare const jiraServiceManagementDataCenterIcon = "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 25 24'> <path fill='%23fff' d='M6.417.5h12a5.5 5.5 0 0 1 5.5 5.5v12a5.5 5.5 0 0 1-5.5 5.5h-12a5.5 5.5 0 0 1-5.5-5.5V6a5.5 5.5 0 0 1 5.5-5.5'/> <path stroke='%23dddee1' d='M6.417.5h12a5.5 5.5 0 0 1 5.5 5.5v12a5.5 5.5 0 0 1-5.5 5.5h-12a5.5 5.5 0 0 1-5.5-5.5V6a5.5 5.5 0 0 1 5.5-5.5Z'/> <path fill='%231868db' d='M14.117 10.203h4.464c.67 0 .899.637.49 1.144l-6.98 8.616c-2.257-1.798-2.044-4.643-.393-6.72zm-3.45 3.433H6.205c-.67 0-.899-.638-.49-1.144l6.981-8.617c2.256 1.799 2.011 4.61.376 6.704z'/> </svg> ";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type LogoProps } from './types';
|
|
3
|
+
import { type AppIconProps, type AppLogoProps } from './utils/types';
|
|
4
|
+
export declare const createFeatureFlaggedRovoComponent: (LegacyComponent: React.ComponentType<LogoProps>, NewComponent: React.ComponentType<AppLogoProps> | React.ComponentType<AppIconProps>, NewHexComponent: React.ComponentType<AppLogoProps> | React.ComponentType<AppIconProps>) => ({ shouldUseHexLogo, ...props }: LogoProps & {
|
|
5
|
+
/**
|
|
6
|
+
* When the feature flag `platform-logo-rebrand-rovo-hex` is set to false, this flag changes the rovo logo to a tile.
|
|
7
|
+
* After the hex design is rolled out, this prop will do nothing - it is maintained for now to enable backwards compatibility and safe roll-out
|
|
8
|
+
*/
|
|
9
|
+
shouldUseNewLogoDesign?: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* Forces the new rovo hex logo to be used.
|
|
12
|
+
*/
|
|
13
|
+
shouldUseHexLogo?: boolean;
|
|
14
|
+
}) => React.JSX.Element;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -244,6 +244,16 @@ export declare const RovoDevAgentIcon: ({ size, ...props }: import('./types').Lo
|
|
|
244
244
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
245
245
|
*/
|
|
246
246
|
export declare const RovoDevAgentLogo: ({ size, ...props }: import('./types').LogoProps) => React.JSX.Element;
|
|
247
|
+
/**
|
|
248
|
+
* __Jira Coding Agent icon__
|
|
249
|
+
*
|
|
250
|
+
* The Jira Coding Agent icon without an accompanying wordmark.
|
|
251
|
+
*
|
|
252
|
+
* - [Examples](https://atlassian.design/components/logo/examples)
|
|
253
|
+
* - [Code](https://atlassian.design/components/logo/code)
|
|
254
|
+
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
255
|
+
*/
|
|
256
|
+
export declare const JiraCodingAgentIcon: ({ size, ...props }: import('./types').LogoProps) => React.JSX.Element;
|
|
247
257
|
/**
|
|
248
258
|
* __Search icon__
|
|
249
259
|
*
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
* @codegen <<SignedSource::a4a56eeee9c8594a65687d2ede86d87f>>
|
|
4
|
+
* @codegenCommand yarn workspace @atlaskit/logo generate:components
|
|
5
|
+
*/
|
|
6
|
+
import React from 'react';
|
|
7
|
+
import type { AppIconProps } from '../../../utils/types';
|
|
8
|
+
/**
|
|
9
|
+
* __JiraCodingAgentIcon__
|
|
10
|
+
*
|
|
11
|
+
* A temporary component to represent the icon for Jira Coding Agent.
|
|
12
|
+
* @deprecated This component has been replaced by the component `JiraCodingAgentIcon` in `@atlaskit/logo`.
|
|
13
|
+
* Please migrate any usages of this temporary component, using the prop `shouldUseNewLogoDesign` where necessary
|
|
14
|
+
* to enable the new design by default.
|
|
15
|
+
*
|
|
16
|
+
*/
|
|
17
|
+
export declare function JiraCodingAgentIcon({ size, appearance, label, testId, }: AppIconProps): React.JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
* @codegen <<SignedSource::d3a68d35d166e266b70952ebcfb8865b>>
|
|
4
|
+
* @codegenCommand yarn workspace @atlaskit/logo generate:components
|
|
5
|
+
*/
|
|
6
|
+
export { JiraCodingAgentIcon } from './icon';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::b916b382d443b694c70482ec980866ec>>
|
|
4
4
|
* @codegenCommand yarn workspace @atlaskit/logo generate:components
|
|
5
5
|
*/
|
|
6
6
|
export declare const adminIcon = "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24'> <path fill='%23dddee1' d='M0 6a6 6 0 0 1 6-6h12a6 6 0 0 1 6 6v12a6 6 0 0 1-6 6H6a6 6 0 0 1-6-6z'/> <path fill='%23101214' fill-rule='evenodd' d='M10.444 5h3.111l.98 2.61 2.75-.457 1.555 2.694L17.07 12l1.77 2.153-1.555 2.694-2.75-.457-.979 2.61h-3.11l-.98-2.61-2.75.457-1.555-2.694L6.931 12 5.16 9.847l1.555-2.694 2.75.457zM12 14.625a2.625 2.625 0 1 0 0-5.25 2.625 2.625 0 0 0 0 5.25' clip-rule='evenodd'/> </svg> ";
|
|
@@ -26,6 +26,7 @@ export declare const guardDetectIcon = "data:image/svg+xml,<svg xmlns='http://ww
|
|
|
26
26
|
export declare const guardIcon = "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24'> <path fill='%23dddee1' d='M0 6a6 6 0 0 1 6-6h12a6 6 0 0 1 6 6v12a6 6 0 0 1-6 6H6a6 6 0 0 1-6-6z'/> <path fill='%23101214' d='M5.49 10.87h13.02c.374 0 .574-.2.574-.574V5.907c0-.374-.2-.574-.574-.574h-2.744c-.374 0-.573.2-.573.574v2.22h-1.247v-2.22c0-.374-.2-.574-.574-.574h-2.743c-.374 0-.574.2-.574.574v2.22H8.807v-2.22c0-.374-.2-.574-.573-.574H5.49c-.374 0-.573.2-.573.574v4.39c0 .373.2.573.573.573m.225 3.84a8.7 8.7 0 0 1-.5-2.493c-.024-.324.126-.499.475-.499h12.62c.349 0 .498.15.498.449a8.2 8.2 0 0 1-.523 2.544c-.15.399-.375.573-.799.573H6.513c-.424 0-.649-.174-.798-.573m11.547 2.07C16.065 18.253 14.095 19.2 12 19.2s-4.116-.948-5.288-2.42c-.299-.398-.15-.648.15-.648h10.275c.3 0 .45.25.125.649'/> </svg> ";
|
|
27
27
|
export declare const homeIcon = "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24'> <path fill='%23dddee1' d='M0 6a6 6 0 0 1 6-6h12a6 6 0 0 1 6 6v12a6 6 0 0 1-6 6H6a6 6 0 0 1-6-6z'/> <path fill='%23101214' d='M5.875 10.688v7.437h4.375V13.75h3.5v4.375h4.375v-7.437L12 5z'/> </svg> ";
|
|
28
28
|
export declare const hubIcon = "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 32 32'> <g clip-path='url(%23clip0_95164_16219)'> <path fill='%23dddee1' d='M0 8a8 8 0 0 1 8-8h16a8 8 0 0 1 8 8v16a8 8 0 0 1-8 8H8a8 8 0 0 1-8-8z'/> <g clip-path='url(%23clip1_95164_16219)'> <path fill='%23101214' fill-rule='evenodd' d='M9 25.333V6.667h14v18.666h-5.25V21.25h-3.5v4.083zm3.5-14.583h2.333V9H12.5zm4.667 0H19.5V9h-2.333zm-2.334 4.083H12.5v-1.75h2.333zM12.5 18.916h2.333v-1.75H12.5zm7-4.083h-2.333v-1.75H19.5zm-2.333 4.083H19.5v-1.75h-2.333z' clip-rule='evenodd'/> </g> </g> <defs> <clipPath id='clip0_95164_16219'> <path fill='%23fff' d='M0 0h32v32H0z'/> </clipPath> <clipPath id='clip1_95164_16219'> <path fill='%23fff' d='M2 2h28v28H2z'/> </clipPath> </defs> </svg> ";
|
|
29
|
+
export declare const jiraCodingAgentIcon = "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 55 55'> <path fill='%231868db' d='M24.519.844a6.3 6.3 0 0 1 6.3 0l18.37 10.601a6.3 6.3 0 0 1 3.15 5.454V38.1c0 2.25-1.2 4.33-3.15 5.454l-18.37 10.601a6.3 6.3 0 0 1-6.3 0l-18.37-10.6a6.3 6.3 0 0 1-3.15-5.454V16.9c0-2.25 1.2-4.33 3.15-5.454z'/> <path fill='%23fff' d='M20.71 34.657h-2.705C13.926 34.657 11 32.16 11 28.5h14.543c.754 0 1.241.536 1.241 1.294v14.634c-3.635 0-6.074-2.944-6.074-7.05zm7.183-7.272h-2.705c-4.079 0-7.005-2.454-7.005-6.113h14.542c.754 0 1.286.491 1.286 1.25v14.634c-3.635 0-6.118-2.945-6.118-7.05zm7.227-7.228h-2.705c-4.079 0-7.005-2.498-7.005-6.157h14.543c.753 0 1.241.535 1.241 1.25v14.633c-3.636 0-6.074-2.944-6.074-7.049z'/> </svg> ";
|
|
29
30
|
export declare const jiraDataCenterIcon = "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24'> <path fill='%23fff' d='M6 .5h12A5.5 5.5 0 0 1 23.5 6v12a5.5 5.5 0 0 1-5.5 5.5H6A5.5 5.5 0 0 1 .5 18V6A5.5 5.5 0 0 1 6 .5'/> <path stroke='%23dddee1' d='M6 .5h12A5.5 5.5 0 0 1 23.5 6v12a5.5 5.5 0 0 1-5.5 5.5H6A5.5 5.5 0 0 1 .5 18V6A5.5 5.5 0 0 1 6 .5Z'/> <path fill='%231868db' d='M8.974 15.523H7.62c-2.04 0-3.502-1.249-3.502-3.078h7.271c.377 0 .62.268.62.647v7.317c-1.817 0-3.036-1.472-3.036-3.525zm3.591-3.636h-1.352c-2.04 0-3.503-1.227-3.503-3.056h7.272c.376 0 .642.245.642.625v7.317c-1.817 0-3.059-1.473-3.059-3.525zm3.614-3.614h-1.353c-2.04 0-3.502-1.249-3.502-3.078h7.271c.377 0 .62.268.62.624v7.318c-1.817 0-3.036-1.473-3.036-3.525z'/> </svg> ";
|
|
30
31
|
export declare const jiraProductDiscoveryIcon = "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24'> <path fill='%23c97cf4' d='M0 6a6 6 0 0 1 6-6h12a6 6 0 0 1 6 6v12a6 6 0 0 1-6 6H6a6 6 0 0 1-6-6z'/> <path fill='%23101214' d='M13.467 4.882a9.47 9.47 0 0 0 5.422 0c.159-.035.265.07.23.229-.513 1.85-.513 3.558 0 5.408.035.14-.072.264-.23.211a10.1 10.1 0 0 0-5.422 0c-.142.053-.265-.07-.212-.211.476-1.85.476-3.559 0-5.408-.053-.159.07-.264.212-.23m.724 6.553v.3c0 1.39-.972 2.412-2.173 2.412a2.153 2.153 0 0 1-2.154-2.166c0-1.198.971-2.15 2.331-2.15h.353V5.62c-.176-.017-.353-.017-.53-.017a6.387 6.387 0 0 0-6.393 6.394 6.37 6.37 0 0 0 6.393 6.377c3.533 0 6.411-2.854 6.411-6.377v-.563z'/> </svg> ";
|
|
31
32
|
export declare const jiraServiceManagementDataCenterIcon = "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 25 24'> <path fill='%23fff' d='M6.417.5h12a5.5 5.5 0 0 1 5.5 5.5v12a5.5 5.5 0 0 1-5.5 5.5h-12a5.5 5.5 0 0 1-5.5-5.5V6a5.5 5.5 0 0 1 5.5-5.5'/> <path stroke='%23dddee1' d='M6.417.5h12a5.5 5.5 0 0 1 5.5 5.5v12a5.5 5.5 0 0 1-5.5 5.5h-12a5.5 5.5 0 0 1-5.5-5.5V6a5.5 5.5 0 0 1 5.5-5.5Z'/> <path fill='%231868db' d='M14.117 10.203h4.464c.67 0 .899.637.49 1.144l-6.98 8.616c-2.257-1.798-2.044-4.643-.393-6.72zm-3.45 3.433H6.205c-.67 0-.899-.638-.49-1.144l6.981-8.617c2.256 1.799 2.011 4.61.376 6.704z'/> </svg> ";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type LogoProps } from './types';
|
|
3
|
+
import { type AppIconProps, type AppLogoProps } from './utils/types';
|
|
4
|
+
export declare const createFeatureFlaggedRovoComponent: (LegacyComponent: React.ComponentType<LogoProps>, NewComponent: React.ComponentType<AppLogoProps> | React.ComponentType<AppIconProps>, NewHexComponent: React.ComponentType<AppLogoProps> | React.ComponentType<AppIconProps>) => ({ shouldUseHexLogo, ...props }: LogoProps & {
|
|
5
|
+
/**
|
|
6
|
+
* When the feature flag `platform-logo-rebrand-rovo-hex` is set to false, this flag changes the rovo logo to a tile.
|
|
7
|
+
* After the hex design is rolled out, this prop will do nothing - it is maintained for now to enable backwards compatibility and safe roll-out
|
|
8
|
+
*/
|
|
9
|
+
shouldUseNewLogoDesign?: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* Forces the new rovo hex logo to be used.
|
|
12
|
+
*/
|
|
13
|
+
shouldUseHexLogo?: boolean;
|
|
14
|
+
}) => React.JSX.Element;
|
|
@@ -244,6 +244,16 @@ export declare const RovoDevAgentIcon: ({ size, ...props }: import('./types').Lo
|
|
|
244
244
|
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
245
245
|
*/
|
|
246
246
|
export declare const RovoDevAgentLogo: ({ size, ...props }: import('./types').LogoProps) => React.JSX.Element;
|
|
247
|
+
/**
|
|
248
|
+
* __Jira Coding Agent icon__
|
|
249
|
+
*
|
|
250
|
+
* The Jira Coding Agent icon without an accompanying wordmark.
|
|
251
|
+
*
|
|
252
|
+
* - [Examples](https://atlassian.design/components/logo/examples)
|
|
253
|
+
* - [Code](https://atlassian.design/components/logo/code)
|
|
254
|
+
* - [Usage](https://atlassian.design/components/logo/usage)
|
|
255
|
+
*/
|
|
256
|
+
export declare const JiraCodingAgentIcon: ({ size, ...props }: import('./types').LogoProps) => React.JSX.Element;
|
|
247
257
|
/**
|
|
248
258
|
* __Search icon__
|
|
249
259
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/logo",
|
|
3
|
-
"version": "20.
|
|
3
|
+
"version": "20.2.0",
|
|
4
4
|
"description": "A logo is a visual representation of a brand or app. It can be a word, an image, or a combination of both.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@atlaskit/ds-lib": "^7.0.0",
|
|
40
40
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
41
41
|
"@atlaskit/theme": "^25.0.0",
|
|
42
|
-
"@atlaskit/tokens": "^13.
|
|
42
|
+
"@atlaskit/tokens": "^13.1.0",
|
|
43
43
|
"@babel/runtime": "^7.0.0",
|
|
44
44
|
"@compiled/react": "^0.20.0"
|
|
45
45
|
},
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"@atlaskit/section-message": "^8.13.0",
|
|
60
60
|
"@atlaskit/select": "^21.12.0",
|
|
61
61
|
"@atlaskit/table": "^0.15.0",
|
|
62
|
-
"@atlaskit/toggle": "^
|
|
62
|
+
"@atlaskit/toggle": "^16.1.0",
|
|
63
63
|
"@atlassian/codegen": "^0.2.0",
|
|
64
64
|
"@atlassian/react-compiler-gating": "workspace:^",
|
|
65
65
|
"@atlassian/ssr-tests": "workspace:^",
|