@conveyorhq/arrow-ds 1.195.0 → 1.197.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/package.json +1 -1
- package/public/components/Icon/Icon.d.ts +1 -0
- package/public/components/Icon/Icon.js +2 -0
- package/public/components/Icon/svg/BrandNotion.d.ts +3 -0
- package/public/components/Icon/svg/BrandNotion.js +13 -0
- package/public/components/Icon/svg/index.d.ts +1 -0
- package/public/components/Icon/svg/index.js +1 -0
- package/public/components/IntegrationLogo/IntegrationLogo.d.ts +1 -1
- package/public/components/IntegrationLogo/IntegrationLogo.js +1 -0
- package/public/components/IntegrationLogo/IntegrationLogoSvg.js +2 -0
- package/public/components/IntegrationLogo/svg/index.d.ts +1 -0
- package/public/components/IntegrationLogo/svg/index.js +3 -1
- package/public/components/IntegrationLogo/svg/notion.d.ts +3 -0
- package/public/components/IntegrationLogo/svg/notion.js +16 -0
- package/public/components/TopBar/TopBar.d.ts +4 -1
- package/public/components/TopBar/TopBar.js +4 -4
- package/src/components/Icon/Icon.tsx +3 -0
- package/src/components/Icon/svg/BrandNotion.tsx +13 -0
- package/src/components/Icon/svg/index.ts +1 -0
- package/src/components/IntegrationLogo/IntegrationLogo.stories.mdx +1 -0
- package/src/components/IntegrationLogo/IntegrationLogo.tsx +1 -0
- package/src/components/IntegrationLogo/IntegrationLogoSvg.tsx +3 -0
- package/src/components/IntegrationLogo/svg/index.ts +1 -0
- package/src/components/IntegrationLogo/svg/notion.tsx +26 -0
- package/src/components/TopBar/TopBar.tsx +17 -2
package/package.json
CHANGED
|
@@ -11,6 +11,7 @@ export declare enum CUSTOM_ICON_TYPE {
|
|
|
11
11
|
BRAND_GOOGLE_DRIVE = "brand-google-drive",
|
|
12
12
|
BRAND_JIRA = "brand-jira",
|
|
13
13
|
BRAND_MICROSOFT_TEAMS = "brand-microsoft-teams",
|
|
14
|
+
BRAND_NOTION = "brand-notion",
|
|
14
15
|
BRAND_SALESFORCE = "brand-salesforce",
|
|
15
16
|
BRAND_SLACK = "brand-slack",
|
|
16
17
|
BRAND_ZENDESK = "brand-zendesk",
|
|
@@ -261,6 +261,7 @@ var CUSTOM_ICON_TYPE;
|
|
|
261
261
|
CUSTOM_ICON_TYPE["BRAND_GOOGLE_DRIVE"] = "brand-google-drive";
|
|
262
262
|
CUSTOM_ICON_TYPE["BRAND_JIRA"] = "brand-jira";
|
|
263
263
|
CUSTOM_ICON_TYPE["BRAND_MICROSOFT_TEAMS"] = "brand-microsoft-teams";
|
|
264
|
+
CUSTOM_ICON_TYPE["BRAND_NOTION"] = "brand-notion";
|
|
264
265
|
CUSTOM_ICON_TYPE["BRAND_SALESFORCE"] = "brand-salesforce";
|
|
265
266
|
CUSTOM_ICON_TYPE["BRAND_SLACK"] = "brand-slack";
|
|
266
267
|
CUSTOM_ICON_TYPE["BRAND_ZENDESK"] = "brand-zendesk";
|
|
@@ -289,6 +290,7 @@ const CustomIcons = {
|
|
|
289
290
|
[CUSTOM_ICON_TYPE.BRAND_GOOGLE_DRIVE]: svg_1.BrandGoogleDriveIcon,
|
|
290
291
|
[CUSTOM_ICON_TYPE.BRAND_JIRA]: svg_1.BrandJira,
|
|
291
292
|
[CUSTOM_ICON_TYPE.BRAND_MICROSOFT_TEAMS]: svg_1.BrandMicrosoftTeams,
|
|
293
|
+
[CUSTOM_ICON_TYPE.BRAND_NOTION]: svg_1.BrandNotion,
|
|
292
294
|
[CUSTOM_ICON_TYPE.BRAND_SALESFORCE]: svg_1.BrandSalesforce,
|
|
293
295
|
[CUSTOM_ICON_TYPE.BRAND_SLACK]: svg_1.BrandSlack,
|
|
294
296
|
[CUSTOM_ICON_TYPE.BRAND_ZENDESK]: svg_1.BrandZendesk,
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.BrandNotion = void 0;
|
|
7
|
+
const react_1 = __importDefault(require("react"));
|
|
8
|
+
const Svg_1 = require("../../Svg");
|
|
9
|
+
const BrandNotion = (props) => {
|
|
10
|
+
return (react_1.default.createElement(Svg_1.Svg, { width: "32", height: "32", viewBox: "0 0 30 30", fill: "none", ...props },
|
|
11
|
+
react_1.default.createElement("path", { fill: "currentColor", d: "M18.403.068 1.805 1.291C.466 1.406 0 2.28 0 3.326v18.155c0 .816.29 1.513.99 2.444l3.902 5.063c.64.815 1.223.99 2.447.93l19.275-1.163c1.63-.116 2.097-.873 2.097-2.153V6.178c0-.662-.262-.853-1.034-1.416a89.567 89.567 0 0 1-.132-.097L22.247.941C20.966.011 20.44-.107 18.403.068ZM7.776 5.843c-1.574.106-1.931.13-2.825-.596L2.678 3.443c-.232-.233-.115-.524.467-.581l15.957-1.164c1.339-.117 2.038.35 2.562.756l2.737 1.979c.116.058.407.407.058.407l-16.48.99-.203.013ZM5.94 26.427V9.087c0-.756.233-1.105.932-1.164l18.926-1.105c.642-.058.933.35.933 1.105v17.223c0 .758-.117 1.398-1.166 1.456L7.455 27.65c-1.05.058-1.515-.29-1.515-1.223Zm17.88-16.41c.116.525 0 1.049-.526 1.108l-.872.174v12.8c-.758.408-1.457.64-2.039.64-.932 0-1.165-.29-1.864-1.163l-5.707-8.96v8.67l1.806.407s0 1.047-1.458 1.047l-4.017.233c-.117-.233 0-.815.408-.931l1.048-.29V12.287l-1.456-.117c-.116-.524.174-1.28.99-1.338l4.31-.29 5.94 9.077v-8.03l-1.514-.174c-.117-.641.349-1.107.931-1.164l4.02-.234Z" })));
|
|
12
|
+
};
|
|
13
|
+
exports.BrandNotion = BrandNotion;
|
|
@@ -7,6 +7,7 @@ export * from "./BrandFront";
|
|
|
7
7
|
export * from "./BrandGoogleDriveIcon";
|
|
8
8
|
export * from "./BrandJira";
|
|
9
9
|
export * from "./BrandMicrosoftTeams";
|
|
10
|
+
export * from "./BrandNotion";
|
|
10
11
|
export * from "./BrandSalesforce";
|
|
11
12
|
export * from "./BrandSlack";
|
|
12
13
|
export * from "./BrandZendesk";
|
|
@@ -23,6 +23,7 @@ __exportStar(require("./BrandFront"), exports);
|
|
|
23
23
|
__exportStar(require("./BrandGoogleDriveIcon"), exports);
|
|
24
24
|
__exportStar(require("./BrandJira"), exports);
|
|
25
25
|
__exportStar(require("./BrandMicrosoftTeams"), exports);
|
|
26
|
+
__exportStar(require("./BrandNotion"), exports);
|
|
26
27
|
__exportStar(require("./BrandSalesforce"), exports);
|
|
27
28
|
__exportStar(require("./BrandSlack"), exports);
|
|
28
29
|
__exportStar(require("./BrandZendesk"), exports);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { SvgProps } from "../Svg";
|
|
3
|
-
export declare const integrationLogoNames: readonly ["addigy", "aws", "bamboohr", "bitbucket", "conveyor", "deploy", "docusign", "events-api", "front", "gcp", "github", "gitlab", "google_drive", "gsuite", "hubspot", "jamf", "jira", "jumpcloud", "microsoft_teams", "okta", "onelogin", "service_now", "salesforce", "slack", "zendesk", "zoom"];
|
|
3
|
+
export declare const integrationLogoNames: readonly ["addigy", "aws", "bamboohr", "bitbucket", "conveyor", "deploy", "docusign", "events-api", "front", "gcp", "github", "gitlab", "google_drive", "gsuite", "hubspot", "jamf", "jira", "jumpcloud", "microsoft_teams", "notion", "okta", "onelogin", "service_now", "salesforce", "slack", "zendesk", "zoom"];
|
|
4
4
|
export type IntegrationLogoName = typeof integrationLogoNames[number];
|
|
5
5
|
export interface IntegrationLogoProps extends SvgProps {
|
|
6
6
|
logo?: IntegrationLogoName | string;
|
|
@@ -45,6 +45,8 @@ const IntegrationLogoSvg = ({ logo, ...rest }) => {
|
|
|
45
45
|
return react_1.default.createElement(svg_1.JumpcloudSvg, { ...rest });
|
|
46
46
|
case "microsoft_teams":
|
|
47
47
|
return react_1.default.createElement(svg_1.MicrosoftTeamsSvg, { ...rest });
|
|
48
|
+
case "notion":
|
|
49
|
+
return react_1.default.createElement(svg_1.NotionSvg, { ...rest });
|
|
48
50
|
case "okta":
|
|
49
51
|
return react_1.default.createElement(svg_1.OktaSvg, { ...rest });
|
|
50
52
|
case "onelogin":
|
|
@@ -18,6 +18,7 @@ export { JamfSvg } from "./jamf";
|
|
|
18
18
|
export { JiraSvg } from "./jira";
|
|
19
19
|
export { JumpcloudSvg } from "./jumpcloud";
|
|
20
20
|
export { MicrosoftTeamsSvg } from "./microsoft-teams";
|
|
21
|
+
export { NotionSvg } from "./notion";
|
|
21
22
|
export { OktaSvg } from "./okta";
|
|
22
23
|
export { OneLoginSvg } from "./onelogin";
|
|
23
24
|
export { ServiceNowSvg } from "./servicenow";
|
|
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.ZoomSvg = exports.ZendeskSvg = exports.SlackSvg = exports.SalesforceSvg = exports.ServiceNowSvg = exports.OneLoginSvg = exports.OktaSvg = exports.MicrosoftTeamsSvg = exports.JumpcloudSvg = exports.JiraSvg = exports.JamfSvg = exports.HubspotSvg = exports.GsuiteSvg = exports.GoogleDriveSvg = exports.GitlabSvg = exports.GithubSvg = exports.GcpSvg = exports.FrontSvg = exports.EventsAPI = exports.DocuSignSvg = exports.DeploySvg = exports.DefaultSvg = exports.ConveyorSvg = exports.BitbucketSvg = exports.BambooHrSvg = exports.AwsSvg = exports.AddigySvg = void 0;
|
|
17
|
+
exports.ZoomSvg = exports.ZendeskSvg = exports.SlackSvg = exports.SalesforceSvg = exports.ServiceNowSvg = exports.OneLoginSvg = exports.OktaSvg = exports.NotionSvg = exports.MicrosoftTeamsSvg = exports.JumpcloudSvg = exports.JiraSvg = exports.JamfSvg = exports.HubspotSvg = exports.GsuiteSvg = exports.GoogleDriveSvg = exports.GitlabSvg = exports.GithubSvg = exports.GcpSvg = exports.FrontSvg = exports.EventsAPI = exports.DocuSignSvg = exports.DeploySvg = exports.DefaultSvg = exports.ConveyorSvg = exports.BitbucketSvg = exports.BambooHrSvg = exports.AwsSvg = exports.AddigySvg = void 0;
|
|
18
18
|
var addigy_1 = require("./addigy");
|
|
19
19
|
Object.defineProperty(exports, "AddigySvg", { enumerable: true, get: function () { return addigy_1.AddigySvg; } });
|
|
20
20
|
var aws_1 = require("./aws");
|
|
@@ -55,6 +55,8 @@ var jumpcloud_1 = require("./jumpcloud");
|
|
|
55
55
|
Object.defineProperty(exports, "JumpcloudSvg", { enumerable: true, get: function () { return jumpcloud_1.JumpcloudSvg; } });
|
|
56
56
|
var microsoft_teams_1 = require("./microsoft-teams");
|
|
57
57
|
Object.defineProperty(exports, "MicrosoftTeamsSvg", { enumerable: true, get: function () { return microsoft_teams_1.MicrosoftTeamsSvg; } });
|
|
58
|
+
var notion_1 = require("./notion");
|
|
59
|
+
Object.defineProperty(exports, "NotionSvg", { enumerable: true, get: function () { return notion_1.NotionSvg; } });
|
|
58
60
|
var okta_1 = require("./okta");
|
|
59
61
|
Object.defineProperty(exports, "OktaSvg", { enumerable: true, get: function () { return okta_1.OktaSvg; } });
|
|
60
62
|
var onelogin_1 = require("./onelogin");
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.NotionSvg = void 0;
|
|
7
|
+
const react_1 = __importDefault(require("react"));
|
|
8
|
+
const wrapper_1 = require("./wrapper");
|
|
9
|
+
const NotionSvg = ({ color = "#000", square, ...rest }) => {
|
|
10
|
+
const viewBox = square ? "0 0 30 30" : "0 0 105 30";
|
|
11
|
+
return (react_1.default.createElement(wrapper_1.IntegrationLogoSvgWrapper, { viewBox: viewBox, ...rest },
|
|
12
|
+
react_1.default.createElement("title", null, "Notion integration logo"),
|
|
13
|
+
react_1.default.createElement("path", { fill: color, d: "M18.403.068 1.805 1.291C.466 1.406 0 2.28 0 3.326v18.155c0 .816.29 1.513.99 2.444l3.902 5.063c.64.815 1.223.99 2.447.93l19.275-1.163c1.63-.116 2.097-.873 2.097-2.153V6.178c0-.662-.262-.853-1.034-1.416a89.567 89.567 0 0 1-.132-.097L22.247.941C20.966.011 20.44-.107 18.403.068ZM7.776 5.843c-1.574.106-1.931.13-2.825-.596L2.678 3.443c-.232-.233-.115-.524.467-.581l15.957-1.164c1.339-.117 2.038.35 2.562.756l2.737 1.979c.116.058.407.407.058.407l-16.48.99-.203.013ZM5.94 26.427V9.087c0-.756.233-1.105.932-1.164l18.926-1.105c.642-.058.933.35.933 1.105v17.223c0 .758-.117 1.398-1.166 1.456L7.455 27.65c-1.05.058-1.515-.29-1.515-1.223Zm17.88-16.41c.116.525 0 1.049-.526 1.108l-.872.174v12.8c-.758.408-1.457.64-2.039.64-.932 0-1.165-.29-1.864-1.163l-5.707-8.96v8.67l1.806.407s0 1.047-1.458 1.047l-4.017.233c-.117-.233 0-.815.408-.931l1.048-.29V12.287l-1.456-.117c-.116-.524.174-1.28.99-1.338l4.31-.29 5.94 9.077v-8.03l-1.514-.174c-.117-.641.349-1.107.931-1.164l4.02-.234Z" }),
|
|
14
|
+
!square && (react_1.default.createElement("path", { fill: color, d: "M50.995 7.02V23.23h-2.587L40.739 12.14h-.134V23.23h-2.913V7.02h2.612l7.652 11.087h.15V7.021h2.89Zm7.715 16.446c-1.187 0-2.216-.261-3.087-.784a5.269 5.269 0 0 1-2.018-2.192c-.474-.939-.712-2.036-.712-3.292 0-1.256.237-2.356.712-3.3s1.148-1.678 2.018-2.2c.87-.522 1.9-.784 3.087-.784 1.182 0 2.208.262 3.078.784.87.522 1.544 1.256 2.018 2.2.48.944.72 2.044.72 3.3 0 1.256-.24 2.353-.72 3.292a5.269 5.269 0 0 1-2.018 2.193c-.87.522-1.896.783-3.078.783Zm.008-2.28c.654 0 1.197-.176 1.63-.53.433-.358.757-.838.973-1.44.217-.607.325-1.282.325-2.026 0-.744-.108-1.419-.325-2.026-.216-.607-.54-1.09-.973-1.448-.433-.364-.976-.546-1.63-.546-.66 0-1.209.182-1.646.546-.438.359-.765.841-.982 1.448-.21.607-.316 1.282-.316 2.026 0 .744.105 1.42.316 2.026.217.602.544 1.082.982 1.44.438.354.986.53 1.646.53ZM72.33 11.074v2.2h-6.964v-2.2h6.964ZM67.09 8.16h2.842v11.42c0 .385.058.68.174.887.121.205.28.345.475.419.195.074.414.11.657.11a2.8 2.8 0 0 0 .49-.039c.148-.026.264-.05.349-.071l.474 2.224a6.49 6.49 0 0 1-.648.174c-.28.063-.623.1-1.03.11-.712.022-1.355-.086-1.93-.324a3.04 3.04 0 0 1-1.361-1.116c-.333-.506-.496-1.142-.491-1.907V8.16Zm6.983 15.069V11.073h2.85v12.156h-2.85Zm1.433-13.89c-.454 0-.842-.15-1.164-.45a1.456 1.456 0 0 1-.483-1.093c0-.427.161-.791.483-1.092a1.645 1.645 0 0 1 1.163-.459c.454 0 .842.153 1.164.46.327.3.49.664.49 1.091 0 .422-.163.786-.49 1.092-.322.301-.71.452-1.163.452Zm8.99 14.127c-1.187 0-2.216-.261-3.087-.784a5.268 5.268 0 0 1-2.018-2.192c-.474-.939-.712-2.036-.712-3.292 0-1.256.238-2.356.712-3.3.475-.944 1.148-1.678 2.018-2.2.871-.522 1.9-.784 3.087-.784 1.182 0 2.208.262 3.078.784.871.522 1.544 1.256 2.019 2.2.48.944.72 2.044.72 3.3 0 1.256-.24 2.353-.72 3.292a5.267 5.267 0 0 1-2.019 2.193c-.87.522-1.896.783-3.078.783Zm.008-2.28c.654 0 1.197-.176 1.63-.53.433-.358.757-.838.974-1.44.216-.607.324-1.282.324-2.026 0-.744-.108-1.419-.324-2.026-.217-.607-.541-1.09-.974-1.448-.433-.364-.976-.546-1.63-.546-.66 0-1.208.182-1.646.546-.438.359-.765.841-.982 1.448-.21.607-.316 1.282-.316 2.026 0 .744.105 1.42.316 2.026.217.602.544 1.082.982 1.44.438.354.986.53 1.646.53Zm10.406-5.088v7.13h-2.848V11.074h2.722v2.057h.143a3.48 3.48 0 0 1 1.337-1.614c.617-.401 1.38-.602 2.288-.602.833 0 1.561.18 2.184.539a3.63 3.63 0 0 1 1.456 1.559c.348.68.522 1.506.522 2.477v7.74h-2.84v-7.305c0-.813-.212-1.448-.634-1.907-.423-.464-1.006-.697-1.75-.697-.5 0-.946.111-1.337.333-.39.216-.696.532-.918.95-.216.41-.325.91-.325 1.495Z" }))));
|
|
15
|
+
};
|
|
16
|
+
exports.NotionSvg = NotionSvg;
|
|
@@ -2,12 +2,15 @@ import React, { ReactNode } from "react";
|
|
|
2
2
|
import { BoxProps } from "../Box";
|
|
3
3
|
export interface TopBarProps extends BoxProps {
|
|
4
4
|
leftSlot: ReactNode;
|
|
5
|
+
leftSlotClassName?: string;
|
|
5
6
|
middleSlot?: ReactNode;
|
|
7
|
+
middleSlotClassName?: string;
|
|
6
8
|
rightSlot?: ReactNode;
|
|
9
|
+
rightSlotClassName?: string;
|
|
7
10
|
removePadding?: boolean;
|
|
8
11
|
}
|
|
9
12
|
declare const TopBar: {
|
|
10
|
-
({ leftSlot, middleSlot, rightSlot, removePadding, className, ...rest }: TopBarProps): React.JSX.Element;
|
|
13
|
+
({ leftSlot, leftSlotClassName, middleSlot, middleSlotClassName, rightSlot, rightSlotClassName, removePadding, className, ...rest }: TopBarProps): React.JSX.Element;
|
|
11
14
|
SubNav: (props: BoxProps) => React.JSX.Element;
|
|
12
15
|
SubNavItem: (props: import("./TopBarSubNavItem").SubNavItemProps) => React.JSX.Element;
|
|
13
16
|
Breadcrumbs: (props: import("./TopBarBreadcrumbs").BreadcrumbsProps) => React.JSX.Element;
|
|
@@ -12,11 +12,11 @@ const TopBarSubNavItem_1 = require("./TopBarSubNavItem");
|
|
|
12
12
|
const TopBarSubNav_1 = require("./TopBarSubNav");
|
|
13
13
|
const TopBarBreadcrumbs_1 = require("./TopBarBreadcrumbs");
|
|
14
14
|
const b = (0, bem_1.bemHOF)("TopBar");
|
|
15
|
-
const TopBar = ({ leftSlot, middleSlot, rightSlot, removePadding = false, className, ...rest }) => {
|
|
15
|
+
const TopBar = ({ leftSlot, leftSlotClassName, middleSlot, middleSlotClassName, rightSlot, rightSlotClassName, removePadding = false, className, ...rest }) => {
|
|
16
16
|
return (react_1.default.createElement(Flex_1.Flex, { className: (0, classnames_1.default)(b(), className), ...rest },
|
|
17
|
-
react_1.default.createElement(Flex_1.Flex, { className: (0, classnames_1.default)(b({ e: "left-slot" }), !removePadding && "pl-8") }, leftSlot),
|
|
18
|
-
middleSlot && (react_1.default.createElement(Flex_1.Flex, { className: b({ e: "middle-slot" }) }, middleSlot)),
|
|
19
|
-
rightSlot && (react_1.default.createElement(Flex_1.Flex, { className: (0, classnames_1.default)(b({ e: "right-slot" }), !removePadding && "pr-8") }, rightSlot))));
|
|
17
|
+
react_1.default.createElement(Flex_1.Flex, { className: (0, classnames_1.default)(b({ e: "left-slot" }), !removePadding && "pl-8", leftSlotClassName) }, leftSlot),
|
|
18
|
+
middleSlot && (react_1.default.createElement(Flex_1.Flex, { className: (0, classnames_1.default)(b({ e: "middle-slot" }), middleSlotClassName) }, middleSlot)),
|
|
19
|
+
rightSlot && (react_1.default.createElement(Flex_1.Flex, { className: (0, classnames_1.default)(b({ e: "right-slot" }), !removePadding && "pr-8", rightSlotClassName) }, rightSlot))));
|
|
20
20
|
};
|
|
21
21
|
exports.TopBar = TopBar;
|
|
22
22
|
TopBar.SubNav = TopBarSubNav_1.TopBarSubNav;
|
|
@@ -231,6 +231,7 @@ import {
|
|
|
231
231
|
BrandGoogleDriveIcon,
|
|
232
232
|
BrandJira,
|
|
233
233
|
BrandMicrosoftTeams,
|
|
234
|
+
BrandNotion,
|
|
234
235
|
BrandSalesforce,
|
|
235
236
|
BrandSlack,
|
|
236
237
|
BrandZendesk,
|
|
@@ -483,6 +484,7 @@ export enum CUSTOM_ICON_TYPE {
|
|
|
483
484
|
BRAND_GOOGLE_DRIVE = "brand-google-drive",
|
|
484
485
|
BRAND_JIRA = "brand-jira",
|
|
485
486
|
BRAND_MICROSOFT_TEAMS = "brand-microsoft-teams",
|
|
487
|
+
BRAND_NOTION = "brand-notion",
|
|
486
488
|
BRAND_SALESFORCE = "brand-salesforce",
|
|
487
489
|
BRAND_SLACK = "brand-slack",
|
|
488
490
|
BRAND_ZENDESK = "brand-zendesk",
|
|
@@ -516,6 +518,7 @@ const CustomIcons: CustomIconPaths = {
|
|
|
516
518
|
[CUSTOM_ICON_TYPE.BRAND_GOOGLE_DRIVE]: BrandGoogleDriveIcon,
|
|
517
519
|
[CUSTOM_ICON_TYPE.BRAND_JIRA]: BrandJira,
|
|
518
520
|
[CUSTOM_ICON_TYPE.BRAND_MICROSOFT_TEAMS]: BrandMicrosoftTeams,
|
|
521
|
+
[CUSTOM_ICON_TYPE.BRAND_NOTION]: BrandNotion,
|
|
519
522
|
[CUSTOM_ICON_TYPE.BRAND_SALESFORCE]: BrandSalesforce,
|
|
520
523
|
[CUSTOM_ICON_TYPE.BRAND_SLACK]: BrandSlack,
|
|
521
524
|
[CUSTOM_ICON_TYPE.BRAND_ZENDESK]: BrandZendesk,
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Svg, SvgProps } from "../../Svg";
|
|
3
|
+
|
|
4
|
+
export const BrandNotion = (props: SvgProps) => {
|
|
5
|
+
return (
|
|
6
|
+
<Svg width="32" height="32" viewBox="0 0 30 30" fill="none" {...props}>
|
|
7
|
+
<path
|
|
8
|
+
fill="currentColor"
|
|
9
|
+
d="M18.403.068 1.805 1.291C.466 1.406 0 2.28 0 3.326v18.155c0 .816.29 1.513.99 2.444l3.902 5.063c.64.815 1.223.99 2.447.93l19.275-1.163c1.63-.116 2.097-.873 2.097-2.153V6.178c0-.662-.262-.853-1.034-1.416a89.567 89.567 0 0 1-.132-.097L22.247.941C20.966.011 20.44-.107 18.403.068ZM7.776 5.843c-1.574.106-1.931.13-2.825-.596L2.678 3.443c-.232-.233-.115-.524.467-.581l15.957-1.164c1.339-.117 2.038.35 2.562.756l2.737 1.979c.116.058.407.407.058.407l-16.48.99-.203.013ZM5.94 26.427V9.087c0-.756.233-1.105.932-1.164l18.926-1.105c.642-.058.933.35.933 1.105v17.223c0 .758-.117 1.398-1.166 1.456L7.455 27.65c-1.05.058-1.515-.29-1.515-1.223Zm17.88-16.41c.116.525 0 1.049-.526 1.108l-.872.174v12.8c-.758.408-1.457.64-2.039.64-.932 0-1.165-.29-1.864-1.163l-5.707-8.96v8.67l1.806.407s0 1.047-1.458 1.047l-4.017.233c-.117-.233 0-.815.408-.931l1.048-.29V12.287l-1.456-.117c-.116-.524.174-1.28.99-1.338l4.31-.29 5.94 9.077v-8.03l-1.514-.174c-.117-.641.349-1.107.931-1.164l4.02-.234Z"
|
|
10
|
+
/>
|
|
11
|
+
</Svg>
|
|
12
|
+
);
|
|
13
|
+
};
|
|
@@ -7,6 +7,7 @@ export * from "./BrandFront";
|
|
|
7
7
|
export * from "./BrandGoogleDriveIcon";
|
|
8
8
|
export * from "./BrandJira";
|
|
9
9
|
export * from "./BrandMicrosoftTeams";
|
|
10
|
+
export * from "./BrandNotion";
|
|
10
11
|
export * from "./BrandSalesforce";
|
|
11
12
|
export * from "./BrandSlack";
|
|
12
13
|
export * from "./BrandZendesk";
|
|
@@ -22,6 +22,7 @@ import {
|
|
|
22
22
|
JiraSvg,
|
|
23
23
|
JumpcloudSvg,
|
|
24
24
|
MicrosoftTeamsSvg,
|
|
25
|
+
NotionSvg,
|
|
25
26
|
OktaSvg,
|
|
26
27
|
OneLoginSvg,
|
|
27
28
|
ServiceNowSvg,
|
|
@@ -78,6 +79,8 @@ const IntegrationLogoSvg = ({ logo, ...rest }: IntegrationLogoSvgProps) => {
|
|
|
78
79
|
return <JumpcloudSvg {...rest} />;
|
|
79
80
|
case "microsoft_teams":
|
|
80
81
|
return <MicrosoftTeamsSvg {...rest} />;
|
|
82
|
+
case "notion":
|
|
83
|
+
return <NotionSvg {...rest} />;
|
|
81
84
|
case "okta":
|
|
82
85
|
return <OktaSvg {...rest} />;
|
|
83
86
|
case "onelogin":
|
|
@@ -18,6 +18,7 @@ export { JamfSvg } from "./jamf";
|
|
|
18
18
|
export { JiraSvg } from "./jira";
|
|
19
19
|
export { JumpcloudSvg } from "./jumpcloud";
|
|
20
20
|
export { MicrosoftTeamsSvg } from "./microsoft-teams";
|
|
21
|
+
export { NotionSvg } from "./notion";
|
|
21
22
|
export { OktaSvg } from "./okta";
|
|
22
23
|
export { OneLoginSvg } from "./onelogin";
|
|
23
24
|
export { ServiceNowSvg } from "./servicenow";
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { IntegrationLogoSvgWrapper, SvgLogoProps } from "./wrapper";
|
|
3
|
+
|
|
4
|
+
export const NotionSvg = ({
|
|
5
|
+
color = "#000",
|
|
6
|
+
square,
|
|
7
|
+
...rest
|
|
8
|
+
}: SvgLogoProps) => {
|
|
9
|
+
const viewBox = square ? "0 0 30 30" : "0 0 105 30";
|
|
10
|
+
return (
|
|
11
|
+
<IntegrationLogoSvgWrapper viewBox={viewBox} {...rest}>
|
|
12
|
+
<title>Notion integration logo</title>
|
|
13
|
+
<path
|
|
14
|
+
fill={color}
|
|
15
|
+
d="M18.403.068 1.805 1.291C.466 1.406 0 2.28 0 3.326v18.155c0 .816.29 1.513.99 2.444l3.902 5.063c.64.815 1.223.99 2.447.93l19.275-1.163c1.63-.116 2.097-.873 2.097-2.153V6.178c0-.662-.262-.853-1.034-1.416a89.567 89.567 0 0 1-.132-.097L22.247.941C20.966.011 20.44-.107 18.403.068ZM7.776 5.843c-1.574.106-1.931.13-2.825-.596L2.678 3.443c-.232-.233-.115-.524.467-.581l15.957-1.164c1.339-.117 2.038.35 2.562.756l2.737 1.979c.116.058.407.407.058.407l-16.48.99-.203.013ZM5.94 26.427V9.087c0-.756.233-1.105.932-1.164l18.926-1.105c.642-.058.933.35.933 1.105v17.223c0 .758-.117 1.398-1.166 1.456L7.455 27.65c-1.05.058-1.515-.29-1.515-1.223Zm17.88-16.41c.116.525 0 1.049-.526 1.108l-.872.174v12.8c-.758.408-1.457.64-2.039.64-.932 0-1.165-.29-1.864-1.163l-5.707-8.96v8.67l1.806.407s0 1.047-1.458 1.047l-4.017.233c-.117-.233 0-.815.408-.931l1.048-.29V12.287l-1.456-.117c-.116-.524.174-1.28.99-1.338l4.31-.29 5.94 9.077v-8.03l-1.514-.174c-.117-.641.349-1.107.931-1.164l4.02-.234Z"
|
|
16
|
+
/>
|
|
17
|
+
|
|
18
|
+
{!square && (
|
|
19
|
+
<path
|
|
20
|
+
fill={color}
|
|
21
|
+
d="M50.995 7.02V23.23h-2.587L40.739 12.14h-.134V23.23h-2.913V7.02h2.612l7.652 11.087h.15V7.021h2.89Zm7.715 16.446c-1.187 0-2.216-.261-3.087-.784a5.269 5.269 0 0 1-2.018-2.192c-.474-.939-.712-2.036-.712-3.292 0-1.256.237-2.356.712-3.3s1.148-1.678 2.018-2.2c.87-.522 1.9-.784 3.087-.784 1.182 0 2.208.262 3.078.784.87.522 1.544 1.256 2.018 2.2.48.944.72 2.044.72 3.3 0 1.256-.24 2.353-.72 3.292a5.269 5.269 0 0 1-2.018 2.193c-.87.522-1.896.783-3.078.783Zm.008-2.28c.654 0 1.197-.176 1.63-.53.433-.358.757-.838.973-1.44.217-.607.325-1.282.325-2.026 0-.744-.108-1.419-.325-2.026-.216-.607-.54-1.09-.973-1.448-.433-.364-.976-.546-1.63-.546-.66 0-1.209.182-1.646.546-.438.359-.765.841-.982 1.448-.21.607-.316 1.282-.316 2.026 0 .744.105 1.42.316 2.026.217.602.544 1.082.982 1.44.438.354.986.53 1.646.53ZM72.33 11.074v2.2h-6.964v-2.2h6.964ZM67.09 8.16h2.842v11.42c0 .385.058.68.174.887.121.205.28.345.475.419.195.074.414.11.657.11a2.8 2.8 0 0 0 .49-.039c.148-.026.264-.05.349-.071l.474 2.224a6.49 6.49 0 0 1-.648.174c-.28.063-.623.1-1.03.11-.712.022-1.355-.086-1.93-.324a3.04 3.04 0 0 1-1.361-1.116c-.333-.506-.496-1.142-.491-1.907V8.16Zm6.983 15.069V11.073h2.85v12.156h-2.85Zm1.433-13.89c-.454 0-.842-.15-1.164-.45a1.456 1.456 0 0 1-.483-1.093c0-.427.161-.791.483-1.092a1.645 1.645 0 0 1 1.163-.459c.454 0 .842.153 1.164.46.327.3.49.664.49 1.091 0 .422-.163.786-.49 1.092-.322.301-.71.452-1.163.452Zm8.99 14.127c-1.187 0-2.216-.261-3.087-.784a5.268 5.268 0 0 1-2.018-2.192c-.474-.939-.712-2.036-.712-3.292 0-1.256.238-2.356.712-3.3.475-.944 1.148-1.678 2.018-2.2.871-.522 1.9-.784 3.087-.784 1.182 0 2.208.262 3.078.784.871.522 1.544 1.256 2.019 2.2.48.944.72 2.044.72 3.3 0 1.256-.24 2.353-.72 3.292a5.267 5.267 0 0 1-2.019 2.193c-.87.522-1.896.783-3.078.783Zm.008-2.28c.654 0 1.197-.176 1.63-.53.433-.358.757-.838.974-1.44.216-.607.324-1.282.324-2.026 0-.744-.108-1.419-.324-2.026-.217-.607-.541-1.09-.974-1.448-.433-.364-.976-.546-1.63-.546-.66 0-1.208.182-1.646.546-.438.359-.765.841-.982 1.448-.21.607-.316 1.282-.316 2.026 0 .744.105 1.42.316 2.026.217.602.544 1.082.982 1.44.438.354.986.53 1.646.53Zm10.406-5.088v7.13h-2.848V11.074h2.722v2.057h.143a3.48 3.48 0 0 1 1.337-1.614c.617-.401 1.38-.602 2.288-.602.833 0 1.561.18 2.184.539a3.63 3.63 0 0 1 1.456 1.559c.348.68.522 1.506.522 2.477v7.74h-2.84v-7.305c0-.813-.212-1.448-.634-1.907-.423-.464-1.006-.697-1.75-.697-.5 0-.946.111-1.337.333-.39.216-.696.532-.918.95-.216.41-.325.91-.325 1.495Z"
|
|
22
|
+
/>
|
|
23
|
+
)}
|
|
24
|
+
</IntegrationLogoSvgWrapper>
|
|
25
|
+
);
|
|
26
|
+
};
|
|
@@ -11,8 +11,11 @@ const b = bemHOF("TopBar");
|
|
|
11
11
|
|
|
12
12
|
export interface TopBarProps extends BoxProps {
|
|
13
13
|
leftSlot: ReactNode;
|
|
14
|
+
leftSlotClassName?: string;
|
|
14
15
|
middleSlot?: ReactNode;
|
|
16
|
+
middleSlotClassName?: string;
|
|
15
17
|
rightSlot?: ReactNode;
|
|
18
|
+
rightSlotClassName?: string;
|
|
16
19
|
removePadding?: boolean;
|
|
17
20
|
}
|
|
18
21
|
|
|
@@ -21,8 +24,11 @@ export interface TopBarProps extends BoxProps {
|
|
|
21
24
|
*/
|
|
22
25
|
const TopBar = ({
|
|
23
26
|
leftSlot,
|
|
27
|
+
leftSlotClassName,
|
|
24
28
|
middleSlot,
|
|
29
|
+
middleSlotClassName,
|
|
25
30
|
rightSlot,
|
|
31
|
+
rightSlotClassName,
|
|
26
32
|
removePadding = false,
|
|
27
33
|
className,
|
|
28
34
|
...rest
|
|
@@ -30,18 +36,27 @@ const TopBar = ({
|
|
|
30
36
|
return (
|
|
31
37
|
<Flex className={classNames(b(), className)} {...rest}>
|
|
32
38
|
<Flex
|
|
33
|
-
className={classNames(
|
|
39
|
+
className={classNames(
|
|
40
|
+
b({ e: "left-slot" }),
|
|
41
|
+
!removePadding && "pl-8",
|
|
42
|
+
leftSlotClassName,
|
|
43
|
+
)}
|
|
34
44
|
>
|
|
35
45
|
{leftSlot}
|
|
36
46
|
</Flex>
|
|
37
47
|
{middleSlot && (
|
|
38
|
-
<Flex
|
|
48
|
+
<Flex
|
|
49
|
+
className={classNames(b({ e: "middle-slot" }), middleSlotClassName)}
|
|
50
|
+
>
|
|
51
|
+
{middleSlot}
|
|
52
|
+
</Flex>
|
|
39
53
|
)}
|
|
40
54
|
{rightSlot && (
|
|
41
55
|
<Flex
|
|
42
56
|
className={classNames(
|
|
43
57
|
b({ e: "right-slot" }),
|
|
44
58
|
!removePadding && "pr-8",
|
|
59
|
+
rightSlotClassName,
|
|
45
60
|
)}
|
|
46
61
|
>
|
|
47
62
|
{rightSlot}
|