Skip to content

Commit af74f0c

Browse files
Refresh vendored icon registry and Central Icons package (#125)
## Summary - vendor the requested filled, outline, and product-specific icon additions into the Origin registry - upgrade Central Icons to `1.1.153` and regenerate the vendored outputs - expose the new icons through `icon-registry.ts` for downstream consumers ## Test plan - [x] `npm run lint` - [x] `npm run icons:extract` Made with [Cursor](https://cursor.com) --------- Co-authored-by: Pat Capulong <me@patcapulong.com>
1 parent dfb6904 commit af74f0c

30 files changed

Lines changed: 113 additions & 17 deletions

File tree

package-lock.json

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@
7777
"devDependencies": {
7878
"@arethetypeswrong/cli": "^0.18.2",
7979
"@axe-core/playwright": "^4.11.0",
80-
"@central-icons-react/round-filled-radius-3-stroke-1.5": "^1.1.145",
81-
"@central-icons-react/round-outlined-radius-0-stroke-1.5": "^1.1.145",
82-
"@central-icons-react/round-outlined-radius-3-stroke-1.5": "^1.1.145",
80+
"@central-icons-react/round-filled-radius-3-stroke-1.5": "^1.1.153",
81+
"@central-icons-react/round-outlined-radius-0-stroke-1.5": "^1.1.153",
82+
"@central-icons-react/round-outlined-radius-3-stroke-1.5": "^1.1.153",
8383
"@eslint/eslintrc": "^3.3.3",
8484
"@eslint/js": "^9.0.0",
8585
"@playwright/experimental-ct-react": "^1.57.0",

scripts/extract-icons.mjs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ const SECTIONS = [
9696
{ name: 'IconBell' },
9797
{ name: 'IconBellOff' },
9898
{ name: 'IconBlackpoint' },
99+
{ name: 'IconBank' },
100+
{ name: 'IconBuildings' },
99101
{ name: 'IconBrackets1' },
100102
{ name: 'IconBrokenHeart' },
101103
{ name: 'IconBrowserTabs' },
@@ -113,12 +115,15 @@ const SECTIONS = [
113115
{ name: 'IconCircleX', variant: 'filled' },
114116
{ name: 'IconClipboard2' },
115117
{ name: 'IconClipboard2Sparkle' },
118+
{ name: 'IconCoinsAdd' },
119+
{ name: 'IconCoinsAdd', variant: 'filled', exportAs: 'IconCoinsAddFilled' },
116120
{ name: 'IconClock' },
117121
{ name: 'IconCmdBox' },
118122
{ name: 'IconConnectors1' },
119123
{ name: 'IconConnectors2' },
120124
{ name: 'IconConsoleSparkle' },
121125
{ name: 'IconCrossLarge' },
126+
{ name: 'IconCrossMedium' },
122127
{ name: 'IconCrossSmall' },
123128
{ name: 'IconCryptoWallet' },
124129
{ name: 'IconDevices', variant: 'filled' },
@@ -142,6 +147,7 @@ const SECTIONS = [
142147
{ name: 'IconFileArrowRightOut' },
143148
{ name: 'IconFileBend' },
144149
{ name: 'IconFilter2' },
150+
{ name: 'IconFolderAddRight' },
145151
{ name: 'IconFingerPrint1' },
146152
{ name: 'IconFormPyramide' },
147153
{ name: 'IconForYou' },
@@ -171,6 +177,8 @@ const SECTIONS = [
171177
{ name: 'IconOngoing' },
172178
{ name: 'IconOngoing', variant: 'filled', exportAs: 'IconOngoingFilled' },
173179
{ name: 'IconPaperclip1' },
180+
{ name: 'IconPaperPlaneTopRight' },
181+
{ name: 'IconPaperPlaneTopRight', variant: 'filled', exportAs: 'IconPaperPlaneTopRightFilled' },
174182
{ name: 'IconPassport' },
175183
{ name: 'IconPassword' },
176184
{ name: 'IconPasswordStars' },
@@ -180,6 +188,8 @@ const SECTIONS = [
180188
{ name: 'IconPencilAi' },
181189
{ name: 'IconPeople2' },
182190
{ name: 'IconPeople2', variant: 'filled', exportAs: 'IconPeople2Filled' },
191+
{ name: 'IconPeopleAdd' },
192+
{ name: 'IconPeopleAdd', variant: 'filled', exportAs: 'IconPeopleAddFilled' },
183193
{ name: 'IconPeopleCircle' },
184194
{ name: 'IconPeopleIdCard' },
185195
{ name: 'IconPhone' },
@@ -207,6 +217,7 @@ const SECTIONS = [
207217
{ name: 'IconSquareBehindSquare1' },
208218
{ name: 'IconSquareBehindSquare6' },
209219
{ name: 'IconSquareInfo' },
220+
{ name: 'IconSquareArrowTopRight2' },
210221
{ name: 'IconSquarePlus' },
211222
{ name: 'IconSticker' },
212223
{ name: 'IconSun', variant: 'filled' },
@@ -257,6 +268,7 @@ const SECTIONS = [
257268
{
258269
section: 'User & People',
259270
icons: [
271+
{ name: 'IconPeople' },
260272
{ name: 'IconUserAdded' },
261273
{ name: 'IconUserAddRight' },
262274
{ name: 'IconUserBlock' },

src/components/Icon/icon-registry.ts

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ import { IconChevronTopSmall } from './icons/IconChevronTopSmall';
4646
import { IconAdjustPhoto } from './icons/IconAdjustPhoto';
4747
import { IconAt } from './icons/IconAt';
4848
import { IconAutoCrop } from './icons/IconAutoCrop';
49+
import { IconBank } from './icons/IconBank';
4950
import { IconBarsThree2 } from './icons/IconBarsThree2';
5051
import { IconBell } from './icons/IconBell';
5152
import { IconBellOff } from './icons/IconBellOff';
@@ -55,6 +56,7 @@ import { IconBrokenHeart } from './icons/IconBrokenHeart';
5556
import { IconBrowserTabs } from './icons/IconBrowserTabs';
5657
import { IconBubble3 } from './icons/IconBubble3';
5758
import { IconBubbleWideSparkle } from './icons/IconBubbleWideSparkle';
59+
import { IconBuildings } from './icons/IconBuildings';
5860
import { IconCalendarDays } from './icons/IconCalendarDays';
5961
import { IconCheckmark2 } from './icons/IconCheckmark2';
6062
import { IconCheckmark2Small } from './icons/IconCheckmark2Small';
@@ -69,10 +71,13 @@ import { IconClipboard2 } from './icons/IconClipboard2';
6971
import { IconClipboard2Sparkle } from './icons/IconClipboard2Sparkle';
7072
import { IconClock } from './icons/IconClock';
7173
import { IconCmdBox } from './icons/IconCmdBox';
74+
import { IconCoinsAdd } from './icons/IconCoinsAdd';
75+
import { IconCoinsAdd as IconCoinsAddFilled } from './icons/IconCoinsAddFilled';
7276
import { IconConnectors1 } from './icons/IconConnectors1';
7377
import { IconConnectors2 } from './icons/IconConnectors2';
7478
import { IconConsoleSparkle } from './icons/IconConsoleSparkle';
7579
import { IconCrossLarge } from './icons/IconCrossLarge';
80+
import { IconCrossMedium } from './icons/IconCrossMedium';
7681
import { IconCrossSmall } from './icons/IconCrossSmall';
7782
import { IconCryptoWallet } from './icons/IconCryptoWallet';
7883
import { IconDevices } from './icons/IconDevices';
@@ -97,6 +102,7 @@ import { IconFileArrowRightOut } from './icons/IconFileArrowRightOut';
97102
import { IconFileBend } from './icons/IconFileBend';
98103
import { IconFilter2 } from './icons/IconFilter2';
99104
import { IconFingerPrint1 } from './icons/IconFingerPrint1';
105+
import { IconFolderAddRight } from './icons/IconFolderAddRight';
100106
import { IconFormPyramide } from './icons/IconFormPyramide';
101107
import { IconForYou } from './icons/IconForYou';
102108
import { IconFullScreen } from './icons/IconFullScreen';
@@ -125,6 +131,8 @@ import { IconOffline } from './icons/IconOffline';
125131
import { IconOngoing } from './icons/IconOngoing';
126132
import { IconOngoing as IconOngoingFilled } from './icons/IconOngoingFilled';
127133
import { IconPaperclip1 } from './icons/IconPaperclip1';
134+
import { IconPaperPlaneTopRight } from './icons/IconPaperPlaneTopRight';
135+
import { IconPaperPlaneTopRight as IconPaperPlaneTopRightFilled } from './icons/IconPaperPlaneTopRightFilled';
128136
import { IconPassport } from './icons/IconPassport';
129137
import { IconPassword } from './icons/IconPassword';
130138
import { IconPasswordStars } from './icons/IconPasswordStars';
@@ -134,6 +142,8 @@ import { IconPencil3 } from './icons/IconPencil3';
134142
import { IconPencilAi } from './icons/IconPencilAi';
135143
import { IconPeople2 } from './icons/IconPeople2';
136144
import { IconPeople2 as IconPeople2Filled } from './icons/IconPeople2Filled';
145+
import { IconPeopleAdd } from './icons/IconPeopleAdd';
146+
import { IconPeopleAdd as IconPeopleAddFilled } from './icons/IconPeopleAddFilled';
137147
import { IconPeopleCircle } from './icons/IconPeopleCircle';
138148
import { IconPeopleIdCard } from './icons/IconPeopleIdCard';
139149
import { IconPhone } from './icons/IconPhone';
@@ -158,6 +168,7 @@ import { IconShield2 } from './icons/IconShield2';
158168
import { IconShieldKeyhole } from './icons/IconShieldKeyhole';
159169
import { IconSidebarSimpleLeftWide } from './icons/IconSidebarSimpleLeftWide';
160170
import { IconSpacebar } from './icons/IconSpacebar';
171+
import { IconSquareArrowTopRight2 } from './icons/IconSquareArrowTopRight2';
161172
import { IconSquareBehindSquare1 } from './icons/IconSquareBehindSquare1';
162173
import { IconSquareBehindSquare6 } from './icons/IconSquareBehindSquare6';
163174
import { IconSquareInfo } from './icons/IconSquareInfo';
@@ -202,6 +213,7 @@ import { IconVoiceSettings } from './icons/IconVoiceSettings';
202213
import { IconVoiceSparkle } from './icons/IconVoiceSparkle';
203214

204215
// User & People
216+
import { IconPeople } from './icons/IconPeople';
205217
import { IconUserAdded } from './icons/IconUserAdded';
206218
import { IconUserAddRight } from './icons/IconUserAddRight';
207219
import { IconUserBlock } from './icons/IconUserBlock';
@@ -278,6 +290,7 @@ export const ICON_REGISTRY = {
278290
IconAdjustPhoto,
279291
IconAt,
280292
IconAutoCrop,
293+
IconBank,
281294
IconBarsThree2,
282295
IconBell,
283296
IconBellOff,
@@ -287,6 +300,7 @@ export const ICON_REGISTRY = {
287300
IconBrowserTabs,
288301
IconBubble3,
289302
IconBubbleWideSparkle,
303+
IconBuildings,
290304
IconCalendarDays,
291305
IconCheckmark2,
292306
IconCheckmark2Small,
@@ -301,10 +315,13 @@ export const ICON_REGISTRY = {
301315
IconClipboard2Sparkle,
302316
IconClock,
303317
IconCmdBox,
318+
IconCoinsAdd,
319+
IconCoinsAddFilled,
304320
IconConnectors1,
305321
IconConnectors2,
306322
IconConsoleSparkle,
307323
IconCrossLarge,
324+
IconCrossMedium,
308325
IconCrossSmall,
309326
IconCryptoWallet,
310327
IconDevices,
@@ -329,6 +346,7 @@ export const ICON_REGISTRY = {
329346
IconFileBend,
330347
IconFilter2,
331348
IconFingerPrint1,
349+
IconFolderAddRight,
332350
IconForYou,
333351
IconFormPyramide,
334352
IconFullScreen,
@@ -356,6 +374,8 @@ export const ICON_REGISTRY = {
356374
IconOffline,
357375
IconOngoing,
358376
IconOngoingFilled,
377+
IconPaperPlaneTopRight,
378+
IconPaperPlaneTopRightFilled,
359379
IconPaperclip1,
360380
IconPassport,
361381
IconPassword,
@@ -366,6 +386,8 @@ export const ICON_REGISTRY = {
366386
IconPencilAi,
367387
IconPeople2,
368388
IconPeople2Filled,
389+
IconPeopleAdd,
390+
IconPeopleAddFilled,
369391
IconPeopleCircle,
370392
IconPeopleIdCard,
371393
IconPhone,
@@ -390,6 +412,7 @@ export const ICON_REGISTRY = {
390412
IconShieldKeyhole,
391413
IconSidebarSimpleLeftWide,
392414
IconSpacebar,
415+
IconSquareArrowTopRight2,
393416
IconSquareBehindSquare1,
394417
IconSquareBehindSquare6,
395418
IconSquareInfo,
@@ -434,6 +457,7 @@ export const ICON_REGISTRY = {
434457
IconVoiceSparkle,
435458

436459
// User & People
460+
IconPeople,
437461
IconUserAddRight,
438462
IconUserAdded,
439463
IconUserBlock,
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
import a from"react";import n from"react";var p=({children:e,size:r=24,ariaLabel:o,color:s,ariaHidden:t=!0,style:l,...i})=>n.createElement("svg",{...i,"aria-hidden":t,role:t?void 0:"img",width:typeof r=="number"?`${r}px`:r,height:typeof r=="number"?`${r}px`:r,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{color:s,...l}},o&&!t&&n.createElement("title",null,o),e);var c=e=>a.createElement(p,{...e,ariaLabel:"arrows-repeat-circle, repost"},a.createElement("path",{d:"M10.75 1.5L14.25 4.75L10.75 8M13.25 16L9.75 19.25L13.25 22.5M10.75 19.25H14C18.0041 19.25 21.25 16.0041 21.25 12C21.25 9.81504 20.2834 7.85583 18.7546 6.52661M13.25 4.75H10C5.99593 4.75 2.75 7.99594 2.75 12C2.75 14.1854 3.71696 16.145 5.24638 17.4742",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})),d=c;export{c as IconArrowsRepeatCircle,d as default};
1+
import o from"react";import s from"react";var p=({children:e,size:r=24,ariaLabel:n,color:a,ariaHidden:t=!0,style:i,...l})=>s.createElement("svg",{...l,"aria-hidden":t,role:t?void 0:"img",width:typeof r=="number"?`${r}px`:r,height:typeof r=="number"?`${r}px`:r,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{color:a,...i}},n&&!t&&s.createElement("title",null,n),e);var c=e=>o.createElement(p,{...e,ariaLabel:"arrows-repeat-circle, repost"},o.createElement("path",{d:"M10.75 1.5L14.25 4.75L10.75 8",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M13.25 16L9.75 19.25L13.25 22.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M10.75 19.2502H14C18.0041 19.2502 21.25 16.0043 21.25 12.0002C21.25 9.81528 20.2834 7.85607 18.7546 6.52686",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),o.createElement("path",{d:"M13.25 4.75H10C5.99593 4.75 2.75 7.99594 2.75 12C2.75 14.1854 3.71696 16.145 5.24638 17.4742",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})),m=c;export{c as IconArrowsRepeatCircle,m as default};
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import React from "react";
2+
import { type CentralIconBaseProps } from "../CentralIconBase";
3+
export declare const IconBank: React.FC<CentralIconBaseProps>;
4+
export default IconBank;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
import r from"react";import s from"react";var a=({children:e,size:o=24,ariaLabel:n,color:i,ariaHidden:t=!0,style:p,...k})=>s.createElement("svg",{...k,"aria-hidden":t,role:t?void 0:"img",width:typeof o=="number"?`${o}px`:o,height:typeof o=="number"?`${o}px`:o,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{color:i,...p}},n&&!t&&s.createElement("title",null,n),e);var u=e=>r.createElement(a,{...e,ariaLabel:"bank"},r.createElement("path",{d:"M13.3528 3.18339C12.5021 2.75365 11.4979 2.75365 10.6472 3.18339L3.45605 6.81636C3.02304 7.03512 2.75 7.47896 2.75 7.9641C2.75 8.67427 3.32571 9.24998 4.03588 9.24998H19.9641C20.6743 9.24998 21.25 8.67427 21.25 7.9641C21.25 7.47896 20.977 7.03512 20.5439 6.81636L13.3528 3.18339Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"square",strokeLinejoin:"round"}),r.createElement("path",{d:"M20.8594 19.0774C21.0517 19.6543 20.6223 20.25 20.0143 20.25H3.98627C3.37821 20.25 2.94884 19.6543 3.14113 19.0774C3.5049 17.9861 4.52619 17.25 5.67655 17.25H18.324C19.4743 17.25 20.4956 17.9861 20.8594 19.0774Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"square",strokeLinejoin:"round"}),r.createElement("path",{d:"M19.25 9.25V17.25",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"square",strokeLinejoin:"round"}),r.createElement("path",{d:"M15.25 17.25V9.25",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"square",strokeLinejoin:"round"}),r.createElement("path",{d:"M4.75 9.25V17.25",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"square",strokeLinejoin:"round"}),r.createElement("path",{d:"M8.75 17.25V9.25",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"square",strokeLinejoin:"round"})),h=u;export{u as IconBank,h as default};
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import React from "react";
2+
import { type CentralIconBaseProps } from "../CentralIconBase";
3+
export declare const IconBuildings: React.FC<CentralIconBaseProps>;
4+
export default IconBuildings;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
import o from"react";import s from"react";var i=({children:e,size:r=24,ariaLabel:n,color:p,ariaHidden:t=!0,style:a,...d})=>s.createElement("svg",{...d,"aria-hidden":t,role:t?void 0:"img",width:typeof r=="number"?`${r}px`:r,height:typeof r=="number"?`${r}px`:r,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{color:p,...a}},n&&!t&&s.createElement("title",null,n),e);var l=e=>o.createElement(i,{...e,ariaLabel:"buildings, company, workspace"},o.createElement("path",{d:"M10.25 8.75H7.75",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M7.75 12.75H10.25",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M22.25 19.25H1.75",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M3.75 19.25V6.75C3.75 5.09315 5.09315 3.75 6.75 3.75H11.25C12.9069 3.75 14.25 5.09315 14.25 6.75V19.25",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M14.25 7.75H17.25C18.9069 7.75 20.25 9.09315 20.25 10.75V19.25",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})),h=l;export{l as IconBuildings,h as default};

0 commit comments

Comments
 (0)