@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
package/README.md CHANGED
@@ -40,10 +40,11 @@ true to the design.
40
40
 
41
41
  All icons accept the following props, plus any valid SVG element props:
42
42
 
43
- | Prop | Type | Default | Description |
44
- | ------------ | ------------------ | ------- | -------------------------------------------------- |
45
- | `size` | `number \| string` | `96` | Width and height of the icon |
46
- | `aria-label` | `string` | — | Accessible label. When set, icon gets `role="img"` |
43
+ | Prop | Type | Default | Description |
44
+ | ------------ | --------- | ------- | -------------------------------------------------- |
45
+ | `size` | `number` | `96` | Width and height of the icon in pixels |
46
+ | `aria-label` | `string` | — | Accessible label. When set, icon gets `role="img"` |
47
+ | `animate` | `boolean` | `false` | Plays a stroke-draw reveal animation on mount |
47
48
 
48
49
  When no `aria-label` is provided, icons render with `aria-hidden="true"`.
49
50
 
@@ -1 +1 @@
1
- {"version":3,"file":"ActionsIcon.d.ts","sourceRoot":"","sources":["../../src/icons/ActionsIcon.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,QAAA,MAAM,WAAW,wHAMf,CAAC;AAEH,OAAO,EAAE,WAAW,EAAE,CAAC"}
1
+ {"version":3,"file":"ActionsIcon.d.ts","sourceRoot":"","sources":["../../src/icons/ActionsIcon.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAGnD,QAAA,MAAM,WAAW,wHAOf,CAAC;AAEH,OAAO,EAAE,WAAW,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/ActionsIcon.tsx
4
- var ActionsIcon = forwardRef(function ActionsIcon({ 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 ActionsIcon = forwardRef(function ActionsIcon({ 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,67 +12,82 @@ var ActionsIcon = forwardRef(function ActionsIcon({ 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
- /* @__PURE__ */ jsx("path", {
18
- stroke: "#96A199",
19
- strokeLinecap: "round",
20
- strokeMiterlimit: 10,
21
- strokeWidth: 4,
22
- d: "M2 43V64C2 72.8366 9.16345 80 18 80H32"
23
- }),
24
- /* @__PURE__ */ jsx("circle", {
25
- cx: 13,
26
- cy: 13,
27
- r: 13,
28
- fill: "#96A199",
29
- transform: "matrix(-1 0 0 1 69 68)"
30
- }),
31
- /* @__PURE__ */ jsx("circle", {
32
- cx: 9,
33
- cy: 9,
34
- r: 9,
35
- fill: "#96A199",
36
- transform: "matrix(-1 0 0 1 78 23)"
37
- }),
38
- /* @__PURE__ */ jsx("circle", {
39
- cx: 9,
40
- cy: 9,
41
- r: 9,
42
- fill: "#96A199",
43
- transform: "matrix(-1 0 0 1 96 23)"
44
- }),
45
- /* @__PURE__ */ jsx("circle", {
46
- cx: 9,
47
- cy: 9,
48
- r: 9,
49
- fill: "#96A199",
50
- transform: "matrix(-1 0 0 1 60 23)"
51
- }),
52
- /* @__PURE__ */ jsx("path", {
53
- stroke: "currentColor",
54
- strokeLinecap: "round",
55
- strokeMiterlimit: 10,
56
- strokeWidth: 4,
57
- d: "M2 2V16C2 24.8366 9.16345 32 18 32H32"
58
- }),
59
- /* @__PURE__ */ jsx("path", {
60
- stroke: "currentColor",
61
- strokeLinecap: "round",
62
- strokeMiterlimit: 10,
63
- strokeWidth: 4,
64
- d: "M21.4124 45.8358L33.6045 33.6437C34.5576 32.6906 34.5576 31.1452 33.6045 30.1921L21.4124 18"
65
- }),
66
- /* @__PURE__ */ jsx("path", {
67
- stroke: "#96A199",
68
- strokeLinecap: "round",
69
- strokeMiterlimit: 10,
70
- strokeWidth: 4,
71
- d: "M21.4124 93.8358L33.6045 81.6437C34.5576 80.6906 34.5576 79.1452 33.6045 78.1921L21.4124 66"
18
+ children: [/* @__PURE__ */ jsxs("g", {
19
+ clipPath: "url(#actions_a)",
20
+ children: [
21
+ /* @__PURE__ */ jsx("path", {
22
+ pathLength: 1,
23
+ stroke: "#96A199",
24
+ strokeLinecap: "round",
25
+ strokeMiterlimit: 10,
26
+ strokeWidth: 4,
27
+ d: "M2 43V64C2 72.8366 9.16345 80 18 80H32"
28
+ }),
29
+ /* @__PURE__ */ jsx("circle", {
30
+ cx: 13,
31
+ cy: 13,
32
+ r: 13,
33
+ fill: "#96A199",
34
+ transform: "matrix(-1 0 0 1 69 68)"
35
+ }),
36
+ /* @__PURE__ */ jsx("circle", {
37
+ cx: 9,
38
+ cy: 9,
39
+ r: 9,
40
+ fill: "#96A199",
41
+ transform: "matrix(-1 0 0 1 78 23)"
42
+ }),
43
+ /* @__PURE__ */ jsx("circle", {
44
+ cx: 9,
45
+ cy: 9,
46
+ r: 9,
47
+ fill: "#96A199",
48
+ transform: "matrix(-1 0 0 1 96 23)"
49
+ }),
50
+ /* @__PURE__ */ jsx("circle", {
51
+ cx: 9,
52
+ cy: 9,
53
+ r: 9,
54
+ fill: "#96A199",
55
+ transform: "matrix(-1 0 0 1 60 23)"
56
+ }),
57
+ /* @__PURE__ */ jsx("path", {
58
+ pathLength: 1,
59
+ stroke: "currentColor",
60
+ strokeLinecap: "round",
61
+ strokeMiterlimit: 10,
62
+ strokeWidth: 4,
63
+ d: "M2 2V16C2 24.8366 9.16345 32 18 32H32"
64
+ }),
65
+ /* @__PURE__ */ jsx("path", {
66
+ pathLength: 1,
67
+ stroke: "currentColor",
68
+ strokeLinecap: "round",
69
+ strokeMiterlimit: 10,
70
+ strokeWidth: 4,
71
+ d: "M21.4124 45.8358L33.6045 33.6437C34.5576 32.6906 34.5576 31.1452 33.6045 30.1921L21.4124 18"
72
+ }),
73
+ /* @__PURE__ */ jsx("path", {
74
+ pathLength: 1,
75
+ stroke: "#96A199",
76
+ strokeLinecap: "round",
77
+ strokeMiterlimit: 10,
78
+ strokeWidth: 4,
79
+ d: "M21.4124 93.8358L33.6045 81.6437C34.5576 80.6906 34.5576 79.1452 33.6045 78.1921L21.4124 66"
80
+ })
81
+ ]
82
+ }), /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", {
83
+ id: "actions_a",
84
+ children: /* @__PURE__ */ jsx("rect", {
85
+ width: 96,
86
+ height: 96,
87
+ fill: "white"
72
88
  })
73
- ]
74
- });
89
+ }) })]
90
+ })] });
75
91
  });
76
92
  ActionsIcon.displayName = "ActionsIcon";
77
93
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"AiModelIcon.d.ts","sourceRoot":"","sources":["../../src/icons/AiModelIcon.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,QAAA,MAAM,WAAW,wHAMf,CAAC;AAEH,OAAO,EAAE,WAAW,EAAE,CAAC"}
1
+ {"version":3,"file":"AiModelIcon.d.ts","sourceRoot":"","sources":["../../src/icons/AiModelIcon.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAGnD,QAAA,MAAM,WAAW,wHAOf,CAAC;AAEH,OAAO,EAAE,WAAW,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/AiModelIcon.tsx
4
- var AiModelIcon = forwardRef(function AiModelIcon({ 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 AiModelIcon = forwardRef(function AiModelIcon({ 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,51 @@ var AiModelIcon = forwardRef(function AiModelIcon({ 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
18
  children: [
17
19
  /* @__PURE__ */ jsx("path", {
18
- fill: "currentColor",
19
- d: "M48.0006 23.6608C49.1049 23.661 50.0005 24.5565 50.0006 25.6608V51.9088L73.8287 70.6129C74.6973 71.2949 74.8484 72.5527 74.1666 73.4215C73.4845 74.2901 72.2268 74.4413 71.358 73.7594L47.9791 55.4078L23.8034 73.7789C22.9239 74.447 21.6689 74.2755 21.0006 73.3961C20.3327 72.5166 20.5041 71.2615 21.3834 70.5934L46.0006 51.8873V25.6608C46.0007 24.5563 46.8961 23.6608 48.0006 23.6608Z"
20
+ pathLength: 1,
21
+ stroke: "currentColor",
22
+ strokeLinecap: "round",
23
+ strokeMiterlimit: 10,
24
+ strokeWidth: 4,
25
+ d: "M48 53L23 72"
20
26
  }),
21
27
  /* @__PURE__ */ jsx("path", {
28
+ pathLength: 1,
29
+ stroke: "currentColor",
30
+ strokeLinecap: "round",
31
+ strokeMiterlimit: 10,
32
+ strokeWidth: 4,
33
+ d: "M48 53L73 72"
34
+ }),
35
+ /* @__PURE__ */ jsx("path", {
36
+ pathLength: 1,
37
+ stroke: "currentColor",
38
+ strokeLinecap: "round",
39
+ strokeMiterlimit: 10,
40
+ strokeWidth: 4,
41
+ d: "M48.0098 53L48.0098 26"
42
+ }),
43
+ /* @__PURE__ */ jsx("path", {
44
+ pathLength: 1,
22
45
  fill: "#96A199",
23
46
  d: "M87 91C91.9706 91 96 86.9706 96 82C96 77.0294 91.9706 73 87 73C82.0294 73 78 77.0294 78 82C78 86.9706 82.0294 91 87 91Z"
24
47
  }),
25
48
  /* @__PURE__ */ jsx("path", {
49
+ pathLength: 1,
26
50
  fill: "#96A199",
27
51
  d: "M48 18C52.9706 18 57 13.9706 57 9C57 4.02944 52.9706 0 48 0C43.0294 0 39 4.02944 39 9C39 13.9706 43.0294 18 48 18Z"
28
52
  }),
29
53
  /* @__PURE__ */ jsx("path", {
54
+ pathLength: 1,
30
55
  fill: "#96A199",
31
56
  d: "M9 91C13.9706 91 18 86.9706 18 82C18 77.0294 13.9706 73 9 73C4.02944 73 0 77.0294 0 82C0 86.9706 4.02944 91 9 91Z"
32
57
  })
33
58
  ]
34
- });
59
+ })] });
35
60
  });
36
61
  AiModelIcon.displayName = "AiModelIcon";
37
62
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"AlertCopilotIcon.d.ts","sourceRoot":"","sources":["../../src/icons/AlertCopilotIcon.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,QAAA,MAAM,gBAAgB,wHAMpB,CAAC;AAEH,OAAO,EAAE,gBAAgB,EAAE,CAAC"}
1
+ {"version":3,"file":"AlertCopilotIcon.d.ts","sourceRoot":"","sources":["../../src/icons/AlertCopilotIcon.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAGnD,QAAA,MAAM,gBAAgB,wHAOpB,CAAC;AAEH,OAAO,EAAE,gBAAgB,EAAE,CAAC"}
@@ -1,68 +1,85 @@
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/AlertCopilotIcon.tsx
4
- var AlertCopilotIcon = forwardRef(function AlertCopilotIcon({ 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 AlertCopilotIcon = forwardRef(function AlertCopilotIcon({ 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 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: "currentColor",
19
- strokeLinecap: "round",
20
- strokeMiterlimit: 10,
21
- strokeWidth: 4,
22
- d: "M24.0723 39L3.10359 74.9711C-0.00534241 80.3044 3.84176 87 10.015 87H86.1582C92.3166 87 96.1656 80.3333 93.0864 75L55.1457 9.28486C52.0305 3.88916 44.2156 3.96809 41.21 9.42561L39.3103 12.875"
23
- }),
24
- /* @__PURE__ */ jsx("path", {
25
- fill: "#96A199",
26
- d: "M54.053 70C54.053 66.6863 51.3667 64 48.053 64C44.7393 64 42.053 66.6863 42.053 70C42.053 73.3137 44.7393 76 48.053 76C51.3667 76 54.053 73.3137 54.053 70Z"
27
- }),
28
- /* @__PURE__ */ jsx("path", {
29
- fill: "#96A199",
30
- d: "M41.7733 35.9628L43.6414 54.0212C43.8752 56.2819 45.7802 58 48.053 58C50.3257 58 52.2307 56.2819 52.4646 54.0212L54.3327 35.9628C54.7179 32.2391 51.7966 29 48.053 29C44.3093 29 41.3881 32.2391 41.7733 35.9628Z"
31
- }),
32
- /* @__PURE__ */ jsxs("g", {
33
- clipPath: "url(#alert-copilot_a)",
34
- children: [
35
- /* @__PURE__ */ jsx("path", {
36
- fill: "currentColor",
37
- fillRule: "evenodd",
38
- d: "M35.936 25.4879C34.6448 27.7308 27.1476 33.0231 18.0531 33.0231C8.95851 33.0231 1.46133 27.7308 0.170187 25.4879C0.0757658 25.3238 0.0452881 25.1366 0.0452881 24.9473V20.9545C0.0452881 20.7889 0.070839 20.6245 0.132082 20.4707C0.690418 19.0687 2.15268 17.0322 4.03982 16.4858C4.29001 15.8435 4.66057 14.9046 5.00632 14.2115C4.94844 13.6812 4.92807 13.1343 4.92807 12.5817C4.92807 10.5852 5.35124 8.83407 6.62636 7.53002C7.22193 6.92094 7.96091 6.45374 8.83731 6.10253C10.9362 4.39737 13.9251 2.96289 18.0207 2.96289C22.1163 2.96289 25.1699 4.39737 27.2688 6.10253C28.1452 6.45374 28.8842 6.92094 29.4798 7.53002C30.7549 8.83407 31.1781 10.5852 31.1781 12.5817C31.1781 13.1343 31.1577 13.6812 31.0998 14.2115C31.4456 14.9046 31.8161 15.8435 32.0663 16.4858C33.9535 17.0322 35.4157 19.0687 35.9741 20.4707C36.0353 20.6245 36.0609 20.7889 36.0609 20.9545V24.9473C36.0609 25.1366 36.0304 25.3238 35.936 25.4879ZM19.2729 12.0977C19.2091 11.6004 19.1788 11.1551 19.1779 10.7572L19.1779 10.7258C19.1799 9.57155 19.4322 8.82052 19.8352 8.35926C20.347 7.77353 21.4048 7.32479 23.6341 7.56605C25.8928 7.81049 27.1553 8.37107 27.871 9.10307C28.564 9.81175 28.928 10.872 28.928 12.5817C28.928 14.3981 28.6663 15.4713 28.0907 16.1241C27.5434 16.7449 26.4656 17.25 24.1051 17.25C22.2903 17.25 21.2528 16.6598 20.5895 15.8435C19.8772 14.967 19.4764 13.6829 19.2729 12.0977ZM16.8332 12.0977C16.897 11.6004 16.9274 11.1551 16.9283 10.7572L16.9283 10.7258C16.9263 9.57154 16.674 8.82051 16.2709 8.35925C15.7591 7.77353 14.7014 7.32478 12.472 7.56605C10.2134 7.81048 8.95088 8.37106 8.23512 9.10306C7.54216 9.81175 7.1781 10.872 7.1781 12.5817C7.1781 14.3981 7.43988 15.4713 8.01545 16.1241C8.56276 16.7449 9.64051 17.25 12.0011 17.25C13.8158 17.25 14.8534 16.6597 15.5167 15.8435C16.2289 14.9669 16.6298 13.6829 16.8332 12.0977ZM18.3114 16.4993C18.2253 16.4998 18.3975 16.4993 18.3114 16.4993C18.2253 16.4993 17.8809 16.4998 17.7947 16.4993C17.636 16.7653 17.4594 17.0205 17.2628 17.2624C16.1083 18.6832 14.3849 19.5 12.0011 19.5C9.41364 19.5 7.5174 18.9615 6.32771 17.6121C6.26008 17.5354 6.19956 17.4551 6.19956 17.4551L6.05307 17.6121V27.4883C8.20529 28.658 12.8247 30.7569 18.0531 30.7569C23.2815 30.7569 27.9009 28.658 30.0531 27.4883V17.6121L29.9066 17.4551C29.9066 17.4551 29.857 17.523 29.7784 17.6121C28.5887 18.9615 26.6925 19.5 24.1051 19.5C21.7212 19.5 19.9979 18.6832 18.8433 17.2624C18.6468 17.0205 18.4702 16.7653 18.3114 16.4993Z",
39
- clipRule: "evenodd"
40
- }),
41
- /* @__PURE__ */ jsx("path", {
42
- fill: "currentColor",
43
- fillRule: "evenodd",
44
- d: "M21.8031 21.375C22.6315 21.375 23.3031 22.0465 23.3031 22.875V25.875C23.3031 26.7034 22.6315 27.375 21.8031 27.375C20.9746 27.375 20.3031 26.7034 20.3031 25.875V22.875C20.3031 22.0465 20.9746 21.375 21.8031 21.375Z",
45
- clipRule: "evenodd"
46
- }),
47
- /* @__PURE__ */ jsx("path", {
48
- fill: "currentColor",
49
- fillRule: "evenodd",
50
- d: "M14.3031 21.375C15.1315 21.375 15.8031 22.0465 15.8031 22.875V25.875C15.8031 26.7034 15.1315 27.375 14.3031 27.375C13.4746 27.375 12.8031 26.7034 12.8031 25.875V22.875C12.8031 22.0465 13.4746 21.375 14.3031 21.375Z",
51
- clipRule: "evenodd"
52
- })
53
- ]
54
- }),
55
- /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", {
56
- id: "alert-copilot_a",
57
- children: /* @__PURE__ */ jsx("rect", {
58
- width: 36,
59
- height: 36,
60
- fill: "white",
61
- transform: "translate(0.0531006)"
18
+ children: [/* @__PURE__ */ jsxs("g", {
19
+ clipPath: "url(#alert-copilot_a)",
20
+ children: [
21
+ /* @__PURE__ */ jsx("path", {
22
+ pathLength: 1,
23
+ stroke: "currentColor",
24
+ strokeLinecap: "round",
25
+ strokeMiterlimit: 10,
26
+ strokeWidth: 4,
27
+ d: "M24.0193 38L3.05061 73.9711C-0.0583209 79.3044 3.78878 86 9.96205 86H86.1052C92.2636 86 96.1126 79.3333 93.0334 74L55.0928 8.28486C51.9776 2.88916 44.1626 2.96809 41.157 8.42561L39.2573 11.875"
28
+ }),
29
+ /* @__PURE__ */ jsx("path", {
30
+ pathLength: 1,
31
+ fill: "#96A199",
32
+ d: "M54 69C54 65.6863 51.3137 63 48 63C44.6863 63 42 65.6863 42 69C42 72.3137 44.6863 75 48 75C51.3137 75 54 72.3137 54 69Z"
33
+ }),
34
+ /* @__PURE__ */ jsx("path", {
35
+ pathLength: 1,
36
+ fill: "#96A199",
37
+ d: "M41.7203 34.9628L43.5884 53.0212C43.8223 55.2819 45.7272 57 48 57C50.2728 57 52.1777 55.2819 52.4116 53.0212L54.2797 34.9628C54.6649 31.2391 51.7436 28 48 28C44.2564 28 41.3351 31.2391 41.7203 34.9628Z"
38
+ }),
39
+ /* @__PURE__ */ jsxs("g", {
40
+ clipPath: "url(#alert-copilot_b)",
41
+ children: [
42
+ /* @__PURE__ */ jsx("path", {
43
+ pathLength: 1,
44
+ fill: "currentColor",
45
+ fillRule: "evenodd",
46
+ d: "M35.8829 24.4879C34.5917 26.7308 27.0945 32.0231 18 32.0231C8.90541 32.0231 1.40823 26.7308 0.117087 24.4879C0.0226652 24.3238 -0.0078125 24.1366 -0.0078125 23.9473V19.9545C-0.0078125 19.7889 0.0177384 19.6245 0.0789817 19.4707C0.637317 18.0687 2.09958 16.0322 3.98672 15.4858C4.23691 14.8435 4.60747 13.9046 4.95322 13.2115C4.89534 12.6812 4.87497 12.1343 4.87497 11.5817C4.87497 9.58523 5.29814 7.83407 6.57326 6.53002C7.16883 5.92094 7.90781 5.45374 8.78421 5.10253C10.8831 3.39737 13.872 1.96289 17.9676 1.96289C22.0632 1.96289 25.1168 3.39737 27.2157 5.10253C28.0921 5.45374 28.8311 5.92094 29.4267 6.53002C30.7018 7.83407 31.125 9.58523 31.125 11.5817C31.125 12.1343 31.1046 12.6812 31.0467 13.2115C31.3925 13.9046 31.763 14.8435 32.0132 15.4858C33.9004 16.0322 35.3626 18.0687 35.921 19.4707C35.9822 19.6245 36.0078 19.7889 36.0078 19.9545V23.9473C36.0078 24.1366 35.9773 24.3238 35.8829 24.4879ZM19.2198 11.0977C19.156 10.6004 19.1257 10.1551 19.1248 9.75722L19.1248 9.72577C19.1268 8.57155 19.3791 7.82052 19.7821 7.35926C20.2939 6.77353 21.3517 6.32479 23.581 6.56605C25.8397 6.81049 27.1022 7.37107 27.8179 8.10307C28.5109 8.81175 28.8749 9.87204 28.8749 11.5817C28.8749 13.3981 28.6132 14.4713 28.0376 15.1241C27.4903 15.7449 26.4125 16.25 24.052 16.25C22.2372 16.25 21.1997 15.6598 20.5364 14.8435C19.8241 13.967 19.4233 12.6829 19.2198 11.0977ZM16.7801 11.0977C16.8439 10.6004 16.8743 10.1551 16.8752 9.75721L16.8752 9.72576C16.8732 8.57154 16.6209 7.82051 16.2178 7.35925C15.706 6.77353 14.6483 6.32478 12.4189 6.56605C10.1603 6.81048 8.89778 7.37106 8.18202 8.10306C7.48906 8.81175 7.125 9.87204 7.125 11.5817C7.125 13.3981 7.38678 14.4713 7.96235 15.1241C8.50966 15.7449 9.58741 16.25 11.948 16.25C13.7627 16.25 14.8003 15.6597 15.4636 14.8435C16.1758 13.9669 16.5767 12.6829 16.7801 11.0977ZM18.2583 15.4993C18.1722 15.4998 18.3444 15.4993 18.2583 15.4993C18.1722 15.4993 17.8278 15.4998 17.7416 15.4993C17.5829 15.7653 17.4063 16.0205 17.2097 16.2624C16.0552 17.6832 14.3318 18.5 11.948 18.5C9.36054 18.5 7.4643 17.9615 6.27461 16.6121C6.20698 16.5354 6.14646 16.4551 6.14646 16.4551L5.99997 16.6121V26.4883C8.15219 27.658 12.7716 29.7569 18 29.7569C23.2284 29.7569 27.8478 27.658 30 26.4883V16.6121L29.8535 16.4551C29.8535 16.4551 29.8039 16.523 29.7253 16.6121C28.5356 17.9615 26.6394 18.5 24.052 18.5C21.6681 18.5 19.9447 17.6832 18.7902 16.2624C18.5937 16.0205 18.4171 15.7653 18.2583 15.4993Z",
47
+ clipRule: "evenodd"
48
+ }),
49
+ /* @__PURE__ */ jsx("path", {
50
+ pathLength: 1,
51
+ fill: "currentColor",
52
+ fillRule: "evenodd",
53
+ d: "M21.75 20.375C22.5784 20.375 23.25 21.0465 23.25 21.875V24.875C23.25 25.7034 22.5784 26.375 21.75 26.375C20.9215 26.375 20.25 25.7034 20.25 24.875V21.875C20.25 21.0465 20.9215 20.375 21.75 20.375Z",
54
+ clipRule: "evenodd"
55
+ }),
56
+ /* @__PURE__ */ jsx("path", {
57
+ pathLength: 1,
58
+ fill: "currentColor",
59
+ fillRule: "evenodd",
60
+ d: "M14.25 20.375C15.0784 20.375 15.75 21.0465 15.75 21.875V24.875C15.75 25.7034 15.0784 26.375 14.25 26.375C13.4215 26.375 12.75 25.7034 12.75 24.875V21.875C12.75 21.0465 13.4215 20.375 14.25 20.375Z",
61
+ clipRule: "evenodd"
62
+ })
63
+ ]
62
64
  })
63
- }) })
64
- ]
65
- });
65
+ ]
66
+ }), /* @__PURE__ */ jsxs("defs", { children: [/* @__PURE__ */ jsx("clipPath", {
67
+ id: "alert-copilot_a",
68
+ children: /* @__PURE__ */ jsx("rect", {
69
+ width: 96,
70
+ height: 96,
71
+ fill: "white"
72
+ })
73
+ }), /* @__PURE__ */ jsx("clipPath", {
74
+ id: "alert-copilot_b",
75
+ children: /* @__PURE__ */ jsx("rect", {
76
+ width: 36,
77
+ height: 36,
78
+ fill: "white",
79
+ transform: "translate(0 -1)"
80
+ })
81
+ })] })]
82
+ })] });
66
83
  });
67
84
  AlertCopilotIcon.displayName = "AlertCopilotIcon";
68
85
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"AlertIcon.d.ts","sourceRoot":"","sources":["../../src/icons/AlertIcon.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":"AlertIcon.d.ts","sourceRoot":"","sources":["../../src/icons/AlertIcon.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,36 +1,51 @@
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/AlertIcon.tsx
4
- var AlertIcon = forwardRef(function AlertIcon({ 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 AlertIcon = forwardRef(function AlertIcon({ 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
- stroke: "currentColor",
19
- strokeLinecap: "round",
20
- strokeMiterlimit: 10,
21
- strokeWidth: 4,
22
- d: "M41.1918 7.99999C44.271 2.66666 51.969 2.66667 55.0482 8L93.1534 74C96.2326 79.3333 92.3835 86 86.2251 86H10.0149C3.8565 86 0.00750294 79.3333 3.0867 74L41.1918 7.99999Z"
23
- }),
24
- /* @__PURE__ */ jsx("path", {
25
- fill: "#96A199",
26
- d: "M54.1199 69C54.1199 65.6863 51.4336 63 48.1199 63C44.8062 63 42.1199 65.6863 42.1199 69C42.1199 72.3137 44.8062 75 48.1199 75C51.4336 75 54.1199 72.3137 54.1199 69Z"
27
- }),
28
- /* @__PURE__ */ jsx("path", {
29
- fill: "#96A199",
30
- d: "M41.8402 34.9628L43.7083 53.0212C43.9422 55.2819 45.8471 57 48.1199 57C50.3927 57 52.2976 55.2819 52.5315 53.0212L54.3996 34.9628C54.7848 31.2391 51.8635 28 48.1199 28C44.3763 28 41.455 31.2391 41.8402 34.9628Z"
18
+ children: [/* @__PURE__ */ jsxs("g", {
19
+ clipPath: "url(#alert_a)",
20
+ children: [
21
+ /* @__PURE__ */ jsx("path", {
22
+ pathLength: 1,
23
+ stroke: "currentColor",
24
+ strokeLinecap: "round",
25
+ strokeMiterlimit: 10,
26
+ strokeWidth: 4,
27
+ d: "M41.0718 7.99999C44.151 2.66666 51.849 2.66667 54.9282 8L93.0333 74C96.1125 79.3333 92.2635 86 86.1051 86H9.89487C3.73647 86 -0.112523 79.3333 2.96668 74L41.0718 7.99999Z"
28
+ }),
29
+ /* @__PURE__ */ jsx("path", {
30
+ pathLength: 1,
31
+ fill: "#96A199",
32
+ d: "M54 69C54 65.6863 51.3137 63 48 63C44.6863 63 42 65.6863 42 69C42 72.3137 44.6863 75 48 75C51.3137 75 54 72.3137 54 69Z"
33
+ }),
34
+ /* @__PURE__ */ jsx("path", {
35
+ pathLength: 1,
36
+ fill: "#96A199",
37
+ d: "M41.7203 34.9628L43.5884 53.0212C43.8223 55.2819 45.7272 57 48 57C50.2728 57 52.1777 55.2819 52.4116 53.0212L54.2797 34.9628C54.6649 31.2391 51.7436 28 48 28C44.2564 28 41.3351 31.2391 41.7203 34.9628Z"
38
+ })
39
+ ]
40
+ }), /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", {
41
+ id: "alert_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
  AlertIcon.displayName = "AlertIcon";
36
51
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"ArrowDownIcon.d.ts","sourceRoot":"","sources":["../../src/icons/ArrowDownIcon.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,QAAA,MAAM,aAAa,wHAMjB,CAAC;AAEH,OAAO,EAAE,aAAa,EAAE,CAAC"}
1
+ {"version":3,"file":"ArrowDownIcon.d.ts","sourceRoot":"","sources":["../../src/icons/ArrowDownIcon.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,37 +1,97 @@
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/ArrowDownIcon.tsx
4
- var ArrowDownIcon = forwardRef(function ArrowDownIcon({ 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 ArrowDownIcon = forwardRef(function ArrowDownIcon({ 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: "M50.9977 94.3342C49.2636 96.0681 46.4516 96.0681 44.7174 94.3342L32.3014 81.9182C31.5205 81.1372 31.5206 79.8711 32.3014 79.09C33.0825 78.309 34.3485 78.309 35.1296 79.09L45.7155 89.676L45.7155 28.3615C45.7156 27.2571 46.611 26.3615 47.7155 26.3615C48.82 26.3615 49.7154 27.2571 49.7155 28.3615L49.7155 89.9602L60.5856 79.09C61.3667 78.309 62.6327 78.309 63.4137 79.09C64.1948 79.8711 64.1948 81.1371 63.4137 81.9182L50.9977 94.3342Z"
20
- }),
21
- /* @__PURE__ */ jsx("path", {
22
- fill: "currentColor",
23
- d: "M19.3671 68.0196C17.633 69.7534 14.821 69.7534 13.0868 68.0196L0.670832 55.6026C-0.110204 54.8216 -0.110176 53.5555 0.670832 52.7745C1.45188 51.9934 2.71791 51.9934 3.49896 52.7745L13.9999 63.2754L13.9999 2.00005C13.9999 0.89548 14.8954 4.89203e-05 15.9999 4.90169e-05C17.1045 5.52985e-05 17.9999 0.895485 17.9999 2.00005L17.9999 63.7295L28.955 52.7745C29.7361 51.9934 31.0021 51.9934 31.7831 52.7745C32.5641 53.5555 32.5642 54.8216 31.7831 55.6026L19.3671 68.0196Z"
24
- }),
25
- /* @__PURE__ */ jsx("path", {
26
- fill: "currentColor",
27
- d: "M83.1399 68.0186C81.4058 69.7525 78.5938 69.7525 76.8597 68.0186L64.4436 55.6025C63.6627 54.8216 63.6628 53.5555 64.4436 52.7744C65.2247 51.9934 66.4907 51.9934 67.2718 52.7744L78.0003 63.5029L78.0003 2.00001C78.0003 0.895445 78.8957 5.70447e-06 80.0003 5.80103e-06C81.1047 0.000166684 82.0003 0.895545 82.0003 2.00001L82.0003 63.502L92.7278 52.7744C93.5089 51.9934 94.7749 51.9934 95.5559 52.7744C96.337 53.5555 96.337 54.8215 95.5559 55.6025L83.1399 68.0186Z"
28
- }),
29
- /* @__PURE__ */ jsx("path", {
30
- fill: "#96A199",
31
- d: "M48 0.000182319C43.0294 0.000181884 39 4.02961 39 9.00017C39 13.9707 43.0294 18.0002 48 18.0002C52.9705 18.0002 57 13.9707 57 9.00017C57 4.02961 52.9705 0.000182753 48 0.000182319Z"
18
+ children: [/* @__PURE__ */ jsx("g", {
19
+ clipPath: "url(#arrow-down_a)",
20
+ children: /* @__PURE__ */ jsxs("g", {
21
+ clipPath: "url(#arrow-down_b)",
22
+ children: [
23
+ /* @__PURE__ */ jsx("path", {
24
+ pathLength: 1,
25
+ stroke: "currentColor",
26
+ strokeLinecap: "round",
27
+ strokeMiterlimit: 10,
28
+ strokeWidth: 4,
29
+ d: "M33.7158 80.5036L46.1321 92.9199C47.0852 93.8731 48.6306 93.8731 49.5837 92.9199L62 80.5036"
30
+ }),
31
+ /* @__PURE__ */ jsx("path", {
32
+ pathLength: 1,
33
+ stroke: "currentColor",
34
+ strokeLinecap: "round",
35
+ strokeMiterlimit: 10,
36
+ strokeWidth: 4,
37
+ d: "M47.7156 28.3616L47.7156 92.3616"
38
+ }),
39
+ /* @__PURE__ */ jsx("path", {
40
+ pathLength: 1,
41
+ stroke: "currentColor",
42
+ strokeLinecap: "round",
43
+ strokeMiterlimit: 10,
44
+ strokeWidth: 4,
45
+ d: "M2.08492 54.1882L14.5012 66.6045C15.4544 67.5576 16.9997 67.5576 17.9529 66.6045L30.3692 54.1882"
46
+ }),
47
+ /* @__PURE__ */ jsx("path", {
48
+ pathLength: 1,
49
+ stroke: "currentColor",
50
+ strokeLinecap: "round",
51
+ strokeMiterlimit: 10,
52
+ strokeWidth: 4,
53
+ d: "M16 1.99976L16 65.9998"
54
+ }),
55
+ /* @__PURE__ */ jsx("path", {
56
+ pathLength: 1,
57
+ stroke: "currentColor",
58
+ strokeLinecap: "round",
59
+ strokeMiterlimit: 10,
60
+ strokeWidth: 4,
61
+ d: "M65.8579 54.1879L78.2742 66.6043C79.2273 67.5574 80.7727 67.5574 81.7258 66.6043L94.1421 54.1879"
62
+ }),
63
+ /* @__PURE__ */ jsx("path", {
64
+ pathLength: 1,
65
+ stroke: "currentColor",
66
+ strokeLinecap: "round",
67
+ strokeMiterlimit: 10,
68
+ strokeWidth: 4,
69
+ d: "M80 1.99976L80 65.9998"
70
+ }),
71
+ /* @__PURE__ */ jsx("path", {
72
+ pathLength: 1,
73
+ fill: "#96A199",
74
+ d: "M48 -7.86807e-07C43.0294 -1.22135e-06 39 4.02942 39 8.99999C39 13.9706 43.0294 18 48 18C52.9705 18 57 13.9706 57 8.99999C57 4.02943 52.9705 -3.52267e-07 48 -7.86807e-07Z"
75
+ })
76
+ ]
32
77
  })
33
- ]
34
- });
78
+ }), /* @__PURE__ */ jsxs("defs", { children: [/* @__PURE__ */ jsx("clipPath", {
79
+ id: "arrow-down_a",
80
+ children: /* @__PURE__ */ jsx("rect", {
81
+ width: 96,
82
+ height: 96,
83
+ fill: "white"
84
+ })
85
+ }), /* @__PURE__ */ jsx("clipPath", {
86
+ id: "arrow-down_b",
87
+ children: /* @__PURE__ */ jsx("rect", {
88
+ width: 96,
89
+ height: 96,
90
+ fill: "white",
91
+ transform: "translate(96) rotate(90)"
92
+ })
93
+ })] })]
94
+ })] });
35
95
  });
36
96
  ArrowDownIcon.displayName = "ArrowDownIcon";
37
97
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"ArrowLeftIcon.d.ts","sourceRoot":"","sources":["../../src/icons/ArrowLeftIcon.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,QAAA,MAAM,aAAa,wHAMjB,CAAC;AAEH,OAAO,EAAE,aAAa,EAAE,CAAC"}
1
+ {"version":3,"file":"ArrowLeftIcon.d.ts","sourceRoot":"","sources":["../../src/icons/ArrowLeftIcon.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAGnD,QAAA,MAAM,aAAa,wHAOjB,CAAC;AAEH,OAAO,EAAE,aAAa,EAAE,CAAC"}