@conveyorhq/arrow-ds 1.183.0 → 1.183.2

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 CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@conveyorhq/arrow-ds",
3
3
  "author": "Conveyor",
4
4
  "license": "MIT",
5
- "version": "1.183.0",
5
+ "version": "1.183.2",
6
6
  "description": "Arrow Design System",
7
7
  "repository": "https://github.com/conveyor/arrow-ds",
8
8
  "publishConfig": {
@@ -5,17 +5,18 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.MarkdownDirectiveChipInfo = exports.MarkdownDirectiveChipConveyor = exports.MarkdownDirectiveChipSalesforce = void 0;
7
7
  const react_1 = __importDefault(require("react"));
8
+ const classnames_1 = __importDefault(require("classnames"));
8
9
  const tokens_1 = require("../../../style-dictionary/dist/tokens");
9
10
  const Chip_1 = require("../../Chip");
10
11
  const IntegrationLogo_1 = require("../../IntegrationLogo");
11
12
  const sharedProps = {
12
- className: "inline-flex uppercase",
13
+ className: "inline-flex",
13
14
  style: {
14
15
  verticalAlign: "text-bottom",
15
16
  },
16
17
  };
17
18
  const MarkdownDirectiveChipSalesforce = ({ children, }) => {
18
- return (react_1.default.createElement(Chip_1.Chip.Integration, { integration: "salesforce", ...sharedProps }, children.replace("=>", "→")));
19
+ return (react_1.default.createElement(Chip_1.Chip.Integration, { integration: "salesforce", className: (0, classnames_1.default)("uppercase", sharedProps.className), style: sharedProps.style }, children));
19
20
  };
20
21
  exports.MarkdownDirectiveChipSalesforce = MarkdownDirectiveChipSalesforce;
21
22
  const MarkdownDirectiveChipConveyor = ({ children, }) => {
@@ -1,10 +1,11 @@
1
1
  import React from "react";
2
+ import classNames from "classnames";
2
3
  import { tokens } from "../../../style-dictionary/dist/tokens";
3
4
  import { Chip } from "../../Chip";
4
5
  import { IntegrationLogo } from "../../IntegrationLogo";
5
6
 
6
7
  const sharedProps = {
7
- className: "inline-flex uppercase",
8
+ className: "inline-flex",
8
9
  style: {
9
10
  verticalAlign: "text-bottom",
10
11
  },
@@ -16,8 +17,12 @@ export const MarkdownDirectiveChipSalesforce = ({
16
17
  children: string;
17
18
  }) => {
18
19
  return (
19
- <Chip.Integration integration="salesforce" {...sharedProps}>
20
- {children.replace("=>", "→")}
20
+ <Chip.Integration
21
+ integration="salesforce"
22
+ className={classNames("uppercase", sharedProps.className)}
23
+ style={sharedProps.style}
24
+ >
25
+ {children}
21
26
  </Chip.Integration>
22
27
  );
23
28
  };