@primer/octovisuals-react 0.3.0 → 0.3.1-rc.274166a
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/README.md +5 -4
- package/dist/icons/ActionsIcon.d.ts.map +1 -1
- package/dist/icons/ActionsIcon.js +77 -61
- package/dist/icons/AiModelIcon.d.ts.map +1 -1
- package/dist/icons/AiModelIcon.js +31 -6
- package/dist/icons/AlertCopilotIcon.d.ts.map +1 -1
- package/dist/icons/AlertCopilotIcon.js +70 -53
- package/dist/icons/AlertIcon.d.ts.map +1 -1
- package/dist/icons/AlertIcon.js +36 -21
- package/dist/icons/ArrowDownIcon.d.ts.map +1 -1
- package/dist/icons/ArrowDownIcon.js +82 -22
- package/dist/icons/ArrowLeftIcon.d.ts.map +1 -1
- package/dist/icons/ArrowLeftIcon.js +82 -22
- package/dist/icons/ArrowRightIcon.d.ts.map +1 -1
- package/dist/icons/ArrowRightIcon.js +71 -22
- package/dist/icons/ArrowUpIcon.d.ts.map +1 -1
- package/dist/icons/ArrowUpIcon.js +82 -22
- package/dist/icons/BracketsIcon.d.ts.map +1 -1
- package/dist/icons/BracketsIcon.js +32 -11
- package/dist/icons/BranchIcon.d.ts.map +1 -1
- package/dist/icons/BranchIcon.js +23 -6
- package/dist/icons/ButterflyIcon.d.ts.map +1 -1
- package/dist/icons/ButterflyIcon.js +46 -30
- package/dist/icons/ChangelogIcon.d.ts.map +1 -1
- package/dist/icons/ChangelogIcon.js +26 -4
- package/dist/icons/CheckCircleIcon.d.ts.map +1 -1
- package/dist/icons/CheckCircleIcon.js +28 -11
- package/dist/icons/CliPullRequestIcon.d.ts.map +1 -1
- package/dist/icons/CliPullRequestIcon.js +69 -49
- package/dist/icons/CodeDiffIcon.d.ts.map +1 -1
- package/dist/icons/CodeDiffIcon.js +14 -4
- package/dist/icons/CodeQlIcon.d.ts.map +1 -1
- package/dist/icons/CodeQlIcon.js +26 -7
- package/dist/icons/CoffeeIcon.d.ts.map +1 -1
- package/dist/icons/CoffeeIcon.js +83 -61
- package/dist/icons/CommentIcon.d.ts.map +1 -1
- package/dist/icons/CommentIcon.js +15 -6
- package/dist/icons/CommunityIcon.d.ts.map +1 -1
- package/dist/icons/CommunityIcon.js +83 -28
- package/dist/icons/ConnectionBrokenIcon.d.ts.map +1 -1
- package/dist/icons/ConnectionBrokenIcon.js +48 -31
- package/dist/icons/ConnectionIcon.d.ts.map +1 -1
- package/dist/icons/ConnectionIcon.js +14 -8
- package/dist/icons/CopyIcon.d.ts.map +1 -1
- package/dist/icons/CopyIcon.js +7 -4
- package/dist/icons/CpuIcon.d.ts.map +1 -1
- package/dist/icons/CpuIcon.js +108 -94
- package/dist/icons/DataDrivenRecommendationsIcon.d.ts.map +1 -1
- package/dist/icons/DataDrivenRecommendationsIcon.js +104 -82
- package/dist/icons/DiscussionIcon.d.ts.map +1 -1
- package/dist/icons/DiscussionIcon.js +49 -26
- package/dist/icons/DocumentCopilotIcon.d.ts.map +1 -1
- package/dist/icons/DocumentCopilotIcon.js +78 -53
- package/dist/icons/DocumentDownloadIcon.d.ts.map +1 -1
- package/dist/icons/DocumentDownloadIcon.js +55 -35
- package/dist/icons/DocumentIcon.d.ts.map +1 -1
- package/dist/icons/DocumentIcon.js +17 -8
- package/dist/icons/DocumentPassIcon.d.ts.map +1 -1
- package/dist/icons/DocumentPassIcon.js +47 -28
- package/dist/icons/DocumentsIcon.d.ts.map +1 -1
- package/dist/icons/DocumentsIcon.js +12 -5
- package/dist/icons/DoorIcon.d.ts.map +1 -1
- package/dist/icons/DoorIcon.js +48 -31
- package/dist/icons/EcosystemIcon.d.ts.map +1 -1
- package/dist/icons/EcosystemIcon.js +101 -81
- package/dist/icons/EyeIcon.d.ts.map +1 -1
- package/dist/icons/EyeIcon.js +17 -6
- package/dist/icons/GitPullRequestIcon.d.ts.map +1 -1
- package/dist/icons/GitPullRequestIcon.js +31 -6
- package/dist/icons/GithubIcon.d.ts.map +1 -1
- package/dist/icons/GithubIcon.js +68 -13
- package/dist/icons/GlobeIcon.d.ts.map +1 -1
- package/dist/icons/GlobeIcon.js +73 -21
- package/dist/icons/HeartIcon.d.ts.map +1 -1
- package/dist/icons/HeartIcon.js +10 -15
- package/dist/icons/HourglassIcon.d.ts.map +1 -1
- package/dist/icons/HourglassIcon.js +25 -13
- package/dist/icons/InformationIcon.d.ts.map +1 -1
- package/dist/icons/InformationIcon.js +46 -30
- package/dist/icons/ListOrderedIcon.d.ts.map +1 -1
- package/dist/icons/ListOrderedIcon.js +50 -26
- package/dist/icons/LockIcon.d.ts.map +1 -1
- package/dist/icons/LockIcon.js +26 -13
- package/dist/icons/MentionIcon.d.ts.map +1 -1
- package/dist/icons/MentionIcon.js +50 -29
- package/dist/icons/MoonIcon.d.ts.map +1 -1
- package/dist/icons/MoonIcon.js +15 -6
- package/dist/icons/NorthStarIcon.d.ts.map +1 -1
- package/dist/icons/NorthStarIcon.js +13 -5
- package/dist/icons/PeopleIcon.d.ts.map +1 -1
- package/dist/icons/PeopleIcon.js +54 -24
- package/dist/icons/PersonIcon.d.ts.map +1 -1
- package/dist/icons/PersonIcon.js +37 -17
- package/dist/icons/PullRequestIcon.d.ts.map +1 -1
- package/dist/icons/PullRequestIcon.js +34 -18
- package/dist/icons/QuestionIcon.d.ts.map +1 -1
- package/dist/icons/QuestionIcon.js +35 -20
- package/dist/icons/ReadIcon.d.ts.map +1 -1
- package/dist/icons/ReadIcon.js +15 -6
- package/dist/icons/ReportIcon.d.ts.map +1 -1
- package/dist/icons/ReportIcon.js +14 -6
- package/dist/icons/SearchIcon.d.ts.map +1 -1
- package/dist/icons/SearchIcon.js +44 -28
- package/dist/icons/SettingsIcon.d.ts.map +1 -1
- package/dist/icons/SettingsIcon.js +39 -18
- package/dist/icons/SmileyIcon.d.ts.map +1 -1
- package/dist/icons/SmileyIcon.js +49 -29
- package/dist/icons/StackIcon.d.ts.map +1 -1
- package/dist/icons/StackIcon.js +47 -31
- package/dist/icons/SunIcon.d.ts.map +1 -1
- package/dist/icons/SunIcon.js +116 -89
- package/dist/icons/TaskListIcon.d.ts.map +1 -1
- package/dist/icons/TaskListIcon.js +132 -107
- package/dist/icons/TerminalIcon.d.ts.map +1 -1
- package/dist/icons/TerminalIcon.js +11 -4
- package/dist/icons/VideoIcon.d.ts.map +1 -1
- package/dist/icons/VideoIcon.js +10 -4
- package/dist/icons/WikiGithubIcon.d.ts.map +1 -1
- package/dist/icons/WikiGithubIcon.js +59 -24
- package/dist/icons/WikiIcon.d.ts.map +1 -1
- package/dist/icons/WikiIcon.js +34 -7
- package/dist/icons/WorkflowIcon.d.ts.map +1 -1
- package/dist/icons/WorkflowIcon.js +84 -67
- package/dist/icons/ZapIcon.d.ts.map +1 -1
- package/dist/icons/ZapIcon.js +41 -25
- package/dist/metadata.js +100 -100
- package/dist/svgs/actions.svg +7 -0
- package/dist/svgs/ai-model.svg +3 -1
- package/dist/svgs/alert-copilot.svg +15 -10
- package/dist/svgs/alert.svg +11 -4
- package/dist/svgs/arrow-down.svg +20 -5
- package/dist/svgs/arrow-left.svg +19 -4
- package/dist/svgs/arrow-right.svg +15 -5
- package/dist/svgs/arrow-up.svg +20 -5
- package/dist/svgs/brackets.svg +7 -6
- package/dist/svgs/branch.svg +2 -1
- package/dist/svgs/butterfly.svg +10 -3
- package/dist/svgs/check-circle.svg +9 -2
- package/dist/svgs/cli-pull-request.svg +7 -0
- package/dist/svgs/code-ql.svg +5 -5
- package/dist/svgs/coffee.svg +18 -11
- package/dist/svgs/comment.svg +1 -1
- package/dist/svgs/community.svg +16 -4
- package/dist/svgs/connection-broken.svg +12 -5
- package/dist/svgs/connection.svg +4 -4
- package/dist/svgs/cpu.svg +8 -1
- package/dist/svgs/data-driven-recommendations.svg +8 -1
- package/dist/svgs/discussion.svg +10 -3
- package/dist/svgs/document-copilot.svg +13 -7
- package/dist/svgs/document-download.svg +10 -3
- package/dist/svgs/document-pass.svg +10 -3
- package/dist/svgs/document.svg +1 -1
- package/dist/svgs/documents.svg +1 -1
- package/dist/svgs/door.svg +7 -0
- package/dist/svgs/ecosystem.svg +10 -3
- package/dist/svgs/eye.svg +1 -1
- package/dist/svgs/git-pull-request.svg +3 -1
- package/dist/svgs/github.svg +14 -2
- package/dist/svgs/globe.svg +14 -3
- package/dist/svgs/heart.svg +3 -4
- package/dist/svgs/hourglass.svg +8 -8
- package/dist/svgs/information.svg +8 -1
- package/dist/svgs/list-ordered.svg +22 -22
- package/dist/svgs/lock.svg +8 -8
- package/dist/svgs/mention.svg +13 -6
- package/dist/svgs/moon.svg +1 -1
- package/dist/svgs/north-star.svg +2 -1
- package/dist/svgs/people.svg +12 -3
- package/dist/svgs/person.svg +10 -3
- package/dist/svgs/pull-request.svg +14 -14
- package/dist/svgs/question.svg +9 -2
- package/dist/svgs/read.svg +1 -1
- package/dist/svgs/report.svg +1 -1
- package/dist/svgs/search.svg +8 -1
- package/dist/svgs/settings.svg +11 -4
- package/dist/svgs/smiley.svg +9 -2
- package/dist/svgs/stack.svg +12 -5
- package/dist/svgs/sun.svg +13 -6
- package/dist/svgs/task-list.svg +23 -18
- package/dist/svgs/wiki-github.svg +13 -4
- package/dist/svgs/wiki.svg +4 -2
- package/dist/svgs/workflow.svg +10 -3
- package/dist/svgs/zap.svg +12 -5
- package/dist/types.d.ts +6 -2
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { forwardRef } from "react";
|
|
2
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
//#region src/icons/MentionIcon.tsx
|
|
4
|
-
var
|
|
5
|
-
|
|
4
|
+
var ANIMATION_STYLE = "@keyframes octovisual-draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}@keyframes octovisual-fade{from{opacity:0}to{opacity:1}}[data-octovisual-animation] path[stroke]{stroke-dasharray:1;stroke-dashoffset:1;animation:octovisual-draw 1s cubic-bezier(0.22,1,0.36,1) forwards}[data-octovisual-animation] path:not([stroke]){opacity:0;animation:octovisual-fade 0.5s cubic-bezier(0.22,1,0.36,1) 0.3s forwards}@media(prefers-reduced-motion:reduce){[data-octovisual-animation] path{animation:none!important;stroke-dashoffset:0!important;opacity:1!important}}";
|
|
5
|
+
var MentionIcon = forwardRef(function MentionIcon({ size, "aria-label": ariaLabel, animate, ...props }, ref) {
|
|
6
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [animate && /* @__PURE__ */ jsx("style", { children: ANIMATION_STYLE }), /* @__PURE__ */ jsxs("svg", {
|
|
6
7
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7
8
|
width: size ?? 96,
|
|
8
9
|
height: size ?? 96,
|
|
@@ -11,35 +12,55 @@ var MentionIcon = forwardRef(function MentionIcon({ size, "aria-label": ariaLabe
|
|
|
11
12
|
"aria-hidden": ariaLabel ? void 0 : true,
|
|
12
13
|
"aria-label": ariaLabel,
|
|
13
14
|
role: ariaLabel ? "img" : void 0,
|
|
15
|
+
"data-octovisual-animation": animate ? "" : void 0,
|
|
14
16
|
ref,
|
|
15
17
|
...props,
|
|
16
|
-
children: [
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
18
|
+
children: [/* @__PURE__ */ jsxs("g", {
|
|
19
|
+
clipPath: "url(#mention_a)",
|
|
20
|
+
children: [
|
|
21
|
+
/* @__PURE__ */ jsx("path", {
|
|
22
|
+
pathLength: 1,
|
|
23
|
+
stroke: "currentColor",
|
|
24
|
+
strokeLinecap: "round",
|
|
25
|
+
strokeMiterlimit: 10,
|
|
26
|
+
strokeWidth: 4,
|
|
27
|
+
d: "M71.8214 87.3591C64.8732 91.5735 56.7199 93.9999 48 94C22.5949 94 2.00027 73.405 2 48C2 22.5948 22.5948 2 48 2C73.405 2.00027 94 22.9028 94 48.3079C94 58.3989 87.8065 67.8888 77.7935 68C68.3559 68 62 61.9046 62 53.4305V37"
|
|
28
|
+
}),
|
|
29
|
+
/* @__PURE__ */ jsx("path", {
|
|
30
|
+
pathLength: 1,
|
|
31
|
+
fill: "#96A199",
|
|
32
|
+
d: "M44.7459 21.1525C49.6884 21.1525 53.6951 25.1592 53.6951 30.1017C53.6949 35.0439 49.6889 39.0506 44.7466 39.0508C39.8042 39.0508 35.7969 35.0441 35.7968 30.1017C35.7968 25.1593 39.8036 21.1527 44.7459 21.1525Z"
|
|
33
|
+
}),
|
|
34
|
+
/* @__PURE__ */ jsx("path", {
|
|
35
|
+
pathLength: 1,
|
|
36
|
+
fill: "#96A199",
|
|
37
|
+
d: "M29.2883 30.1017C34.2307 30.1017 38.2374 34.1084 38.2374 39.0508C38.2373 43.9931 34.2312 47.9998 29.289 48C24.3466 48 20.3392 43.9932 20.3391 39.0508C20.3391 34.1085 24.346 30.1019 29.2883 30.1017Z"
|
|
38
|
+
}),
|
|
39
|
+
/* @__PURE__ */ jsx("path", {
|
|
40
|
+
pathLength: 1,
|
|
41
|
+
fill: "#96A199",
|
|
42
|
+
d: "M29.2883 48C34.2307 48 38.2374 52.0067 38.2374 56.9492C38.2373 61.8914 34.2312 65.8981 29.289 65.8983C24.3466 65.8983 20.3392 61.8915 20.3391 56.9492C20.3391 52.0068 24.346 48.0002 29.2883 48Z"
|
|
43
|
+
}),
|
|
44
|
+
/* @__PURE__ */ jsx("path", {
|
|
45
|
+
pathLength: 1,
|
|
46
|
+
fill: "#96A199",
|
|
47
|
+
d: "M44.7459 39.0508C49.6884 39.0508 53.6951 43.0575 53.6951 48C53.6949 52.9423 49.6889 56.9489 44.7466 56.9491C39.8042 56.9491 35.7969 52.9424 35.7968 48C35.7968 43.0576 39.8036 39.051 44.7459 39.0508Z"
|
|
48
|
+
}),
|
|
49
|
+
/* @__PURE__ */ jsx("path", {
|
|
50
|
+
pathLength: 1,
|
|
51
|
+
fill: "#96A199",
|
|
52
|
+
d: "M44.7459 56.9492C49.6884 56.9492 53.6951 60.9558 53.6951 65.8983C53.6949 70.8406 49.6889 74.8473 44.7466 74.8475C39.8042 74.8475 35.7969 70.8407 35.7968 65.8983C35.7968 60.956 39.8036 56.9494 44.7459 56.9492Z"
|
|
53
|
+
})
|
|
54
|
+
]
|
|
55
|
+
}), /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", {
|
|
56
|
+
id: "mention_a",
|
|
57
|
+
children: /* @__PURE__ */ jsx("rect", {
|
|
58
|
+
width: 96,
|
|
59
|
+
height: 96,
|
|
60
|
+
fill: "white"
|
|
40
61
|
})
|
|
41
|
-
]
|
|
42
|
-
});
|
|
62
|
+
}) })]
|
|
63
|
+
})] });
|
|
43
64
|
});
|
|
44
65
|
MentionIcon.displayName = "MentionIcon";
|
|
45
66
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MoonIcon.d.ts","sourceRoot":"","sources":["../../src/icons/MoonIcon.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"MoonIcon.d.ts","sourceRoot":"","sources":["../../src/icons/MoonIcon.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAGnD,QAAA,MAAM,QAAQ,wHAOZ,CAAC;AAEH,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
package/dist/icons/MoonIcon.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { forwardRef } from "react";
|
|
2
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
//#region src/icons/MoonIcon.tsx
|
|
4
|
-
var
|
|
5
|
-
|
|
4
|
+
var ANIMATION_STYLE = "@keyframes octovisual-draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}@keyframes octovisual-fade{from{opacity:0}to{opacity:1}}[data-octovisual-animation] path[stroke]{stroke-dasharray:1;stroke-dashoffset:1;animation:octovisual-draw 1s cubic-bezier(0.22,1,0.36,1) forwards}[data-octovisual-animation] path:not([stroke]){opacity:0;animation:octovisual-fade 0.5s cubic-bezier(0.22,1,0.36,1) 0.3s forwards}@media(prefers-reduced-motion:reduce){[data-octovisual-animation] path{animation:none!important;stroke-dashoffset:0!important;opacity:1!important}}";
|
|
5
|
+
var MoonIcon = forwardRef(function MoonIcon({ size, "aria-label": ariaLabel, animate, ...props }, ref) {
|
|
6
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [animate && /* @__PURE__ */ jsx("style", { children: ANIMATION_STYLE }), /* @__PURE__ */ jsxs("svg", {
|
|
6
7
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7
8
|
width: size ?? 96,
|
|
8
9
|
height: size ?? 96,
|
|
@@ -11,27 +12,35 @@ var MoonIcon = forwardRef(function MoonIcon({ size, "aria-label": ariaLabel, ...
|
|
|
11
12
|
"aria-hidden": ariaLabel ? void 0 : true,
|
|
12
13
|
"aria-label": ariaLabel,
|
|
13
14
|
role: ariaLabel ? "img" : void 0,
|
|
15
|
+
"data-octovisual-animation": animate ? "" : void 0,
|
|
14
16
|
ref,
|
|
15
17
|
...props,
|
|
16
18
|
children: [
|
|
17
19
|
/* @__PURE__ */ jsx("path", {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
+
pathLength: 1,
|
|
21
|
+
stroke: "currentColor",
|
|
22
|
+
strokeLinecap: "round",
|
|
23
|
+
strokeMiterlimit: 10,
|
|
24
|
+
strokeWidth: 4,
|
|
25
|
+
d: "M44.4025 6.02937C43.3877 4.60456 44.3695 2.5342 46.1079 2.72815C68.8649 5.26701 86.5586 24.565 86.5588 47.9995C86.5586 73.161 66.1607 93.5588 40.9993 93.5591C31.466 93.559 22.6174 90.6303 15.3024 85.6241C13.8019 84.5972 14.5389 82.2849 16.3256 81.9474C31.7219 79.0391 45.6382 65.6392 50.6545 46.9634C54.7353 31.7698 51.9664 16.649 44.4025 6.02937Z"
|
|
20
26
|
}),
|
|
21
27
|
/* @__PURE__ */ jsx("path", {
|
|
28
|
+
pathLength: 1,
|
|
22
29
|
fill: "#96A199",
|
|
23
30
|
d: "M14 17C17.3137 17 20 19.6863 20 23C19.9999 26.3136 17.314 28.9999 14.0005 29C10.6868 29 8.00008 26.3136 8 23C8 19.6864 10.6864 17.0001 14 17Z"
|
|
24
31
|
}),
|
|
25
32
|
/* @__PURE__ */ jsx("path", {
|
|
33
|
+
pathLength: 1,
|
|
26
34
|
fill: "#96A199",
|
|
27
35
|
d: "M25 50C28.3137 50 31 52.6863 31 56C30.9999 59.3136 28.314 61.9999 25.0005 62C21.6868 62 19.0001 59.3136 19 56C19 52.6864 21.6864 50.0001 25 50Z"
|
|
28
36
|
}),
|
|
29
37
|
/* @__PURE__ */ jsx("path", {
|
|
38
|
+
pathLength: 1,
|
|
30
39
|
fill: "#96A199",
|
|
31
40
|
d: "M90 0C93.3137 -1.51144e-07 96 2.68629 96 6C95.9999 9.31356 93.314 11.9999 90.0005 12C86.6868 12 84.0001 9.31364 84 6C84 2.68637 86.6864 0.000131825 90 0Z"
|
|
32
41
|
})
|
|
33
42
|
]
|
|
34
|
-
});
|
|
43
|
+
})] });
|
|
35
44
|
});
|
|
36
45
|
MoonIcon.displayName = "MoonIcon";
|
|
37
46
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NorthStarIcon.d.ts","sourceRoot":"","sources":["../../src/icons/NorthStarIcon.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"NorthStarIcon.d.ts","sourceRoot":"","sources":["../../src/icons/NorthStarIcon.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAGnD,QAAA,MAAM,aAAa,wHAOjB,CAAC;AAEH,OAAO,EAAE,aAAa,EAAE,CAAC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { forwardRef } from "react";
|
|
2
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
//#region src/icons/NorthStarIcon.tsx
|
|
4
|
-
var
|
|
5
|
-
|
|
4
|
+
var ANIMATION_STYLE = "@keyframes octovisual-draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}@keyframes octovisual-fade{from{opacity:0}to{opacity:1}}[data-octovisual-animation] path[stroke]{stroke-dasharray:1;stroke-dashoffset:1;animation:octovisual-draw 1s cubic-bezier(0.22,1,0.36,1) forwards}[data-octovisual-animation] path:not([stroke]){opacity:0;animation:octovisual-fade 0.5s cubic-bezier(0.22,1,0.36,1) 0.3s forwards}@media(prefers-reduced-motion:reduce){[data-octovisual-animation] path{animation:none!important;stroke-dashoffset:0!important;opacity:1!important}}";
|
|
5
|
+
var NorthStarIcon = forwardRef(function NorthStarIcon({ size, "aria-label": ariaLabel, animate, ...props }, ref) {
|
|
6
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [animate && /* @__PURE__ */ jsx("style", { children: ANIMATION_STYLE }), /* @__PURE__ */ jsxs("svg", {
|
|
6
7
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7
8
|
width: size ?? 96,
|
|
8
9
|
height: size ?? 96,
|
|
@@ -11,6 +12,7 @@ var NorthStarIcon = forwardRef(function NorthStarIcon({ size, "aria-label": aria
|
|
|
11
12
|
"aria-hidden": ariaLabel ? void 0 : true,
|
|
12
13
|
"aria-label": ariaLabel,
|
|
13
14
|
role: ariaLabel ? "img" : void 0,
|
|
15
|
+
"data-octovisual-animation": animate ? "" : void 0,
|
|
14
16
|
ref,
|
|
15
17
|
...props,
|
|
16
18
|
children: [
|
|
@@ -30,14 +32,20 @@ var NorthStarIcon = forwardRef(function NorthStarIcon({ size, "aria-label": aria
|
|
|
30
32
|
rx: 9
|
|
31
33
|
}),
|
|
32
34
|
/* @__PURE__ */ jsx("path", {
|
|
35
|
+
pathLength: 1,
|
|
33
36
|
fill: "#D9D9D9",
|
|
37
|
+
d: "M48 47.9602L87.8372 25L48 48L87.8372 71L48 48.0398L22.5002 63L48 48L8.16284 25L48 47.9602Z"
|
|
38
|
+
}),
|
|
39
|
+
/* @__PURE__ */ jsx("path", {
|
|
40
|
+
pathLength: 1,
|
|
34
41
|
stroke: "currentColor",
|
|
42
|
+
strokeLinecap: "round",
|
|
35
43
|
strokeLinejoin: "round",
|
|
36
44
|
strokeWidth: 4,
|
|
37
|
-
d: "M48
|
|
45
|
+
d: "M48 48L87.8372 25L48 47.9602L8.16284 25L48 48ZM48 48L87.8372 71L48 48.0398L22.5002 63L48 48ZM48 2V94"
|
|
38
46
|
})
|
|
39
47
|
]
|
|
40
|
-
});
|
|
48
|
+
})] });
|
|
41
49
|
});
|
|
42
50
|
NorthStarIcon.displayName = "NorthStarIcon";
|
|
43
51
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PeopleIcon.d.ts","sourceRoot":"","sources":["../../src/icons/PeopleIcon.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"PeopleIcon.d.ts","sourceRoot":"","sources":["../../src/icons/PeopleIcon.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAGnD,QAAA,MAAM,UAAU,wHAOd,CAAC;AAEH,OAAO,EAAE,UAAU,EAAE,CAAC"}
|
package/dist/icons/PeopleIcon.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { forwardRef } from "react";
|
|
2
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
//#region src/icons/PeopleIcon.tsx
|
|
4
|
-
var
|
|
5
|
-
|
|
4
|
+
var ANIMATION_STYLE = "@keyframes octovisual-draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}@keyframes octovisual-fade{from{opacity:0}to{opacity:1}}[data-octovisual-animation] path[stroke]{stroke-dasharray:1;stroke-dashoffset:1;animation:octovisual-draw 1s cubic-bezier(0.22,1,0.36,1) forwards}[data-octovisual-animation] path:not([stroke]){opacity:0;animation:octovisual-fade 0.5s cubic-bezier(0.22,1,0.36,1) 0.3s forwards}@media(prefers-reduced-motion:reduce){[data-octovisual-animation] path{animation:none!important;stroke-dashoffset:0!important;opacity:1!important}}";
|
|
5
|
+
var PeopleIcon = forwardRef(function PeopleIcon({ size, "aria-label": ariaLabel, animate, ...props }, ref) {
|
|
6
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [animate && /* @__PURE__ */ jsx("style", { children: ANIMATION_STYLE }), /* @__PURE__ */ jsxs("svg", {
|
|
6
7
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7
8
|
width: size ?? 96,
|
|
8
9
|
height: size ?? 96,
|
|
@@ -11,30 +12,59 @@ var PeopleIcon = forwardRef(function PeopleIcon({ size, "aria-label": ariaLabel,
|
|
|
11
12
|
"aria-hidden": ariaLabel ? void 0 : true,
|
|
12
13
|
"aria-label": ariaLabel,
|
|
13
14
|
role: ariaLabel ? "img" : void 0,
|
|
15
|
+
"data-octovisual-animation": animate ? "" : void 0,
|
|
14
16
|
ref,
|
|
15
17
|
...props,
|
|
16
|
-
children: [
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
18
|
+
children: [/* @__PURE__ */ jsxs("g", {
|
|
19
|
+
clipPath: "url(#people_a)",
|
|
20
|
+
children: [
|
|
21
|
+
/* @__PURE__ */ jsx("path", {
|
|
22
|
+
pathLength: 1,
|
|
23
|
+
fill: "currentColor",
|
|
24
|
+
d: "M26.4141 57.4988C32.3164 56.3265 38.394 56.347 44.2881 57.5604L50.9404 58.9295C55.6316 59.8954 59.2923 63.5714 60.2393 68.2664L64.6045 89.909C64.6395 90.0827 64.6478 90.2557 64.6377 90.4246C63.4964 90.8726 62.3316 91.2724 61.1475 91.6287C60.9212 91.3735 60.7559 91.0584 60.6836 90.7L56.3184 69.0565C55.6884 65.9342 53.2536 63.4899 50.1338 62.8475L43.4814 61.4783C38.1104 60.3727 32.572 60.3534 27.1934 61.4217L20.2588 62.7996C16.9427 63.4585 14.4075 66.1445 13.9404 69.493L12.8877 77.0311C11.6636 75.5522 10.5321 73.9943 9.5 72.367L9.97852 68.9402C10.6807 63.9053 14.4932 59.8664 19.4795 58.8758L26.4141 57.4988Z"
|
|
25
|
+
}),
|
|
26
|
+
/* @__PURE__ */ jsx("path", {
|
|
27
|
+
pathLength: 1,
|
|
28
|
+
stroke: "currentColor",
|
|
29
|
+
strokeLinecap: "round",
|
|
30
|
+
strokeWidth: 4,
|
|
31
|
+
d: "M62.6435 90.3051L58.278 68.6617C57.4896 64.7528 54.4421 61.693 50.5364 60.889L43.8844 59.5196C38.2516 58.3601 32.4437 58.34 26.803 59.4604L19.869 60.8377C15.7176 61.6623 12.5433 65.0247 11.9587 69.2166L11 75"
|
|
32
|
+
}),
|
|
33
|
+
/* @__PURE__ */ jsx("path", {
|
|
34
|
+
pathLength: 1,
|
|
35
|
+
fill: "currentColor",
|
|
36
|
+
d: "M63.0947 54.9775C63.2852 53.8896 64.3212 53.1621 65.4091 53.3525L79.7451 55.8632C84.7474 56.7394 88.6492 60.6836 89.4707 65.6953L89.6132 66.5663C88.7152 68.5761 87.6758 70.5083 86.5078 72.3515L85.5234 66.3417C84.9771 63.0088 82.3823 60.3855 79.0556 59.8027L64.7197 57.2919C63.6318 57.1014 62.9044 56.0653 63.0947 54.9775Z"
|
|
37
|
+
}),
|
|
38
|
+
/* @__PURE__ */ jsx("path", {
|
|
39
|
+
pathLength: 1,
|
|
40
|
+
stroke: "currentColor",
|
|
41
|
+
strokeLinecap: "round",
|
|
42
|
+
strokeWidth: 4,
|
|
43
|
+
d: "M88 70L87.4968 66.0181C86.8129 61.8457 83.565 58.5622 79.4003 57.8328L65.0645 55.322"
|
|
44
|
+
}),
|
|
45
|
+
/* @__PURE__ */ jsx("path", {
|
|
46
|
+
pathLength: 1,
|
|
47
|
+
stroke: "currentColor",
|
|
48
|
+
strokeLinecap: "round",
|
|
49
|
+
strokeMiterlimit: 10,
|
|
50
|
+
strokeWidth: 4,
|
|
51
|
+
d: "M94 48C93.9997 73.4048 73.4048 93.9997 48 94C22.5949 94 2.00027 73.405 2 48C2 22.5948 22.5948 2 48 2C73.405 2.00027 94 22.5949 94 48Z"
|
|
52
|
+
}),
|
|
53
|
+
/* @__PURE__ */ jsx("path", {
|
|
54
|
+
pathLength: 1,
|
|
55
|
+
fill: "#96A199",
|
|
56
|
+
d: "M47.9663 36.9997C47.9663 44.1794 42.146 49.9997 34.9663 49.9997C27.7866 49.9997 21.9663 44.1794 21.9663 36.9997C21.9663 29.82 27.7866 23.9997 34.9663 23.9997C42.146 23.9997 47.9663 29.82 47.9663 36.9997ZM74.8472 36.61C74.8472 41.5526 70.8405 45.5593 65.8979 45.5593C60.9554 45.5593 56.9487 41.5526 56.9487 36.61C56.9487 31.6675 60.9554 27.6608 65.8979 27.6608C70.8405 27.6608 74.8472 31.6675 74.8472 36.61Z"
|
|
57
|
+
})
|
|
58
|
+
]
|
|
59
|
+
}), /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", {
|
|
60
|
+
id: "people_a",
|
|
61
|
+
children: /* @__PURE__ */ jsx("rect", {
|
|
62
|
+
width: 96,
|
|
63
|
+
height: 96,
|
|
64
|
+
fill: "white"
|
|
35
65
|
})
|
|
36
|
-
]
|
|
37
|
-
});
|
|
66
|
+
}) })]
|
|
67
|
+
})] });
|
|
38
68
|
});
|
|
39
69
|
PeopleIcon.displayName = "PeopleIcon";
|
|
40
70
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PersonIcon.d.ts","sourceRoot":"","sources":["../../src/icons/PersonIcon.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"PersonIcon.d.ts","sourceRoot":"","sources":["../../src/icons/PersonIcon.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAGnD,QAAA,MAAM,UAAU,wHAOd,CAAC;AAEH,OAAO,EAAE,UAAU,EAAE,CAAC"}
|
package/dist/icons/PersonIcon.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { forwardRef } from "react";
|
|
2
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
//#region src/icons/PersonIcon.tsx
|
|
4
|
-
var
|
|
5
|
-
|
|
4
|
+
var ANIMATION_STYLE = "@keyframes octovisual-draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}@keyframes octovisual-fade{from{opacity:0}to{opacity:1}}[data-octovisual-animation] path[stroke]{stroke-dasharray:1;stroke-dashoffset:1;animation:octovisual-draw 1s cubic-bezier(0.22,1,0.36,1) forwards}[data-octovisual-animation] path:not([stroke]){opacity:0;animation:octovisual-fade 0.5s cubic-bezier(0.22,1,0.36,1) 0.3s forwards}@media(prefers-reduced-motion:reduce){[data-octovisual-animation] path{animation:none!important;stroke-dashoffset:0!important;opacity:1!important}}";
|
|
5
|
+
var PersonIcon = forwardRef(function PersonIcon({ size, "aria-label": ariaLabel, animate, ...props }, ref) {
|
|
6
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [animate && /* @__PURE__ */ jsx("style", { children: ANIMATION_STYLE }), /* @__PURE__ */ jsxs("svg", {
|
|
6
7
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7
8
|
width: size ?? 96,
|
|
8
9
|
height: size ?? 96,
|
|
@@ -11,23 +12,42 @@ var PersonIcon = forwardRef(function PersonIcon({ size, "aria-label": ariaLabel,
|
|
|
11
12
|
"aria-hidden": ariaLabel ? void 0 : true,
|
|
12
13
|
"aria-label": ariaLabel,
|
|
13
14
|
role: ariaLabel ? "img" : void 0,
|
|
15
|
+
"data-octovisual-animation": animate ? "" : void 0,
|
|
14
16
|
ref,
|
|
15
17
|
...props,
|
|
16
|
-
children: [
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
18
|
+
children: [/* @__PURE__ */ jsxs("g", {
|
|
19
|
+
clipPath: "url(#person_a)",
|
|
20
|
+
children: [
|
|
21
|
+
/* @__PURE__ */ jsx("path", {
|
|
22
|
+
pathLength: 1,
|
|
23
|
+
stroke: "currentColor",
|
|
24
|
+
strokeLinecap: "round",
|
|
25
|
+
strokeWidth: 4,
|
|
26
|
+
d: "M77.5 83L75.5209 73.3213C74.4151 67.9131 70.1024 63.7386 64.661 62.8093L57.8032 61.6381C51.4528 60.5536 44.9661 60.5347 38.6094 61.5822L31.1563 62.8104C25.5553 63.7333 21.1457 68.0891 20.154 73.6783L18.5 83"
|
|
27
|
+
}),
|
|
28
|
+
/* @__PURE__ */ jsx("path", {
|
|
29
|
+
pathLength: 1,
|
|
30
|
+
stroke: "currentColor",
|
|
31
|
+
strokeLinecap: "round",
|
|
32
|
+
strokeMiterlimit: 10,
|
|
33
|
+
strokeWidth: 4,
|
|
34
|
+
d: "M94 48C93.9997 73.4048 73.4048 93.9997 48 94C22.5949 94 2.00027 73.405 2 48C2 22.5948 22.5948 2 48 2C73.405 2.00027 94 22.5949 94 48Z"
|
|
35
|
+
}),
|
|
36
|
+
/* @__PURE__ */ jsx("path", {
|
|
37
|
+
pathLength: 1,
|
|
38
|
+
fill: "#96A199",
|
|
39
|
+
d: "M60.9998 35.9995C60.9998 43.1792 55.1795 48.9995 47.9998 48.9995C40.8201 48.9995 34.9998 43.1792 34.9998 35.9995C34.9998 28.8198 40.8201 22.9995 47.9998 22.9995C55.1795 22.9995 60.9998 28.8198 60.9998 35.9995Z"
|
|
40
|
+
})
|
|
41
|
+
]
|
|
42
|
+
}), /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", {
|
|
43
|
+
id: "person_a",
|
|
44
|
+
children: /* @__PURE__ */ jsx("rect", {
|
|
45
|
+
width: 96,
|
|
46
|
+
height: 96,
|
|
47
|
+
fill: "white"
|
|
28
48
|
})
|
|
29
|
-
]
|
|
30
|
-
});
|
|
49
|
+
}) })]
|
|
50
|
+
})] });
|
|
31
51
|
});
|
|
32
52
|
PersonIcon.displayName = "PersonIcon";
|
|
33
53
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PullRequestIcon.d.ts","sourceRoot":"","sources":["../../src/icons/PullRequestIcon.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"PullRequestIcon.d.ts","sourceRoot":"","sources":["../../src/icons/PullRequestIcon.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAGnD,QAAA,MAAM,eAAe,wHAOnB,CAAC;AAEH,OAAO,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { forwardRef } from "react";
|
|
2
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
//#region src/icons/PullRequestIcon.tsx
|
|
4
|
-
var
|
|
5
|
-
|
|
4
|
+
var ANIMATION_STYLE = "@keyframes octovisual-draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}@keyframes octovisual-fade{from{opacity:0}to{opacity:1}}[data-octovisual-animation] path[stroke]{stroke-dasharray:1;stroke-dashoffset:1;animation:octovisual-draw 1s cubic-bezier(0.22,1,0.36,1) forwards}[data-octovisual-animation] path:not([stroke]){opacity:0;animation:octovisual-fade 0.5s cubic-bezier(0.22,1,0.36,1) 0.3s forwards}@media(prefers-reduced-motion:reduce){[data-octovisual-animation] path{animation:none!important;stroke-dashoffset:0!important;opacity:1!important}}";
|
|
5
|
+
var PullRequestIcon = forwardRef(function PullRequestIcon({ size, "aria-label": ariaLabel, animate, ...props }, ref) {
|
|
6
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [animate && /* @__PURE__ */ jsx("style", { children: ANIMATION_STYLE }), /* @__PURE__ */ jsxs("svg", {
|
|
6
7
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7
8
|
width: size ?? 96,
|
|
8
9
|
height: size ?? 96,
|
|
@@ -11,91 +12,106 @@ var PullRequestIcon = forwardRef(function PullRequestIcon({ size, "aria-label":
|
|
|
11
12
|
"aria-hidden": ariaLabel ? void 0 : true,
|
|
12
13
|
"aria-label": ariaLabel,
|
|
13
14
|
role: ariaLabel ? "img" : void 0,
|
|
15
|
+
"data-octovisual-animation": animate ? "" : void 0,
|
|
14
16
|
ref,
|
|
15
17
|
...props,
|
|
16
18
|
children: [
|
|
17
19
|
/* @__PURE__ */ jsx("path", {
|
|
20
|
+
pathLength: 1,
|
|
18
21
|
stroke: "#96A199",
|
|
19
22
|
strokeLinecap: "round",
|
|
20
23
|
strokeMiterlimit: 10,
|
|
21
24
|
strokeWidth: 4,
|
|
22
|
-
d: "M62
|
|
25
|
+
d: "M62 48L2 48"
|
|
23
26
|
}),
|
|
24
27
|
/* @__PURE__ */ jsx("path", {
|
|
28
|
+
pathLength: 1,
|
|
25
29
|
stroke: "#96A199",
|
|
26
30
|
strokeLinecap: "round",
|
|
27
31
|
strokeMiterlimit: 10,
|
|
28
32
|
strokeWidth: 4,
|
|
29
|
-
d: "M94
|
|
33
|
+
d: "M94 71L67 71"
|
|
30
34
|
}),
|
|
31
35
|
/* @__PURE__ */ jsx("path", {
|
|
36
|
+
pathLength: 1,
|
|
32
37
|
stroke: "currentColor",
|
|
33
38
|
strokeLinecap: "round",
|
|
34
39
|
strokeMiterlimit: 10,
|
|
35
40
|
strokeWidth: 4,
|
|
36
|
-
d: "M35
|
|
41
|
+
d: "M35 71L2 71"
|
|
37
42
|
}),
|
|
38
43
|
/* @__PURE__ */ jsx("path", {
|
|
44
|
+
pathLength: 1,
|
|
39
45
|
stroke: "currentColor",
|
|
40
46
|
strokeLinecap: "round",
|
|
41
47
|
strokeMiterlimit: 10,
|
|
42
48
|
strokeWidth: 4,
|
|
43
|
-
d: "M86
|
|
49
|
+
d: "M86 27L8 27"
|
|
44
50
|
}),
|
|
45
51
|
/* @__PURE__ */ jsx("path", {
|
|
52
|
+
pathLength: 1,
|
|
46
53
|
stroke: "#96A199",
|
|
47
54
|
strokeLinecap: "round",
|
|
48
55
|
strokeMiterlimit: 10,
|
|
49
56
|
strokeWidth: 4,
|
|
50
|
-
d: "M48
|
|
57
|
+
d: "M48 82L49.0606 83.2062C52.8577 87.5248 58.3299 90 64.0804 90H84.4999"
|
|
51
58
|
}),
|
|
52
59
|
/* @__PURE__ */ jsx("path", {
|
|
60
|
+
pathLength: 1,
|
|
53
61
|
stroke: "#96A199",
|
|
54
62
|
strokeLinecap: "round",
|
|
55
63
|
strokeMiterlimit: 10,
|
|
56
64
|
strokeWidth: 4,
|
|
57
|
-
d: "M60.
|
|
65
|
+
d: "M60.5 19L51.8848 11.1859C48.2054 7.8486 43.4157 6 38.4482 6H8"
|
|
58
66
|
}),
|
|
59
67
|
/* @__PURE__ */ jsx("path", {
|
|
68
|
+
pathLength: 1,
|
|
60
69
|
stroke: "currentColor",
|
|
61
70
|
strokeLinecap: "round",
|
|
62
71
|
strokeMiterlimit: 10,
|
|
63
72
|
strokeWidth: 4,
|
|
64
|
-
d: "M46
|
|
73
|
+
d: "M46 71H47.2019C52.8081 71 58.1569 68.6471 61.9451 64.5145L83.4999 41"
|
|
65
74
|
}),
|
|
66
75
|
/* @__PURE__ */ jsx("path", {
|
|
76
|
+
pathLength: 1,
|
|
67
77
|
stroke: "currentColor",
|
|
68
78
|
strokeLinecap: "round",
|
|
69
79
|
strokeMiterlimit: 10,
|
|
70
80
|
strokeWidth: 4,
|
|
71
|
-
d: "M85
|
|
81
|
+
d: "M85 56L85 41.4407C85 40.0927 83.9073 39 82.5593 39L69 39"
|
|
72
82
|
}),
|
|
73
83
|
/* @__PURE__ */ jsx("path", {
|
|
84
|
+
pathLength: 1,
|
|
74
85
|
fill: "#96A199",
|
|
75
|
-
d: "M70
|
|
86
|
+
d: "M70 96C73.3137 96 76 93.3137 76 90C76 86.6863 73.3137 84 70 84C66.6863 84 64 86.6863 64 90C64 93.3137 66.6863 96 70 96Z"
|
|
76
87
|
}),
|
|
77
88
|
/* @__PURE__ */ jsx("path", {
|
|
89
|
+
pathLength: 1,
|
|
78
90
|
fill: "currentColor",
|
|
79
|
-
d: "M6.
|
|
91
|
+
d: "M6 32.9999C9.31371 32.9999 12 30.3136 12 26.9999C12 23.6862 9.31371 20.9999 6 20.9999C2.68629 20.9999 0 23.6862 0 26.9999C0 30.3136 2.68629 32.9999 6 32.9999Z"
|
|
80
92
|
}),
|
|
81
93
|
/* @__PURE__ */ jsx("path", {
|
|
94
|
+
pathLength: 1,
|
|
82
95
|
fill: "currentColor",
|
|
83
|
-
d: "M26
|
|
96
|
+
d: "M26 32.9999C29.3137 32.9999 32 30.3136 32 26.9999C32 23.6862 29.3137 20.9999 26 20.9999C22.6863 20.9999 20 23.6862 20 26.9999C20 30.3136 22.6863 32.9999 26 32.9999Z"
|
|
84
97
|
}),
|
|
85
98
|
/* @__PURE__ */ jsx("path", {
|
|
99
|
+
pathLength: 1,
|
|
86
100
|
fill: "currentColor",
|
|
87
|
-
d: "M41
|
|
101
|
+
d: "M41 77C44.3137 77 47 74.3137 47 71C47 67.6863 44.3137 65 41 65C37.6863 65 35 67.6863 35 71C35 74.3137 37.6863 77 41 77Z"
|
|
88
102
|
}),
|
|
89
103
|
/* @__PURE__ */ jsx("path", {
|
|
104
|
+
pathLength: 1,
|
|
90
105
|
fill: "currentColor",
|
|
91
|
-
d: "M90
|
|
106
|
+
d: "M90 33C93.3137 33 96 30.3137 96 27C96 23.6863 93.3137 21 90 21C86.6863 21 84 23.6863 84 27C84 30.3137 86.6863 33 90 33Z"
|
|
92
107
|
}),
|
|
93
108
|
/* @__PURE__ */ jsx("path", {
|
|
109
|
+
pathLength: 1,
|
|
94
110
|
fill: "#96A199",
|
|
95
|
-
d: "M90
|
|
111
|
+
d: "M90 96C93.3137 96 96 93.3137 96 90C96 86.6863 93.3137 84 90 84C86.6863 84 84 86.6863 84 90C84 93.3137 86.6863 96 90 96Z"
|
|
96
112
|
})
|
|
97
113
|
]
|
|
98
|
-
});
|
|
114
|
+
})] });
|
|
99
115
|
});
|
|
100
116
|
PullRequestIcon.displayName = "PullRequestIcon";
|
|
101
117
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QuestionIcon.d.ts","sourceRoot":"","sources":["../../src/icons/QuestionIcon.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"QuestionIcon.d.ts","sourceRoot":"","sources":["../../src/icons/QuestionIcon.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAGnD,QAAA,MAAM,YAAY,wHAOhB,CAAC;AAEH,OAAO,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { forwardRef } from "react";
|
|
2
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
//#region src/icons/QuestionIcon.tsx
|
|
4
|
-
var
|
|
5
|
-
|
|
4
|
+
var ANIMATION_STYLE = "@keyframes octovisual-draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}@keyframes octovisual-fade{from{opacity:0}to{opacity:1}}[data-octovisual-animation] path[stroke]{stroke-dasharray:1;stroke-dashoffset:1;animation:octovisual-draw 1s cubic-bezier(0.22,1,0.36,1) forwards}[data-octovisual-animation] path:not([stroke]){opacity:0;animation:octovisual-fade 0.5s cubic-bezier(0.22,1,0.36,1) 0.3s forwards}@media(prefers-reduced-motion:reduce){[data-octovisual-animation] path{animation:none!important;stroke-dashoffset:0!important;opacity:1!important}}";
|
|
5
|
+
var QuestionIcon = forwardRef(function QuestionIcon({ size, "aria-label": ariaLabel, animate, ...props }, ref) {
|
|
6
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [animate && /* @__PURE__ */ jsx("style", { children: ANIMATION_STYLE }), /* @__PURE__ */ jsxs("svg", {
|
|
6
7
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7
8
|
width: size ?? 96,
|
|
8
9
|
height: size ?? 96,
|
|
@@ -11,26 +12,40 @@ var QuestionIcon = forwardRef(function QuestionIcon({ size, "aria-label": ariaLa
|
|
|
11
12
|
"aria-hidden": ariaLabel ? void 0 : true,
|
|
12
13
|
"aria-label": ariaLabel,
|
|
13
14
|
role: ariaLabel ? "img" : void 0,
|
|
15
|
+
"data-octovisual-animation": animate ? "" : void 0,
|
|
14
16
|
ref,
|
|
15
17
|
...props,
|
|
16
|
-
children: [
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
18
|
+
children: [/* @__PURE__ */ jsxs("g", {
|
|
19
|
+
clipPath: "url(#question_a)",
|
|
20
|
+
children: [
|
|
21
|
+
/* @__PURE__ */ jsx("path", {
|
|
22
|
+
pathLength: 1,
|
|
23
|
+
stroke: "currentColor",
|
|
24
|
+
strokeLinecap: "round",
|
|
25
|
+
strokeMiterlimit: 10,
|
|
26
|
+
strokeWidth: 4,
|
|
27
|
+
d: "M94 48C93.9997 73.4048 73.4048 93.9997 48 94C22.5949 94 2.00027 73.405 2 48C2 22.5948 22.5948 2 48 2C73.405 2.00027 94 22.5949 94 48Z"
|
|
28
|
+
}),
|
|
29
|
+
/* @__PURE__ */ jsx("path", {
|
|
30
|
+
pathLength: 1,
|
|
31
|
+
fill: "#96A199",
|
|
32
|
+
d: "M57 72C57 67.0294 52.9706 63 48 63C43.0294 63 39 67.0294 39 72C39 76.9705 43.0294 81 48 81C52.9706 81 57 76.9705 57 72Z"
|
|
33
|
+
}),
|
|
34
|
+
/* @__PURE__ */ jsx("path", {
|
|
35
|
+
pathLength: 1,
|
|
36
|
+
fill: "#96A199",
|
|
37
|
+
d: "M67.9998 31.1787C67.9998 36.8584 66.7342 40.6709 61.7061 44.7625L56.0362 49.1658C55.313 49.7274 54.8165 50.5309 54.6377 51.4289L54.4986 52.1275C53.8703 55.2831 51.1006 57.5556 47.8831 57.5556C44.6078 57.5556 41.8058 55.2026 41.2394 51.9766L41.0309 50.7894C40.8803 49.9317 40.7802 49.0596 40.8686 48.1933C41.1863 45.0782 42.6711 43.0728 44.9425 40.9116C46.1261 39.7854 47.4571 38.8267 48.8399 37.9565C50.433 36.9541 52.0768 35.9587 53.3403 34.5635C53.9857 33.8509 54.5 33.0017 54.5 32C54.5 28.8894 52.4178 27.7108 49.8457 27.7108C47.9446 27.7108 46.1021 28.3436 44.808 29.8401C42.629 32.3599 40.3177 35.4314 36.9865 35.4086C35.6356 35.3994 34.3043 34.9658 33.2817 34.0829C31.7311 32.7442 30.6688 31.3935 30.5 29C30.5 22 40.8567 15.4445 49.8457 15.4445C59.8348 15.4445 67.9998 22.0163 67.9998 31.1787Z"
|
|
38
|
+
})
|
|
39
|
+
]
|
|
40
|
+
}), /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", {
|
|
41
|
+
id: "question_a",
|
|
42
|
+
children: /* @__PURE__ */ jsx("rect", {
|
|
43
|
+
width: 96,
|
|
44
|
+
height: 96,
|
|
45
|
+
fill: "white"
|
|
31
46
|
})
|
|
32
|
-
]
|
|
33
|
-
});
|
|
47
|
+
}) })]
|
|
48
|
+
})] });
|
|
34
49
|
});
|
|
35
50
|
QuestionIcon.displayName = "QuestionIcon";
|
|
36
51
|
//#endregion
|