@conveyorhq/arrow-ds 1.55.2 → 1.56.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 +2 -0
- package/public/components/Icon/Icon.js +4 -0
- package/public/components/Icon/svg/BadgeCheck.d.ts +2 -0
- package/public/components/Icon/svg/BadgeCheck.js +13 -0
- package/public/components/Icon/svg/Folders.d.ts +2 -0
- package/public/components/Icon/svg/Folders.js +13 -0
- package/public/components/Icon/svg/index.d.ts +2 -0
- package/public/components/Icon/svg/index.js +2 -0
- package/src/components/Icon/Icon.tsx +6 -0
- package/src/components/Icon/svg/BadgeCheck.tsx +13 -0
- package/src/components/Icon/svg/Folders.tsx +13 -0
- package/src/components/Icon/svg/index.ts +2 -0
package/package.json
CHANGED
|
@@ -3,8 +3,10 @@ import { FlipProp } from "@fortawesome/fontawesome-svg-core";
|
|
|
3
3
|
import { STATUS_VARIANT } from "../../types";
|
|
4
4
|
export declare enum CUSTOM_ICON_TYPE {
|
|
5
5
|
ARROW_TO_BOTTOM = "arrow-to-bottom",
|
|
6
|
+
BADGE_CHECK = "badge-check",
|
|
6
7
|
COMMENT_ALT_CHECK = "comment-alt-check",
|
|
7
8
|
DIALOG_CHECK = "dialog-check",
|
|
9
|
+
FOLDERS = "folders",
|
|
8
10
|
SCROLL = "scroll",
|
|
9
11
|
SPARKLE = "sparkle",
|
|
10
12
|
TRIANGLE_DOWN = "triangle-down",
|
|
@@ -154,8 +154,10 @@ fontawesome_svg_core_1.library.add(faArchive_1.faArchive, faArrowDown_1.faArrowD
|
|
|
154
154
|
var CUSTOM_ICON_TYPE;
|
|
155
155
|
(function (CUSTOM_ICON_TYPE) {
|
|
156
156
|
CUSTOM_ICON_TYPE["ARROW_TO_BOTTOM"] = "arrow-to-bottom";
|
|
157
|
+
CUSTOM_ICON_TYPE["BADGE_CHECK"] = "badge-check";
|
|
157
158
|
CUSTOM_ICON_TYPE["COMMENT_ALT_CHECK"] = "comment-alt-check";
|
|
158
159
|
CUSTOM_ICON_TYPE["DIALOG_CHECK"] = "dialog-check";
|
|
160
|
+
CUSTOM_ICON_TYPE["FOLDERS"] = "folders";
|
|
159
161
|
CUSTOM_ICON_TYPE["SCROLL"] = "scroll";
|
|
160
162
|
CUSTOM_ICON_TYPE["SPARKLE"] = "sparkle";
|
|
161
163
|
CUSTOM_ICON_TYPE["TRIANGLE_DOWN"] = "triangle-down";
|
|
@@ -163,8 +165,10 @@ var CUSTOM_ICON_TYPE;
|
|
|
163
165
|
})(CUSTOM_ICON_TYPE = exports.CUSTOM_ICON_TYPE || (exports.CUSTOM_ICON_TYPE = {}));
|
|
164
166
|
const CustomIcons = {
|
|
165
167
|
[CUSTOM_ICON_TYPE.ARROW_TO_BOTTOM]: svg_1.ArrowToBottom,
|
|
168
|
+
[CUSTOM_ICON_TYPE.BADGE_CHECK]: svg_1.BadgeCheck,
|
|
166
169
|
[CUSTOM_ICON_TYPE.COMMENT_ALT_CHECK]: svg_1.CommentAltCheck,
|
|
167
170
|
[CUSTOM_ICON_TYPE.DIALOG_CHECK]: svg_1.DialogCheck,
|
|
171
|
+
[CUSTOM_ICON_TYPE.FOLDERS]: svg_1.Folders,
|
|
168
172
|
[CUSTOM_ICON_TYPE.SCROLL]: svg_1.Scroll,
|
|
169
173
|
[CUSTOM_ICON_TYPE.SPARKLE]: svg_1.Sparkle,
|
|
170
174
|
[CUSTOM_ICON_TYPE.TRIANGLE_DOWN]: svg_1.TriangleDown,
|
|
@@ -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.BadgeCheck = void 0;
|
|
7
|
+
const react_1 = __importDefault(require("react"));
|
|
8
|
+
const Svg_1 = require("../../Svg");
|
|
9
|
+
const BadgeCheck = (props) => {
|
|
10
|
+
return (react_1.default.createElement(Svg_1.Svg, Object.assign({ width: "15", height: "15", viewBox: "0 0 15 15", fill: "none" }, props),
|
|
11
|
+
react_1.default.createElement("path", { d: "M14.5 7.75C14.5 6.73828 13.8438 5.86328 12.9141 5.50781C13.3242 4.63281 13.1602 3.53906 12.4492 2.80078C11.7109 2.08984 10.6172 1.92578 9.74219 2.33594C9.38672 1.40625 8.51172 0.75 7.5 0.75C6.46094 0.75 5.58594 1.40625 5.23047 2.33594C4.35547 1.92578 3.26172 2.08984 2.55078 2.80078C1.8125 3.53906 1.64844 4.63281 2.05859 5.50781C1.12891 5.86328 0.5 6.73828 0.5 7.75C0.5 8.78906 1.12891 9.66406 2.05859 10.0195C1.64844 10.8945 1.8125 11.9883 2.55078 12.6992C3.26172 13.4375 4.35547 13.6016 5.23047 13.1914C5.58594 14.1211 6.46094 14.75 7.5 14.75C8.51172 14.75 9.38672 14.1211 9.74219 13.1914C10.6445 13.6016 11.7109 13.4375 12.4492 12.6992C13.1602 11.9883 13.3242 10.8945 12.9141 10.0195C13.8438 9.66406 14.5 8.78906 14.5 7.75ZM10.5352 6.54688L6.95312 10.1016C6.81641 10.2383 6.625 10.2109 6.51562 10.1016L4.4375 8.02344C4.32812 7.91406 4.32812 7.72266 4.4375 7.58594L5.14844 6.875C5.28516 6.76562 5.47656 6.76562 5.58594 6.90234L6.73438 8.05078L9.38672 5.42578C9.52344 5.28906 9.71484 5.28906 9.82422 5.42578L10.5352 6.13672C10.6445 6.24609 10.6445 6.4375 10.5352 6.54688Z", fill: "currentColor" })));
|
|
12
|
+
};
|
|
13
|
+
exports.BadgeCheck = BadgeCheck;
|
|
@@ -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.Folders = void 0;
|
|
7
|
+
const react_1 = __importDefault(require("react"));
|
|
8
|
+
const Svg_1 = require("../../Svg");
|
|
9
|
+
const Folders = (props) => {
|
|
10
|
+
return (react_1.default.createElement(Svg_1.Svg, Object.assign({ width: "18", height: "15", viewBox: "0 0 18 15", fill: "none" }, props),
|
|
11
|
+
react_1.default.createElement("path", { d: "M2.625 9.4375V3.75H1.3125C0.574219 3.75 0 4.35156 0 5.0625V12.9375C0 13.6758 0.574219 14.25 1.3125 14.25H12.6875C13.3984 14.25 14 13.6758 14 12.9375V11.625H4.8125C3.58203 11.625 2.625 10.668 2.625 9.4375ZM16.1875 2H10.9375L9.1875 0.25H4.8125C4.07422 0.25 3.5 0.851562 3.5 1.5625V9.4375C3.5 10.1758 4.07422 10.75 4.8125 10.75H16.1875C16.8984 10.75 17.5 10.1758 17.5 9.4375V3.3125C17.5 2.60156 16.8984 2 16.1875 2Z", fill: "currentColor" })));
|
|
12
|
+
};
|
|
13
|
+
exports.Folders = Folders;
|
|
@@ -11,8 +11,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
11
11
|
};
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
13
|
__exportStar(require("./ArrowToBottom"), exports);
|
|
14
|
+
__exportStar(require("./BadgeCheck"), exports);
|
|
14
15
|
__exportStar(require("./CommentAltCheck"), exports);
|
|
15
16
|
__exportStar(require("./DialogCheck"), exports);
|
|
17
|
+
__exportStar(require("./Folders"), exports);
|
|
16
18
|
__exportStar(require("./Scroll"), exports);
|
|
17
19
|
__exportStar(require("./Sparkle"), exports);
|
|
18
20
|
__exportStar(require("./Triangle"), exports);
|
|
@@ -128,8 +128,10 @@ import { faUserShield } from "@fortawesome/free-solid-svg-icons/faUserShield";
|
|
|
128
128
|
// Custom icon SVGs
|
|
129
129
|
import {
|
|
130
130
|
ArrowToBottom,
|
|
131
|
+
BadgeCheck,
|
|
131
132
|
CommentAltCheck,
|
|
132
133
|
DialogCheck,
|
|
134
|
+
Folders,
|
|
133
135
|
Scroll,
|
|
134
136
|
Sparkle,
|
|
135
137
|
TriangleDown,
|
|
@@ -266,8 +268,10 @@ library.add(
|
|
|
266
268
|
|
|
267
269
|
export enum CUSTOM_ICON_TYPE {
|
|
268
270
|
ARROW_TO_BOTTOM = "arrow-to-bottom",
|
|
271
|
+
BADGE_CHECK = "badge-check",
|
|
269
272
|
COMMENT_ALT_CHECK = "comment-alt-check",
|
|
270
273
|
DIALOG_CHECK = "dialog-check",
|
|
274
|
+
FOLDERS = "folders",
|
|
271
275
|
SCROLL = "scroll",
|
|
272
276
|
SPARKLE = "sparkle",
|
|
273
277
|
TRIANGLE_DOWN = "triangle-down",
|
|
@@ -280,8 +284,10 @@ type CustomIconPaths = Record<
|
|
|
280
284
|
>;
|
|
281
285
|
const CustomIcons: CustomIconPaths = {
|
|
282
286
|
[CUSTOM_ICON_TYPE.ARROW_TO_BOTTOM]: ArrowToBottom,
|
|
287
|
+
[CUSTOM_ICON_TYPE.BADGE_CHECK]: BadgeCheck,
|
|
283
288
|
[CUSTOM_ICON_TYPE.COMMENT_ALT_CHECK]: CommentAltCheck,
|
|
284
289
|
[CUSTOM_ICON_TYPE.DIALOG_CHECK]: DialogCheck,
|
|
290
|
+
[CUSTOM_ICON_TYPE.FOLDERS]: Folders,
|
|
285
291
|
[CUSTOM_ICON_TYPE.SCROLL]: Scroll,
|
|
286
292
|
[CUSTOM_ICON_TYPE.SPARKLE]: Sparkle,
|
|
287
293
|
[CUSTOM_ICON_TYPE.TRIANGLE_DOWN]: TriangleDown,
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Svg, SvgProps } from "../../Svg";
|
|
3
|
+
|
|
4
|
+
export const BadgeCheck = (props: SvgProps) => {
|
|
5
|
+
return (
|
|
6
|
+
<Svg width="15" height="15" viewBox="0 0 15 15" fill="none" {...props}>
|
|
7
|
+
<path
|
|
8
|
+
d="M14.5 7.75C14.5 6.73828 13.8438 5.86328 12.9141 5.50781C13.3242 4.63281 13.1602 3.53906 12.4492 2.80078C11.7109 2.08984 10.6172 1.92578 9.74219 2.33594C9.38672 1.40625 8.51172 0.75 7.5 0.75C6.46094 0.75 5.58594 1.40625 5.23047 2.33594C4.35547 1.92578 3.26172 2.08984 2.55078 2.80078C1.8125 3.53906 1.64844 4.63281 2.05859 5.50781C1.12891 5.86328 0.5 6.73828 0.5 7.75C0.5 8.78906 1.12891 9.66406 2.05859 10.0195C1.64844 10.8945 1.8125 11.9883 2.55078 12.6992C3.26172 13.4375 4.35547 13.6016 5.23047 13.1914C5.58594 14.1211 6.46094 14.75 7.5 14.75C8.51172 14.75 9.38672 14.1211 9.74219 13.1914C10.6445 13.6016 11.7109 13.4375 12.4492 12.6992C13.1602 11.9883 13.3242 10.8945 12.9141 10.0195C13.8438 9.66406 14.5 8.78906 14.5 7.75ZM10.5352 6.54688L6.95312 10.1016C6.81641 10.2383 6.625 10.2109 6.51562 10.1016L4.4375 8.02344C4.32812 7.91406 4.32812 7.72266 4.4375 7.58594L5.14844 6.875C5.28516 6.76562 5.47656 6.76562 5.58594 6.90234L6.73438 8.05078L9.38672 5.42578C9.52344 5.28906 9.71484 5.28906 9.82422 5.42578L10.5352 6.13672C10.6445 6.24609 10.6445 6.4375 10.5352 6.54688Z"
|
|
9
|
+
fill="currentColor"
|
|
10
|
+
/>
|
|
11
|
+
</Svg>
|
|
12
|
+
);
|
|
13
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Svg, SvgProps } from "../../Svg";
|
|
3
|
+
|
|
4
|
+
export const Folders = (props: SvgProps) => {
|
|
5
|
+
return (
|
|
6
|
+
<Svg width="18" height="15" viewBox="0 0 18 15" fill="none" {...props}>
|
|
7
|
+
<path
|
|
8
|
+
d="M2.625 9.4375V3.75H1.3125C0.574219 3.75 0 4.35156 0 5.0625V12.9375C0 13.6758 0.574219 14.25 1.3125 14.25H12.6875C13.3984 14.25 14 13.6758 14 12.9375V11.625H4.8125C3.58203 11.625 2.625 10.668 2.625 9.4375ZM16.1875 2H10.9375L9.1875 0.25H4.8125C4.07422 0.25 3.5 0.851562 3.5 1.5625V9.4375C3.5 10.1758 4.07422 10.75 4.8125 10.75H16.1875C16.8984 10.75 17.5 10.1758 17.5 9.4375V3.3125C17.5 2.60156 16.8984 2 16.1875 2Z"
|
|
9
|
+
fill="currentColor"
|
|
10
|
+
/>
|
|
11
|
+
</Svg>
|
|
12
|
+
);
|
|
13
|
+
};
|