@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.
Files changed (186) hide show
  1. package/README.md +5 -4
  2. package/dist/icons/ActionsIcon.d.ts.map +1 -1
  3. package/dist/icons/ActionsIcon.js +77 -61
  4. package/dist/icons/AiModelIcon.d.ts.map +1 -1
  5. package/dist/icons/AiModelIcon.js +31 -6
  6. package/dist/icons/AlertCopilotIcon.d.ts.map +1 -1
  7. package/dist/icons/AlertCopilotIcon.js +70 -53
  8. package/dist/icons/AlertIcon.d.ts.map +1 -1
  9. package/dist/icons/AlertIcon.js +36 -21
  10. package/dist/icons/ArrowDownIcon.d.ts.map +1 -1
  11. package/dist/icons/ArrowDownIcon.js +82 -22
  12. package/dist/icons/ArrowLeftIcon.d.ts.map +1 -1
  13. package/dist/icons/ArrowLeftIcon.js +82 -22
  14. package/dist/icons/ArrowRightIcon.d.ts.map +1 -1
  15. package/dist/icons/ArrowRightIcon.js +71 -22
  16. package/dist/icons/ArrowUpIcon.d.ts.map +1 -1
  17. package/dist/icons/ArrowUpIcon.js +82 -22
  18. package/dist/icons/BracketsIcon.d.ts.map +1 -1
  19. package/dist/icons/BracketsIcon.js +32 -11
  20. package/dist/icons/BranchIcon.d.ts.map +1 -1
  21. package/dist/icons/BranchIcon.js +23 -6
  22. package/dist/icons/ButterflyIcon.d.ts.map +1 -1
  23. package/dist/icons/ButterflyIcon.js +46 -30
  24. package/dist/icons/ChangelogIcon.d.ts.map +1 -1
  25. package/dist/icons/ChangelogIcon.js +26 -4
  26. package/dist/icons/CheckCircleIcon.d.ts.map +1 -1
  27. package/dist/icons/CheckCircleIcon.js +28 -11
  28. package/dist/icons/CliPullRequestIcon.d.ts.map +1 -1
  29. package/dist/icons/CliPullRequestIcon.js +69 -49
  30. package/dist/icons/CodeDiffIcon.d.ts.map +1 -1
  31. package/dist/icons/CodeDiffIcon.js +14 -4
  32. package/dist/icons/CodeQlIcon.d.ts.map +1 -1
  33. package/dist/icons/CodeQlIcon.js +26 -7
  34. package/dist/icons/CoffeeIcon.d.ts.map +1 -1
  35. package/dist/icons/CoffeeIcon.js +83 -61
  36. package/dist/icons/CommentIcon.d.ts.map +1 -1
  37. package/dist/icons/CommentIcon.js +15 -6
  38. package/dist/icons/CommunityIcon.d.ts.map +1 -1
  39. package/dist/icons/CommunityIcon.js +83 -28
  40. package/dist/icons/ConnectionBrokenIcon.d.ts.map +1 -1
  41. package/dist/icons/ConnectionBrokenIcon.js +48 -31
  42. package/dist/icons/ConnectionIcon.d.ts.map +1 -1
  43. package/dist/icons/ConnectionIcon.js +14 -8
  44. package/dist/icons/CopyIcon.d.ts.map +1 -1
  45. package/dist/icons/CopyIcon.js +7 -4
  46. package/dist/icons/CpuIcon.d.ts.map +1 -1
  47. package/dist/icons/CpuIcon.js +108 -94
  48. package/dist/icons/DataDrivenRecommendationsIcon.d.ts.map +1 -1
  49. package/dist/icons/DataDrivenRecommendationsIcon.js +104 -82
  50. package/dist/icons/DiscussionIcon.d.ts.map +1 -1
  51. package/dist/icons/DiscussionIcon.js +49 -26
  52. package/dist/icons/DocumentCopilotIcon.d.ts.map +1 -1
  53. package/dist/icons/DocumentCopilotIcon.js +78 -53
  54. package/dist/icons/DocumentDownloadIcon.d.ts.map +1 -1
  55. package/dist/icons/DocumentDownloadIcon.js +55 -35
  56. package/dist/icons/DocumentIcon.d.ts.map +1 -1
  57. package/dist/icons/DocumentIcon.js +17 -8
  58. package/dist/icons/DocumentPassIcon.d.ts.map +1 -1
  59. package/dist/icons/DocumentPassIcon.js +47 -28
  60. package/dist/icons/DocumentsIcon.d.ts.map +1 -1
  61. package/dist/icons/DocumentsIcon.js +12 -5
  62. package/dist/icons/DoorIcon.d.ts.map +1 -1
  63. package/dist/icons/DoorIcon.js +48 -31
  64. package/dist/icons/EcosystemIcon.d.ts.map +1 -1
  65. package/dist/icons/EcosystemIcon.js +101 -81
  66. package/dist/icons/EyeIcon.d.ts.map +1 -1
  67. package/dist/icons/EyeIcon.js +17 -6
  68. package/dist/icons/GitPullRequestIcon.d.ts.map +1 -1
  69. package/dist/icons/GitPullRequestIcon.js +31 -6
  70. package/dist/icons/GithubIcon.d.ts.map +1 -1
  71. package/dist/icons/GithubIcon.js +68 -13
  72. package/dist/icons/GlobeIcon.d.ts.map +1 -1
  73. package/dist/icons/GlobeIcon.js +73 -21
  74. package/dist/icons/HeartIcon.d.ts.map +1 -1
  75. package/dist/icons/HeartIcon.js +10 -15
  76. package/dist/icons/HourglassIcon.d.ts.map +1 -1
  77. package/dist/icons/HourglassIcon.js +25 -13
  78. package/dist/icons/InformationIcon.d.ts.map +1 -1
  79. package/dist/icons/InformationIcon.js +46 -30
  80. package/dist/icons/ListOrderedIcon.d.ts.map +1 -1
  81. package/dist/icons/ListOrderedIcon.js +50 -26
  82. package/dist/icons/LockIcon.d.ts.map +1 -1
  83. package/dist/icons/LockIcon.js +26 -13
  84. package/dist/icons/MentionIcon.d.ts.map +1 -1
  85. package/dist/icons/MentionIcon.js +50 -29
  86. package/dist/icons/MoonIcon.d.ts.map +1 -1
  87. package/dist/icons/MoonIcon.js +15 -6
  88. package/dist/icons/NorthStarIcon.d.ts.map +1 -1
  89. package/dist/icons/NorthStarIcon.js +13 -5
  90. package/dist/icons/PeopleIcon.d.ts.map +1 -1
  91. package/dist/icons/PeopleIcon.js +54 -24
  92. package/dist/icons/PersonIcon.d.ts.map +1 -1
  93. package/dist/icons/PersonIcon.js +37 -17
  94. package/dist/icons/PullRequestIcon.d.ts.map +1 -1
  95. package/dist/icons/PullRequestIcon.js +34 -18
  96. package/dist/icons/QuestionIcon.d.ts.map +1 -1
  97. package/dist/icons/QuestionIcon.js +35 -20
  98. package/dist/icons/ReadIcon.d.ts.map +1 -1
  99. package/dist/icons/ReadIcon.js +15 -6
  100. package/dist/icons/ReportIcon.d.ts.map +1 -1
  101. package/dist/icons/ReportIcon.js +14 -6
  102. package/dist/icons/SearchIcon.d.ts.map +1 -1
  103. package/dist/icons/SearchIcon.js +44 -28
  104. package/dist/icons/SettingsIcon.d.ts.map +1 -1
  105. package/dist/icons/SettingsIcon.js +39 -18
  106. package/dist/icons/SmileyIcon.d.ts.map +1 -1
  107. package/dist/icons/SmileyIcon.js +49 -29
  108. package/dist/icons/StackIcon.d.ts.map +1 -1
  109. package/dist/icons/StackIcon.js +47 -31
  110. package/dist/icons/SunIcon.d.ts.map +1 -1
  111. package/dist/icons/SunIcon.js +116 -89
  112. package/dist/icons/TaskListIcon.d.ts.map +1 -1
  113. package/dist/icons/TaskListIcon.js +132 -107
  114. package/dist/icons/TerminalIcon.d.ts.map +1 -1
  115. package/dist/icons/TerminalIcon.js +11 -4
  116. package/dist/icons/VideoIcon.d.ts.map +1 -1
  117. package/dist/icons/VideoIcon.js +10 -4
  118. package/dist/icons/WikiGithubIcon.d.ts.map +1 -1
  119. package/dist/icons/WikiGithubIcon.js +59 -24
  120. package/dist/icons/WikiIcon.d.ts.map +1 -1
  121. package/dist/icons/WikiIcon.js +34 -7
  122. package/dist/icons/WorkflowIcon.d.ts.map +1 -1
  123. package/dist/icons/WorkflowIcon.js +84 -67
  124. package/dist/icons/ZapIcon.d.ts.map +1 -1
  125. package/dist/icons/ZapIcon.js +41 -25
  126. package/dist/metadata.js +100 -100
  127. package/dist/svgs/actions.svg +7 -0
  128. package/dist/svgs/ai-model.svg +3 -1
  129. package/dist/svgs/alert-copilot.svg +15 -10
  130. package/dist/svgs/alert.svg +11 -4
  131. package/dist/svgs/arrow-down.svg +20 -5
  132. package/dist/svgs/arrow-left.svg +19 -4
  133. package/dist/svgs/arrow-right.svg +15 -5
  134. package/dist/svgs/arrow-up.svg +20 -5
  135. package/dist/svgs/brackets.svg +7 -6
  136. package/dist/svgs/branch.svg +2 -1
  137. package/dist/svgs/butterfly.svg +10 -3
  138. package/dist/svgs/check-circle.svg +9 -2
  139. package/dist/svgs/cli-pull-request.svg +7 -0
  140. package/dist/svgs/code-ql.svg +5 -5
  141. package/dist/svgs/coffee.svg +18 -11
  142. package/dist/svgs/comment.svg +1 -1
  143. package/dist/svgs/community.svg +16 -4
  144. package/dist/svgs/connection-broken.svg +12 -5
  145. package/dist/svgs/connection.svg +4 -4
  146. package/dist/svgs/cpu.svg +8 -1
  147. package/dist/svgs/data-driven-recommendations.svg +8 -1
  148. package/dist/svgs/discussion.svg +10 -3
  149. package/dist/svgs/document-copilot.svg +13 -7
  150. package/dist/svgs/document-download.svg +10 -3
  151. package/dist/svgs/document-pass.svg +10 -3
  152. package/dist/svgs/document.svg +1 -1
  153. package/dist/svgs/documents.svg +1 -1
  154. package/dist/svgs/door.svg +7 -0
  155. package/dist/svgs/ecosystem.svg +10 -3
  156. package/dist/svgs/eye.svg +1 -1
  157. package/dist/svgs/git-pull-request.svg +3 -1
  158. package/dist/svgs/github.svg +14 -2
  159. package/dist/svgs/globe.svg +14 -3
  160. package/dist/svgs/heart.svg +3 -4
  161. package/dist/svgs/hourglass.svg +8 -8
  162. package/dist/svgs/information.svg +8 -1
  163. package/dist/svgs/list-ordered.svg +22 -22
  164. package/dist/svgs/lock.svg +8 -8
  165. package/dist/svgs/mention.svg +13 -6
  166. package/dist/svgs/moon.svg +1 -1
  167. package/dist/svgs/north-star.svg +2 -1
  168. package/dist/svgs/people.svg +12 -3
  169. package/dist/svgs/person.svg +10 -3
  170. package/dist/svgs/pull-request.svg +14 -14
  171. package/dist/svgs/question.svg +9 -2
  172. package/dist/svgs/read.svg +1 -1
  173. package/dist/svgs/report.svg +1 -1
  174. package/dist/svgs/search.svg +8 -1
  175. package/dist/svgs/settings.svg +11 -4
  176. package/dist/svgs/smiley.svg +9 -2
  177. package/dist/svgs/stack.svg +12 -5
  178. package/dist/svgs/sun.svg +13 -6
  179. package/dist/svgs/task-list.svg +23 -18
  180. package/dist/svgs/wiki-github.svg +13 -4
  181. package/dist/svgs/wiki.svg +4 -2
  182. package/dist/svgs/workflow.svg +10 -3
  183. package/dist/svgs/zap.svg +12 -5
  184. package/dist/types.d.ts +6 -2
  185. package/dist/types.d.ts.map +1 -1
  186. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"ReadIcon.d.ts","sourceRoot":"","sources":["../../src/icons/ReadIcon.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,QAAA,MAAM,QAAQ,wHAMZ,CAAC;AAEH,OAAO,EAAE,QAAQ,EAAE,CAAC"}
1
+ {"version":3,"file":"ReadIcon.d.ts","sourceRoot":"","sources":["../../src/icons/ReadIcon.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAGnD,QAAA,MAAM,QAAQ,wHAOZ,CAAC;AAEH,OAAO,EAAE,QAAQ,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/ReadIcon.tsx
4
- var ReadIcon = forwardRef(function ReadIcon({ size, "aria-label": ariaLabel, ...props }, ref) {
5
- return /* @__PURE__ */ jsxs("svg", {
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 ReadIcon = forwardRef(function ReadIcon({ 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,14 +12,17 @@ var ReadIcon = forwardRef(function ReadIcon({ 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", {
20
+ pathLength: 1,
18
21
  fill: "#96A199",
19
22
  d: "M48 62C52.9706 62 57 57.9706 57 53C57 48.0294 52.9706 44 48 44C43.0294 44 39 48.0294 39 53C39 57.9706 43.0294 62 48 62Z"
20
23
  }),
21
24
  /* @__PURE__ */ jsx("path", {
25
+ pathLength: 1,
22
26
  stroke: "#96A199",
23
27
  strokeLinecap: "round",
24
28
  strokeMiterlimit: 10,
@@ -26,6 +30,7 @@ var ReadIcon = forwardRef(function ReadIcon({ size, "aria-label": ariaLabel, ...
26
30
  d: "M4 81L34 61.5M92 81L62 61.5"
27
31
  }),
28
32
  /* @__PURE__ */ jsx("path", {
33
+ pathLength: 1,
29
34
  stroke: "currentColor",
30
35
  strokeLinecap: "round",
31
36
  strokeMiterlimit: 10,
@@ -33,11 +38,15 @@ var ReadIcon = forwardRef(function ReadIcon({ size, "aria-label": ariaLabel, ...
33
38
  d: "M4 28L34 44.5M92 28L62 44.5"
34
39
  }),
35
40
  /* @__PURE__ */ jsx("path", {
36
- fill: "currentColor",
37
- d: "M43.2988 1.73731C46.2374 0.172219 49.7626 0.17222 52.7012 1.73731L90.7012 21.9766C93.9624 23.7136 95.9999 27.1078 96 30.8027V81C96 84.3137 93.3137 87 90 87H6C2.68629 87 0 84.3137 0 81V30.8027C0.000123671 27.1077 2.03757 23.7136 5.29883 21.9766L43.2988 1.73731ZM50.8203 5.26856C49.0572 4.32953 46.9428 4.32953 45.1797 5.26856L7.17969 25.5078C5.22295 26.55 4.00012 28.5858 4 30.8027V81C4 82.1046 4.89543 83 6 83H90C91.1046 83 92 82.1046 92 81V30.8027C91.9999 28.5858 90.777 26.55 88.8203 25.5078L50.8203 5.26856Z"
41
+ pathLength: 1,
42
+ stroke: "currentColor",
43
+ strokeLinecap: "round",
44
+ strokeMiterlimit: 10,
45
+ strokeWidth: 4,
46
+ d: "M2 30.8031V81C2 83.2091 3.79086 85 6 85H90C92.2091 85 94 83.2091 94 81V30.8031C94 27.847 92.3698 25.1318 89.7607 23.7421L51.7607 3.50299C49.4099 2.25092 46.5901 2.25092 44.2393 3.50299L6.23928 23.7421C3.63016 25.1318 2 27.847 2 30.8031Z"
38
47
  })
39
48
  ]
40
- });
49
+ })] });
41
50
  });
42
51
  ReadIcon.displayName = "ReadIcon";
43
52
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"ReportIcon.d.ts","sourceRoot":"","sources":["../../src/icons/ReportIcon.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,QAAA,MAAM,UAAU,wHAMd,CAAC;AAEH,OAAO,EAAE,UAAU,EAAE,CAAC"}
1
+ {"version":3,"file":"ReportIcon.d.ts","sourceRoot":"","sources":["../../src/icons/ReportIcon.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAGnD,QAAA,MAAM,UAAU,wHAOd,CAAC;AAEH,OAAO,EAAE,UAAU,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/ReportIcon.tsx
4
- var ReportIcon = forwardRef(function ReportIcon({ size, "aria-label": ariaLabel, ...props }, ref) {
5
- return /* @__PURE__ */ jsxs("svg", {
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 ReportIcon = forwardRef(function ReportIcon({ 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,30 @@ var ReportIcon = forwardRef(function ReportIcon({ 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
- fill: "currentColor",
19
- d: "M90 22H92V22H90ZM39.2939 76V74H38.4988L37.9207 74.5459L39.2939 76ZM22.7461 91.6279L21.3729 90.1739L21.3729 90.1739L22.7461 91.6279ZM16 88.7207H14V88.7209L16 88.7207ZM16 74.835H18V73.487L16.7505 72.9811L16 74.835ZM6 22H4V22H6ZM74 6V8C81.732 8 88 14.268 88 22H90H92C92 12.0589 83.9411 4 74 4V6ZM90 22H88V60H90H92V22H90ZM90 60H88C88 67.732 81.732 74 74 74V76V78C83.9411 78 92 69.9411 92 60H90ZM74 76V74H39.2939V76V78H74V76ZM39.2939 76L37.9207 74.5459L21.3729 90.1739L22.7461 91.6279L24.1193 93.082L40.6672 77.4541L39.2939 76ZM22.7461 91.6279L21.3729 90.1739C20.0973 91.3786 18.0002 90.4745 18 88.7205L16 88.7207L14 88.7209C14.0005 93.9839 20.2933 96.6954 24.1193 93.082L22.7461 91.6279ZM16 88.7207H18V74.835H16H14V88.7207H16ZM16 74.835L16.7505 72.9811C11.6161 70.9025 8 65.8716 8 60H6H4C4 67.5573 8.65734 74.02 15.2495 76.6888L16 74.835ZM6 60H8V22H6H4V60H6ZM6 22H8C8 14.268 14.268 8 22 8V6V4C12.0589 4 4 12.0589 4 22H6ZM22 6V8H74V6V4H22V6Z"
20
+ pathLength: 1,
21
+ stroke: "currentColor",
22
+ strokeLinecap: "round",
23
+ strokeMiterlimit: 10,
24
+ strokeWidth: 4,
25
+ d: "M6 60V22C6 13.1634 13.1634 6 22 6H74C82.8366 6 90 13.1634 90 22V60C90 68.8366 82.8366 76 74 76H39.5L22.7465 91.6283C20.1956 94.0375 16 92.229 16 88.7203V75C10.1137 72.6371 6 66.731 6 60Z"
20
26
  }),
21
27
  /* @__PURE__ */ jsx("path", {
28
+ pathLength: 1,
22
29
  fill: "#96A199",
23
30
  d: "M54 58C54 54.6863 51.3137 52 48 52C44.6863 52 42 54.6863 42 58C42 61.3137 44.6863 64 48 64C51.3137 64 54 61.3137 54 58Z"
24
31
  }),
25
32
  /* @__PURE__ */ jsx("path", {
33
+ pathLength: 1,
26
34
  fill: "#96A199",
27
35
  d: "M41.7203 23.9628L43.5884 42.0212C43.8223 44.2819 45.7272 46 48 46C50.2728 46 52.1777 44.2819 52.4116 42.0212L54.2797 23.9628C54.6649 20.2391 51.7436 17 48 17C44.2564 17 41.3351 20.2391 41.7203 23.9628Z"
28
36
  })
29
37
  ]
30
- });
38
+ })] });
31
39
  });
32
40
  ReportIcon.displayName = "ReportIcon";
33
41
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"SearchIcon.d.ts","sourceRoot":"","sources":["../../src/icons/SearchIcon.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,QAAA,MAAM,UAAU,wHAMd,CAAC;AAEH,OAAO,EAAE,UAAU,EAAE,CAAC"}
1
+ {"version":3,"file":"SearchIcon.d.ts","sourceRoot":"","sources":["../../src/icons/SearchIcon.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAGnD,QAAA,MAAM,UAAU,wHAOd,CAAC;AAEH,OAAO,EAAE,UAAU,EAAE,CAAC"}
@@ -1,43 +1,59 @@
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/SearchIcon.tsx
4
- var SearchIcon = forwardRef(function SearchIcon({ size, "aria-label": ariaLabel, ...props }, ref) {
5
- return /* @__PURE__ */ jsxs("svg", {
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 SearchIcon = forwardRef(function SearchIcon({ 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,
9
- viewBox: "0 0 96 97",
10
+ viewBox: "0 0 96 96",
10
11
  fill: "none",
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
- /* @__PURE__ */ jsx("path", {
18
- fill: "#96A199",
19
- d: "M53 26C57.9706 26 62 30.0294 62 35C61.9999 39.9703 57.9711 43.9998 53.0007 44C48.0302 44 44.0001 39.9705 44 35C44 30.0296 48.0296 26.0002 53 26Z"
20
- }),
21
- /* @__PURE__ */ jsx("path", {
22
- fill: "#96A199",
23
- d: "M71 26C75.9706 26 80 30.0294 80 35C79.9999 39.9703 75.9711 43.9998 71.0007 44C66.0302 44 62.0001 39.9705 62 35C62 30.0296 66.0296 26.0002 71 26Z"
24
- }),
25
- /* @__PURE__ */ jsx("path", {
26
- stroke: "currentColor",
27
- strokeLinecap: "round",
28
- strokeMiterlimit: 10,
29
- strokeWidth: 4,
30
- d: "M26.4953 57.2574L4.91916 78.6136C1.29355 82.2023 1.2636 88.0506 4.85226 91.6762C8.44091 95.3018 14.2892 95.3318 17.9148 91.7431L39.491 70.3869"
31
- }),
32
- /* @__PURE__ */ jsx("path", {
33
- stroke: "currentColor",
34
- strokeLinecap: "round",
35
- strokeMiterlimit: 10,
36
- strokeWidth: 4,
37
- d: "M94 34.5C93.9998 52.4491 79.4491 66.9998 61.5 67C43.5508 67 29.0002 52.4492 29 34.5C29 16.5507 43.5507 2 61.5 2C79.4492 2.00019 94 16.5508 94 34.5Z"
18
+ children: [/* @__PURE__ */ jsxs("g", {
19
+ clipPath: "url(#search_a)",
20
+ children: [
21
+ /* @__PURE__ */ jsx("path", {
22
+ pathLength: 1,
23
+ fill: "#96A199",
24
+ d: "M53 26C57.9706 26 62 30.0294 62 35C61.9999 39.9703 57.9711 43.9998 53.0007 44C48.0302 44 44.0001 39.9705 44 35C44 30.0296 48.0296 26.0002 53 26Z"
25
+ }),
26
+ /* @__PURE__ */ jsx("path", {
27
+ pathLength: 1,
28
+ fill: "#96A199",
29
+ d: "M71 26C75.9706 26 80 30.0294 80 35C79.9999 39.9703 75.9711 43.9998 71.0007 44C66.0302 44 62.0001 39.9705 62 35C62 30.0296 66.0296 26.0002 71 26Z"
30
+ }),
31
+ /* @__PURE__ */ jsx("path", {
32
+ pathLength: 1,
33
+ stroke: "currentColor",
34
+ strokeLinecap: "round",
35
+ strokeMiterlimit: 10,
36
+ strokeWidth: 4,
37
+ d: "M26.4953 57.2574L4.91916 78.6136C1.29355 82.2023 1.2636 88.0506 4.85226 91.6762C8.44091 95.3018 14.2892 95.3318 17.9148 91.7431L39.491 70.3869"
38
+ }),
39
+ /* @__PURE__ */ jsx("path", {
40
+ pathLength: 1,
41
+ stroke: "currentColor",
42
+ strokeLinecap: "round",
43
+ strokeMiterlimit: 10,
44
+ strokeWidth: 4,
45
+ d: "M94 34.5C93.9998 52.4491 79.4491 66.9998 61.5 67C43.5508 67 29.0002 52.4492 29 34.5C29 16.5507 43.5507 2 61.5 2C79.4492 2.00019 94 16.5508 94 34.5Z"
46
+ })
47
+ ]
48
+ }), /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", {
49
+ id: "search_a",
50
+ children: /* @__PURE__ */ jsx("rect", {
51
+ width: 96,
52
+ height: 96,
53
+ fill: "white"
38
54
  })
39
- ]
40
- });
55
+ }) })]
56
+ })] });
41
57
  });
42
58
  SearchIcon.displayName = "SearchIcon";
43
59
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"SettingsIcon.d.ts","sourceRoot":"","sources":["../../src/icons/SettingsIcon.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,QAAA,MAAM,YAAY,wHAMhB,CAAC;AAEH,OAAO,EAAE,YAAY,EAAE,CAAC"}
1
+ {"version":3,"file":"SettingsIcon.d.ts","sourceRoot":"","sources":["../../src/icons/SettingsIcon.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,33 +1,54 @@
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/SettingsIcon.tsx
4
- var SettingsIcon = forwardRef(function SettingsIcon({ size, "aria-label": ariaLabel, ...props }, ref) {
5
- return /* @__PURE__ */ jsxs("svg", {
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 SettingsIcon = forwardRef(function SettingsIcon({ 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,
9
- viewBox: "0 0 97 96",
10
+ viewBox: "0 0 96 96",
10
11
  fill: "none",
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
- /* @__PURE__ */ jsx("path", {
18
- fill: "currentColor",
19
- d: "M4.79577 47.9789C4.79567 46.8359 4.03351 45.5966 2.70495 44.2172C0.4905 41.9181 -0.506163 38.5422 0.38268 35.225C1.27282 31.9039 3.82881 29.4773 6.90123 28.5961C8.73352 28.0706 10.0276 27.3655 10.6005 26.3734C11.1732 25.3813 11.1368 23.9084 10.6756 22.059C9.90235 18.9573 10.7265 15.5306 13.1581 13.099C15.5863 10.6709 19.0071 9.84567 22.1053 10.6136C23.9642 11.0744 25.419 11.1146 26.409 10.5433C27.4091 9.96604 28.1313 8.6542 28.6581 6.82849C29.5428 3.76204 31.9678 1.21235 35.284 0.323606C38.6012 -0.565159 41.9762 0.431575 44.2753 2.64587C45.6434 3.96364 46.9255 4.73861 48.0799 4.73865C49.2228 4.73852 50.4624 3.97573 51.8417 2.64685C54.1409 0.431649 57.5171 -0.565365 60.8348 0.323606C64.1592 1.21453 66.5867 3.77466 67.4657 6.85095C67.9886 8.68123 68.6932 9.97332 69.6835 10.5453C70.6739 11.1172 72.145 11.0807 73.9921 10.6185C77.0959 9.8418 80.5271 10.6654 82.9608 13.099C85.3923 15.5305 86.2157 18.9567 85.4423 22.058C84.9796 23.9132 84.9397 25.3654 85.5096 26.3529C86.0857 27.351 87.3958 28.0725 89.2196 28.5961C92.1952 29.4503 94.6865 31.7545 95.6483 34.9164L95.7362 35.225L95.8143 35.5375C96.5626 38.758 95.556 41.9996 93.4042 44.2269C92.0869 45.5905 91.3134 46.8695 91.3133 48.0209C91.3134 49.1605 92.0747 50.3972 93.4032 51.7718C95.6253 54.0711 96.6262 57.4522 95.7362 60.7748V60.7758C94.8443 64.1036 92.2798 66.5337 89.1991 67.4105C87.3705 67.931 86.0803 68.634 85.5096 69.6224C84.9391 70.6108 84.9749 72.0795 85.4383 73.9232C86.2193 77.0297 85.397 80.4654 82.9608 82.9017C80.5283 85.3343 77.0995 86.1582 73.9969 85.3832C72.1427 84.92 70.691 84.879 69.704 85.4486C68.707 86.0241 67.9858 87.3339 67.4637 89.1566C66.5833 92.23 64.1568 94.7868 60.8348 95.6771C57.514 96.5669 54.1343 95.5676 51.8348 93.348C50.4698 92.0303 49.19 91.2561 48.038 91.2562C46.8977 91.2566 45.6601 92.0179 44.285 93.3461C41.9859 95.5668 38.6057 96.5672 35.284 95.6771C31.9593 94.7861 29.5302 92.2257 28.6512 89.1488C28.1283 87.3182 27.4246 86.026 26.4344 85.4545C25.4444 84.8831 23.9738 84.9188 22.1278 85.3812C19.0235 86.1588 15.5922 85.3359 13.1581 82.9017C10.7289 80.4725 9.90414 77.0499 10.6737 73.9506C11.1352 72.092 11.1757 70.6372 10.6044 69.6478C10.0272 68.6485 8.71526 67.9272 6.89049 67.4017C3.82272 66.5183 1.27177 64.0933 0.38268 60.7758V60.7748C-0.505573 57.4587 0.48998 54.0847 2.70299 51.7855C4.02098 50.4163 4.7958 49.134 4.79577 47.9789ZM8.79577 47.9789C8.7958 50.7934 7.01982 53.0681 5.58483 54.559C4.30326 55.8904 3.73627 57.8331 4.24694 59.7396C4.75799 61.6469 6.22137 63.0464 7.99791 63.558C9.9861 64.1305 12.6612 65.2112 14.0682 67.6478C15.479 70.091 15.0492 72.926 14.5555 74.9144C14.1099 76.7092 14.5897 78.677 15.9862 80.0736C17.3855 81.4729 19.3584 81.9516 21.1561 81.5013C23.1509 81.0017 25.9943 80.5821 28.4335 81.9896C30.8737 83.398 31.933 86.0723 32.4979 88.0502C33.007 89.8321 34.4088 91.3007 36.3202 91.8129C38.2295 92.3244 40.1744 91.7549 41.5057 90.4691C42.9787 89.0463 45.2166 87.2572 48.036 87.2562C50.8503 87.2554 53.1236 89.0331 54.6122 90.4701C55.9437 91.7555 57.8895 92.3243 59.7987 91.8129C61.7085 91.3011 63.1092 89.8348 63.619 88.0551C64.1886 86.0665 65.2675 83.3913 67.704 81.9847C70.1463 80.5751 72.9796 81.0059 74.9667 81.5023C76.7633 81.9511 78.7343 81.472 80.1327 80.0736C81.5332 78.673 82.0117 76.6978 81.5594 74.8988C81.0581 72.9046 80.637 70.0614 82.0448 67.6224C83.453 65.1834 86.1265 64.1258 88.1044 63.5629C89.8885 63.0551 91.3593 61.6528 91.8719 59.7396C92.3835 57.8297 91.8138 55.8836 90.5272 54.5521C89.1039 53.0793 87.3134 50.8411 87.3133 48.0209C87.3134 45.2078 89.09 42.9353 90.5272 41.4476C91.8135 40.1163 92.3835 38.1708 91.8719 36.2611C91.3603 34.3521 89.8949 32.9515 88.1161 32.4408C86.1275 31.8699 83.4515 30.7901 82.0448 28.3529C80.6351 25.9106 81.0658 23.0774 81.5614 21.0902C82.0093 19.2943 81.5303 17.3248 80.1327 15.9271C78.7337 14.5282 76.7613 14.0487 74.9637 14.4984C72.9681 14.9978 70.1225 15.4184 67.6825 14.0092C65.2434 12.6004 64.185 9.92718 63.62 7.94958C63.1109 6.16798 61.7097 4.69893 59.7987 4.18689C57.8916 3.67608 55.9484 4.24492 54.6171 5.52771C53.1416 6.94925 50.9011 8.73853 48.0799 8.73865C45.2658 8.73856 42.9911 6.96215 41.5008 5.52673C40.1696 4.2445 38.2269 3.67622 36.3202 4.18689C34.4136 4.69775 33.0143 6.16115 32.5018 7.93689C31.9283 9.92495 30.846 12.6013 28.4081 14.0082C25.9654 15.4178 23.1316 14.9892 21.1434 14.4965C19.3492 14.0517 17.3822 14.5313 15.9862 15.9271C14.5884 17.3249 14.1087 19.295 14.5565 21.0912C15.0542 23.0873 15.4732 25.9331 14.0643 28.3734C12.6554 30.8136 9.98127 31.8737 8.00377 32.4408C6.22447 32.9512 4.75762 34.3519 4.24596 36.2611C3.73524 38.1679 4.30358 40.1106 5.5858 41.4418C7.00699 42.9173 8.79553 45.1579 8.79577 47.9789Z"
20
- }),
21
- /* @__PURE__ */ jsx("path", {
22
- fill: "#96A199",
23
- d: "M75 48.0004C75 33.0887 62.9117 21.0004 48 21.0004C33.0883 21.0004 21 33.0887 21 48.0004C21 62.9121 33.0883 75.0004 48 75.0004C62.9117 75.0004 75 62.9121 75 48.0004ZM79 48.0004C79 65.1212 65.1208 79.0004 48 79.0004C30.8792 79.0004 17 65.1212 17 48.0004C17 30.8795 30.8792 17.0004 48 17.0004C65.1208 17.0004 79 30.8795 79 48.0004Z"
24
- }),
25
- /* @__PURE__ */ jsx("path", {
26
- fill: "#96A199",
27
- d: "M48 61.0004C55.1797 61.0004 61 55.1801 61 48.0004C61 40.8207 55.1797 35.0004 48 35.0004C40.8203 35.0004 35 40.8207 35 48.0004C35 55.1801 40.8203 61.0004 48 61.0004Z"
18
+ children: [/* @__PURE__ */ jsxs("g", {
19
+ clipPath: "url(#settings_a)",
20
+ children: [
21
+ /* @__PURE__ */ jsx("path", {
22
+ pathLength: 1,
23
+ stroke: "currentColor",
24
+ strokeLinecap: "round",
25
+ strokeMiterlimit: 10,
26
+ strokeWidth: 4,
27
+ d: "M35.802 2.25514C38.414 1.55529 41.073 2.33739 42.8882 4.08576C44.3174 5.46236 46.0951 6.73806 48.0794 6.73812C50.0616 6.73818 51.8016 5.46204 53.229 4.08672C55.0444 2.33763 57.7041 1.55513 60.3166 2.25514C62.9344 2.95659 64.8489 4.97087 65.5429 7.39991C66.0869 9.30385 66.968 11.2864 68.6827 12.2768C70.3979 13.2675 72.5564 13.0392 74.4779 12.5583C76.9286 11.9451 79.6305 12.5961 81.5469 14.5124C83.4615 16.4271 84.1127 19.1253 83.502 21.5739C83.0229 23.4952 82.7871 25.6377 83.777 27.3526C84.7684 29.0703 86.7616 29.971 88.6678 30.5183C91.0931 31.2145 93.1034 33.1279 93.8042 35.7427C94.5051 38.3586 93.7197 41.0215 91.9659 42.8369C90.5886 44.2626 89.3131 46.038 89.3131 48.0203C89.313 50.0003 90.5888 51.738 91.9648 53.1617C93.7193 54.9772 94.5051 57.6409 93.8042 60.2573C93.102 62.8779 91.0841 64.7939 88.6516 65.4862C86.7483 66.0279 84.7665 66.9078 83.7771 68.6216C82.7876 70.3354 83.0165 72.4917 83.499 74.4109C84.1156 76.8636 83.4652 79.5691 81.5469 81.4875C79.6314 83.403 76.9315 84.0542 74.4819 83.4423C72.5611 82.9625 70.4186 82.7264 68.7039 83.7161C66.987 84.7071 66.0872 86.6994 65.5414 88.6051C64.8463 91.0319 62.9327 93.0438 60.3166 93.7448C57.7015 94.4455 55.039 93.661 53.2234 91.9084C51.7965 90.5309 50.0201 89.2551 48.0368 89.2556C46.0569 89.2562 44.3194 90.5316 42.8953 91.9072C41.08 93.6605 38.4176 94.4456 35.802 93.7448C33.1837 93.0432 31.2686 91.0283 30.5746 88.5987C30.0306 86.6944 29.1494 84.7113 27.4341 83.7214C25.7194 82.7318 23.5623 82.9602 21.6418 83.4412C19.1908 84.0552 16.4885 83.4043 14.5718 81.4875C12.659 79.5746 12.0067 76.8793 12.6143 74.4323C13.0919 72.5087 13.3273 70.364 12.3362 68.6477C11.344 66.9295 9.35064 66.0281 7.44406 65.4791C5.02179 64.7817 3.01451 62.8698 2.31448 60.2573C1.61485 57.6458 2.39622 54.9871 4.14362 53.1718C5.52019 51.7416 6.7962 49.9632 6.79603 47.9782C6.79587 45.9962 5.52001 44.2565 4.14503 42.829C2.39664 41.0138 1.61458 38.3548 2.31449 35.7427C3.01539 33.1273 5.02669 31.2136 7.45279 30.5179C9.35772 29.9716 11.3416 29.0892 12.3325 27.373C13.3233 25.6568 13.0955 23.4976 12.6161 21.5748C12.0055 19.1258 12.6571 16.4271 14.5718 14.5124C16.4839 12.6004 19.1778 11.948 21.6241 12.5544C23.5476 13.0312 25.6919 13.2661 27.4083 12.2756C29.1274 11.2836 30.0295 9.28956 30.5797 7.38256C31.2782 4.96128 33.1904 2.95492 35.802 2.25514Z"
28
+ }),
29
+ /* @__PURE__ */ jsx("path", {
30
+ pathLength: 1,
31
+ stroke: "#96A199",
32
+ strokeLinecap: "round",
33
+ strokeMiterlimit: 10,
34
+ strokeWidth: 4,
35
+ d: "M48 77C64.0163 77 77 64.0163 77 48C77 31.9837 64.0163 19 48 19C31.9837 19 19 31.9837 19 48C19 64.0163 31.9837 77 48 77Z"
36
+ }),
37
+ /* @__PURE__ */ jsx("path", {
38
+ pathLength: 1,
39
+ fill: "#96A199",
40
+ d: "M48 61C55.1797 61 61 55.1797 61 48C61 40.8203 55.1797 35 48 35C40.8203 35 35 40.8203 35 48C35 55.1797 40.8203 61 48 61Z"
41
+ })
42
+ ]
43
+ }), /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", {
44
+ id: "settings_a",
45
+ children: /* @__PURE__ */ jsx("rect", {
46
+ width: 96,
47
+ height: 96,
48
+ fill: "white"
28
49
  })
29
- ]
30
- });
50
+ }) })]
51
+ })] });
31
52
  });
32
53
  SettingsIcon.displayName = "SettingsIcon";
33
54
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"SmileyIcon.d.ts","sourceRoot":"","sources":["../../src/icons/SmileyIcon.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,QAAA,MAAM,UAAU,wHAMd,CAAC;AAEH,OAAO,EAAE,UAAU,EAAE,CAAC"}
1
+ {"version":3,"file":"SmileyIcon.d.ts","sourceRoot":"","sources":["../../src/icons/SmileyIcon.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAGnD,QAAA,MAAM,UAAU,wHAOd,CAAC;AAEH,OAAO,EAAE,UAAU,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/SmileyIcon.tsx
4
- var SmileyIcon = forwardRef(function SmileyIcon({ size, "aria-label": ariaLabel, ...props }, ref) {
5
- return /* @__PURE__ */ jsxs("svg", {
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 SmileyIcon = forwardRef(function SmileyIcon({ 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,54 @@ var SmileyIcon = forwardRef(function SmileyIcon({ 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
- /* @__PURE__ */ jsx("path", {
18
- fill: "currentColor",
19
- d: "M91.5588 48.0002C91.5588 24.3191 72.6617 5.0519 49.1243 4.45532L48.0002 4.44067C23.943 4.44067 4.44067 23.943 4.44067 48.0002L4.45532 49.1243C5.0519 72.6617 24.3191 91.5588 48.0002 91.5588C72.0569 91.5584 91.5584 72.0569 91.5588 48.0002ZM95.5588 48.0002C95.5584 74.2661 74.2661 95.5584 48.0002 95.5588C21.9391 95.5588 0.773856 74.5975 0.44458 48.6145L0.440674 48.0002C0.440674 21.7338 21.7338 0.440674 48.0002 0.440674L48.6145 0.44458C74.5975 0.773856 95.5588 21.9391 95.5588 48.0002Z"
20
- }),
21
- /* @__PURE__ */ jsx("path", {
22
- fill: "currentColor",
23
- d: "M23.1323 56.1982C24.1274 55.7188 25.3227 56.1368 25.8022 57.1318C29.4012 64.6008 37.908 70 48.0005 70C58.0928 69.9999 66.5997 64.6007 70.1987 57.1318C70.6782 56.1368 71.8736 55.7188 72.8686 56.1982C73.8637 56.6777 74.2817 57.8731 73.8022 58.8682C69.4708 67.857 59.4719 73.9999 48.0005 74C36.5289 74 26.5301 67.8571 22.1987 58.8682C21.7192 57.8731 22.1372 56.6777 23.1323 56.1982Z"
24
- }),
25
- /* @__PURE__ */ jsx("rect", {
26
- width: 18,
27
- height: 18,
28
- x: 30,
29
- y: 28,
30
- fill: "#96A199",
31
- rx: 9
32
- }),
33
- /* @__PURE__ */ jsx("rect", {
34
- width: 18,
35
- height: 18,
36
- x: 48,
37
- y: 28,
38
- fill: "#96A199",
39
- rx: 9
18
+ children: [/* @__PURE__ */ jsxs("g", {
19
+ clipPath: "url(#smiley_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
+ stroke: "currentColor",
32
+ strokeLinecap: "round",
33
+ strokeMiterlimit: 10,
34
+ strokeWidth: 4,
35
+ d: "M72.0005 58C68.0352 66.2289 58.7824 71.9999 48.0005 72C37.2185 72 27.9657 66.2289 24.0005 58"
36
+ }),
37
+ /* @__PURE__ */ jsx("rect", {
38
+ width: 18,
39
+ height: 18,
40
+ x: 30,
41
+ y: 28,
42
+ fill: "#96A199",
43
+ rx: 9
44
+ }),
45
+ /* @__PURE__ */ jsx("rect", {
46
+ width: 18,
47
+ height: 18,
48
+ x: 48,
49
+ y: 28,
50
+ fill: "#96A199",
51
+ rx: 9
52
+ })
53
+ ]
54
+ }), /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", {
55
+ id: "smiley_a",
56
+ children: /* @__PURE__ */ jsx("rect", {
57
+ width: 96,
58
+ height: 96,
59
+ fill: "white"
40
60
  })
41
- ]
42
- });
61
+ }) })]
62
+ })] });
43
63
  });
44
64
  SmileyIcon.displayName = "SmileyIcon";
45
65
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"StackIcon.d.ts","sourceRoot":"","sources":["../../src/icons/StackIcon.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,QAAA,MAAM,SAAS,wHAMb,CAAC;AAEH,OAAO,EAAE,SAAS,EAAE,CAAC"}
1
+ {"version":3,"file":"StackIcon.d.ts","sourceRoot":"","sources":["../../src/icons/StackIcon.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAGnD,QAAA,MAAM,SAAS,wHAOb,CAAC;AAEH,OAAO,EAAE,SAAS,EAAE,CAAC"}
@@ -1,46 +1,62 @@
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/StackIcon.tsx
4
- var StackIcon = forwardRef(function StackIcon({ size, "aria-label": ariaLabel, ...props }, ref) {
5
- return /* @__PURE__ */ jsxs("svg", {
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 StackIcon = forwardRef(function StackIcon({ 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,
9
- viewBox: "0 0 96 97",
10
+ viewBox: "0 0 96 96",
10
11
  fill: "none",
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
- /* @__PURE__ */ jsx("path", {
18
- stroke: "#96A199",
19
- strokeLinecap: "round",
20
- strokeMiterlimit: 10,
21
- strokeWidth: 4,
22
- d: "M2.00037 50L46.0324 74.8875C47.2537 75.5778 48.7475 75.5778 49.9688 74.8875L94.0004 50"
23
- }),
24
- /* @__PURE__ */ jsx("path", {
25
- stroke: "#96A199",
26
- strokeLinecap: "round",
27
- strokeMiterlimit: 10,
28
- strokeWidth: 4,
29
- d: "M2.00037 69L46.0324 93.8875C47.2537 94.5778 48.7475 94.5778 49.9688 93.8875L94.0004 69"
30
- }),
31
- /* @__PURE__ */ jsx("path", {
32
- stroke: "currentColor",
33
- strokeLinecap: "round",
34
- strokeMiterlimit: 10,
35
- strokeWidth: 4,
36
- d: "M44.0923 3.18895L4.2333 25.51C1.50585 27.0373 1.50586 30.9627 4.23331 32.49L46.0469 55.9055C47.2612 56.5855 48.7415 56.5855 49.9558 55.9055L91.7689 32.49C94.4964 30.9627 94.4964 27.0374 91.7689 25.51L51.9099 3.18894C49.4815 1.82901 46.5207 1.82901 44.0923 3.18895Z"
37
- }),
38
- /* @__PURE__ */ jsx("path", {
39
- fill: "#96A199",
40
- d: "M48.0011 36C52.9717 36 57.0011 31.9706 57.0011 27C57.0011 22.0294 52.9717 18 48.0011 18C43.0305 18 39.0011 22.0294 39.0011 27C39.0011 31.9706 43.0305 36 48.0011 36Z"
18
+ children: [/* @__PURE__ */ jsxs("g", {
19
+ clipPath: "url(#stack_a)",
20
+ children: [
21
+ /* @__PURE__ */ jsx("path", {
22
+ pathLength: 1,
23
+ stroke: "#96A199",
24
+ strokeLinecap: "round",
25
+ strokeMiterlimit: 10,
26
+ strokeWidth: 4,
27
+ d: "M1.99927 50L44.0631 73.775C46.5058 75.1557 49.4933 75.1557 51.936 73.775L93.9993 50"
28
+ }),
29
+ /* @__PURE__ */ jsx("path", {
30
+ pathLength: 1,
31
+ stroke: "#96A199",
32
+ strokeLinecap: "round",
33
+ strokeMiterlimit: 10,
34
+ strokeWidth: 4,
35
+ d: "M1.99927 69L44.0631 92.775C46.5058 94.1557 49.4933 94.1557 51.936 92.775L93.9993 69"
36
+ }),
37
+ /* @__PURE__ */ jsx("path", {
38
+ pathLength: 1,
39
+ stroke: "currentColor",
40
+ strokeLinecap: "round",
41
+ strokeMiterlimit: 10,
42
+ strokeWidth: 4,
43
+ d: "M44.0912 3.18895L4.2322 25.51C1.50475 27.0373 1.50476 30.9627 4.23221 32.49L46.0458 55.9055C47.2601 56.5855 48.7404 56.5855 49.9547 55.9055L91.7678 32.49C94.4953 30.9627 94.4953 27.0374 91.7678 25.51L51.9088 3.18894C49.4804 1.82901 46.5196 1.82901 44.0912 3.18895Z"
44
+ }),
45
+ /* @__PURE__ */ jsx("path", {
46
+ pathLength: 1,
47
+ fill: "#96A199",
48
+ d: "M48 36C52.9706 36 57 31.9706 57 27C57 22.0294 52.9706 18 48 18C43.0294 18 39 22.0294 39 27C39 31.9706 43.0294 36 48 36Z"
49
+ })
50
+ ]
51
+ }), /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", {
52
+ id: "stack_a",
53
+ children: /* @__PURE__ */ jsx("rect", {
54
+ width: 96,
55
+ height: 96,
56
+ fill: "white"
41
57
  })
42
- ]
43
- });
58
+ }) })]
59
+ })] });
44
60
  });
45
61
  StackIcon.displayName = "StackIcon";
46
62
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"SunIcon.d.ts","sourceRoot":"","sources":["../../src/icons/SunIcon.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,QAAA,MAAM,OAAO,wHAMX,CAAC;AAEH,OAAO,EAAE,OAAO,EAAE,CAAC"}
1
+ {"version":3,"file":"SunIcon.d.ts","sourceRoot":"","sources":["../../src/icons/SunIcon.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAGnD,QAAA,MAAM,OAAO,wHAOX,CAAC;AAEH,OAAO,EAAE,OAAO,EAAE,CAAC"}