@cloudflare/component-icon 13.15.3 → 13.15.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Change Log
2
2
 
3
+ ## 13.15.4
4
+
5
+ ### Patch Changes
6
+
7
+ - 92aa24bd89: Accept React 18 and 19 in the peer ranges of smoke-tested components and styling packages. Keep React keys out of Grid and FormGrid styling props, and emit declarations compatible with React 19 types.
8
+
3
9
  ## 13.15.3
4
10
 
5
11
  ### Patch Changes
package/dist/Example.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- /// <reference types="react" />
2
- export declare const Example: () => JSX.Element;
1
+ import React from 'react';
2
+ export declare const Example: () => React.ReactElement;
@@ -1,252 +1,4 @@
1
- /// <reference types="react" />
2
- declare const _default: {
3
- dlp: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
4
- 'account-analytics-logo': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
5
- 'add-member': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
6
- add: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
7
- 'ai-audit': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
8
- 'analytics-data': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
9
- 'analytics-search': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
10
- 'api-security': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
11
- api: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
12
- 'apple-outline': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
13
- applications: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
14
- 'arrow-down': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
15
- 'arrow-external-link': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
16
- 'attention-outline': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
17
- 'attention-solid': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
18
- 'auto-rag-outline': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
19
- backward: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
20
- 'bolt-solid': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
21
- bolt: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
22
- 'bookmark-outline': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
23
- 'bookmark-solid': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
24
- byoip: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
25
- calendar: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
26
- calls: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
27
- 'captcha-outline': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
28
- carbon: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
29
- 'caret-double-left': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
30
- 'caret-double-right': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
31
- 'caret-down-stroke': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
32
- 'caret-down': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
33
- 'caret-left-stroke': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
34
- 'caret-left': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
35
- 'caret-reorder2': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
36
- 'caret-right-stroke': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
37
- 'caret-right': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
38
- 'caret-up-stroke': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
39
- 'caret-up': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
40
- 'case-study': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
41
- certificate: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
42
- 'change-outline': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
43
- chart: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
44
- clipboard: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
45
- 'cloud-internet-solid': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
46
- 'cloud-internet': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
47
- 'cloud-multi': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
48
- 'cloud-security': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
49
- 'cloudflare-access': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
50
- 'cloudflare-argo-smart-routing-outline': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
51
- 'cloudflare-browser-outline': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
52
- 'cloudflare-dex': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
53
- 'cloudflare-email-security': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
54
- 'cloudflare-magic-wan': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
55
- 'cloudflare-pipelines': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
56
- 'cloudflare-ruleset-engine': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
57
- 'cloudflare-security-application': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
58
- 'cloudflare-security-network': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
59
- 'cloudflare-zero-trust': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
60
- 'code-api-outline': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
61
- 'code-edit': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
62
- code: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
63
- collapse: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
64
- connector: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
65
- copy: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
66
- 'corner-down-right': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
67
- 'credit-card': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
68
- 'customer-service-outline': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
69
- d1: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
70
- 'ddos-attack-outline': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
71
- 'ddos-attack': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
72
- 'device-desktop': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
73
- 'device-laptop': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
74
- 'device-mobile': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
75
- 'device-tablet': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
76
- discord: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
77
- discover: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
78
- documentation: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
79
- download: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
80
- 'drag-outline': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
81
- 'drag-solid': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
82
- drive: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
83
- 'edge-log-delivery': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
84
- edgeworker: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
85
- edit: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
86
- 'email-forwarding': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
87
- 'exclamation-sign': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
88
- expand: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
89
- 'external-link': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
90
- eye: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
91
- facebook: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
92
- file: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
93
- 'filter-drawer-outline': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
94
- filter: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
95
- 'firewall-rules': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
96
- flowchart: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
97
- folder: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
98
- forward: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
99
- funnel: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
100
- 'garbage-outline': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
101
- garbage: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
102
- gateway: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
103
- gear: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
104
- 'git-branch': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
105
- github: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
106
- globe: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
107
- 'graduation-outline': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
108
- hamburger: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
109
- help: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
110
- 'hide-eye': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
111
- home: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
112
- hyperdrive: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
113
- image: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
114
- inbox: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
115
- 'info-sign': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
116
- 'innovation-thinking-outline': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
117
- 'innovation-thinking-solid': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
118
- 'internet-browser': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
119
- key: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
120
- leaf: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
121
- left: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
122
- 'lighthouse-outline': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
123
- link: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
124
- linkedin: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
125
- list: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
126
- lock: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
127
- logs: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
128
- 'machine-learning-contextual-outline': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
129
- 'magic-firewall': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
130
- 'magic-network-monitoring': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
131
- 'magic-transit-logo': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
132
- mail: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
133
- 'mcp-server-outline': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
134
- 'media-play': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
135
- minus: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
136
- more: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
137
- 'network-analytics-logo': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
138
- 'network-security': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
139
- network: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
140
- 'no-edit': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
141
- none: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
142
- notifications: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
143
- 'office-branch': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
144
- 'ok-sign': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
145
- ok: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
146
- 'open-sidepanel-right': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
147
- 'optimization-scale': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
148
- 'organization-outline': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
149
- overflow2solid: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
150
- 'overflow-solid': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
151
- 'pages-logo': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
152
- pause: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
153
- 'performance-arrow-up': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
154
- 'performance-cloud-speed-outline': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
155
- 'phishing-outline': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
156
- 'pin-outline': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
157
- 'pin-solid': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
158
- 'platform-apps': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
159
- plus: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
160
- 'podcast-microphone-outline': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
161
- 'podcast-microphone-solid': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
162
- 'preemptive-outline': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
163
- 'price-outline': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
164
- 'price-solid': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
165
- printer: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
166
- processing: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
167
- 'product-security-center': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
168
- 'pub-sub': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
169
- 'pull-request': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
170
- queues: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
171
- r2outline: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
172
- r2: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
173
- 'refactor-outline': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
174
- refresh: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
175
- 'registrar-logo': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
176
- 'reliability-dns': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
177
- 'reliability-load-balancer': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
178
- 'reliability-timer-outline': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
179
- 'reliability-timer-solid': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
180
- remove: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
181
- reorder: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
182
- 'replatform-outline': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
183
- 'resize-horizontal': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
184
- retarget: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
185
- 'reusable-components': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
186
- revert: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
187
- right: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
188
- router: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
189
- script: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
190
- search: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
191
- 'security-bots': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
192
- 'security-fingerprint': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
193
- 'security-waf-solid': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
194
- 'security-waf': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
195
- 'server-origin': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
196
- 'share-arrow-outline': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
197
- shield: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
198
- spectrum: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
199
- speech: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
200
- 'star-outline': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
201
- star: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
202
- stream: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
203
- subtract: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
204
- table: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
205
- 'tail-worker': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
206
- target: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
207
- teams: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
208
- terraform: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
209
- 'thumbs-down-outline': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
210
- 'thumbs-down-solid': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
211
- 'thumbs-up-outline': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
212
- 'thumbs-up-solid': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
213
- time: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
214
- timer: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
215
- trace: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
216
- 'traffic-attack-browser': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
217
- turnstile: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
218
- twitter: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
219
- 'two-way': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
220
- 'unlock-outline': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
221
- upload: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
222
- 'user-multi': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
223
- 'user-outline': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
224
- user: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
225
- vectorize: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
226
- version: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
227
- 'virtual-machine-outline': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
228
- 'waiting-room': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
229
- 'warning-outline': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
230
- 'warning-solid': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
231
- warning: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
232
- warp: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
233
- 'web-analytics-logo': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
234
- web3: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
235
- 'workers-bundled': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
236
- 'workers-constellation': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
237
- 'workers-durable-objects': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
238
- 'workers-for-platforms': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
239
- 'workers-kv': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
240
- 'workers-pages': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
241
- 'workers-unbound': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
242
- wrangler: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
243
- wrench: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
244
- 'yes-check-outline': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
245
- 'yes-check-solid': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
246
- youtube: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
247
- zaraz: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
248
- 'zero-trust-risk-scoring': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
249
- 'zerotrust-casb-logo': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
250
- 'zerotrust-networks-logo': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
251
- };
1
+ import type { ComponentType, SVGProps } from 'react';
2
+ declare type IconComponent = ComponentType<SVGProps<SVGSVGElement>>;
3
+ declare const _default: Record<"search" | "link" | "code" | "script" | "table" | "time" | "filter" | "image" | "right" | "none" | "download" | "target" | "list" | "version" | "key" | "left" | "revert" | "collapse" | "copy" | "help" | "add" | "subtract" | "warning" | "pause" | "dlp" | "account-analytics-logo" | "add-member" | "ai-audit" | "analytics-data" | "analytics-search" | "api-security" | "api" | "apple-outline" | "applications" | "arrow-down" | "arrow-external-link" | "attention-outline" | "attention-solid" | "auto-rag-outline" | "backward" | "bolt-solid" | "bolt" | "bookmark-outline" | "bookmark-solid" | "byoip" | "calendar" | "calls" | "captcha-outline" | "carbon" | "caret-double-left" | "caret-double-right" | "caret-down-stroke" | "caret-down" | "caret-left-stroke" | "caret-left" | "caret-reorder2" | "caret-right-stroke" | "caret-right" | "caret-up-stroke" | "caret-up" | "case-study" | "certificate" | "change-outline" | "chart" | "clipboard" | "cloud-internet-solid" | "cloud-internet" | "cloud-multi" | "cloud-security" | "cloudflare-access" | "cloudflare-argo-smart-routing-outline" | "cloudflare-browser-outline" | "cloudflare-dex" | "cloudflare-email-security" | "cloudflare-magic-wan" | "cloudflare-pipelines" | "cloudflare-ruleset-engine" | "cloudflare-security-application" | "cloudflare-security-network" | "cloudflare-zero-trust" | "code-api-outline" | "code-edit" | "connector" | "corner-down-right" | "credit-card" | "customer-service-outline" | "d1" | "ddos-attack-outline" | "ddos-attack" | "device-desktop" | "device-laptop" | "device-mobile" | "device-tablet" | "discord" | "discover" | "documentation" | "drag-outline" | "drag-solid" | "drive" | "edge-log-delivery" | "edgeworker" | "edit" | "email-forwarding" | "exclamation-sign" | "expand" | "external-link" | "eye" | "facebook" | "file" | "filter-drawer-outline" | "firewall-rules" | "flowchart" | "folder" | "forward" | "funnel" | "garbage-outline" | "garbage" | "gateway" | "gear" | "git-branch" | "github" | "globe" | "graduation-outline" | "hamburger" | "hide-eye" | "home" | "hyperdrive" | "inbox" | "info-sign" | "innovation-thinking-outline" | "innovation-thinking-solid" | "internet-browser" | "leaf" | "lighthouse-outline" | "linkedin" | "lock" | "logs" | "machine-learning-contextual-outline" | "magic-firewall" | "magic-network-monitoring" | "magic-transit-logo" | "mail" | "mcp-server-outline" | "media-play" | "minus" | "more" | "network-analytics-logo" | "network-security" | "network" | "no-edit" | "notifications" | "office-branch" | "ok-sign" | "ok" | "open-sidepanel-right" | "optimization-scale" | "organization-outline" | "overflow2solid" | "overflow-solid" | "pages-logo" | "performance-arrow-up" | "performance-cloud-speed-outline" | "phishing-outline" | "pin-outline" | "pin-solid" | "platform-apps" | "plus" | "podcast-microphone-outline" | "podcast-microphone-solid" | "preemptive-outline" | "price-outline" | "price-solid" | "printer" | "processing" | "product-security-center" | "pub-sub" | "pull-request" | "queues" | "r2outline" | "r2" | "refactor-outline" | "refresh" | "registrar-logo" | "reliability-dns" | "reliability-load-balancer" | "reliability-timer-outline" | "reliability-timer-solid" | "remove" | "reorder" | "replatform-outline" | "resize-horizontal" | "retarget" | "reusable-components" | "router" | "security-bots" | "security-fingerprint" | "security-waf-solid" | "security-waf" | "server-origin" | "share-arrow-outline" | "shield" | "spectrum" | "speech" | "star-outline" | "star" | "stream" | "tail-worker" | "teams" | "terraform" | "thumbs-down-outline" | "thumbs-down-solid" | "thumbs-up-outline" | "thumbs-up-solid" | "timer" | "trace" | "traffic-attack-browser" | "turnstile" | "twitter" | "two-way" | "unlock-outline" | "upload" | "user-multi" | "user-outline" | "user" | "vectorize" | "virtual-machine-outline" | "waiting-room" | "warning-outline" | "warning-solid" | "warp" | "web-analytics-logo" | "web3" | "workers-bundled" | "workers-constellation" | "workers-durable-objects" | "workers-for-platforms" | "workers-kv" | "workers-pages" | "workers-unbound" | "wrangler" | "wrench" | "yes-check-outline" | "yes-check-solid" | "youtube" | "zaraz" | "zero-trust-risk-scoring" | "zerotrust-casb-logo" | "zerotrust-networks-logo", IconComponent>;
252
4
  export default _default;
@@ -246,7 +246,10 @@ import PriceSolid from './PriceSolid';
246
246
  import ReliabilityTimerOutline from './ReliabilityTimerOutline';
247
247
  import ReliabilityTimerSolid from './ReliabilityTimerSolid';
248
248
  import SecurityFingerprint from './SecurityFingerprint';
249
- export default {
249
+
250
+ var iconMap = icons => icons;
251
+
252
+ export default iconMap({
250
253
  dlp: Dlp,
251
254
  'account-analytics-logo': AccountAnalyticsLogo,
252
255
  'add-member': AddMember,
@@ -495,4 +498,4 @@ export default {
495
498
  'zero-trust-risk-scoring': ZeroTrustRiskScoring,
496
499
  'zerotrust-casb-logo': ZerotrustCasbLogo,
497
500
  'zerotrust-networks-logo': ZerotrustNetworksLogo
498
- };
501
+ });
@@ -503,7 +503,11 @@ var _SecurityFingerprint = _interopRequireDefault(require("./SecurityFingerprint
503
503
 
504
504
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
505
505
 
506
- var _default = {
506
+ var iconMap = function iconMap(icons) {
507
+ return icons;
508
+ };
509
+
510
+ var _default = iconMap({
507
511
  dlp: _Dlp.default,
508
512
  'account-analytics-logo': _AccountAnalyticsLogo.default,
509
513
  'add-member': _AddMember.default,
@@ -752,5 +756,6 @@ var _default = {
752
756
  'zero-trust-risk-scoring': _ZeroTrustRiskScoring.default,
753
757
  'zerotrust-casb-logo': _ZerotrustCasbLogo.default,
754
758
  'zerotrust-networks-logo': _ZerotrustNetworksLogo.default
755
- };
759
+ });
760
+
756
761
  exports.default = _default;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudflare/component-icon",
3
3
  "description": "Cloudflare Icon Component",
4
- "version": "13.15.3",
4
+ "version": "13.15.4",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
7
7
  "author": "Frontend Team <frontend@cloudflare.com>",
@@ -15,7 +15,7 @@
15
15
  "peerDependencies": {
16
16
  "@cloudflare/style-const": "^6.0.0",
17
17
  "@cloudflare/style-container": "^8.0.0",
18
- "react": "^15.0.0-0 || ^16.0.0-0 || ^17.0.0-0"
18
+ "react": "^15.0.0-0 || ^16.0.0-0 || ^17.0.0-0 || ^18.0.0-0 || ^19.0.0-0"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@cloudflare/types": "^6.21.15",
package/svgr.config.js CHANGED
@@ -8,7 +8,9 @@ function camelCaseToDash(str) {
8
8
  // Our export needs to be an object keyed by the icon type (e.g. { 'workers': WorkersIcon })
9
9
  // Here we import each default export individually, and then create a single object to export
10
10
  function defaultIndexTemplate(filePaths) {
11
- let indexString = filePaths
11
+ let indexString = "import type { ComponentType, SVGProps } from 'react';\n";
12
+
13
+ indexString += filePaths
12
14
  .map(filePath => {
13
15
  const basename = path.basename(filePath, path.extname(filePath));
14
16
  const exportName = /^\d/.test(basename) ? `Svg${basename}` : basename;
@@ -16,7 +18,10 @@ function defaultIndexTemplate(filePaths) {
16
18
  })
17
19
  .join('\n');
18
20
 
19
- indexString += '\nexport default {\n';
21
+ indexString +=
22
+ '\ntype IconComponent = ComponentType<SVGProps<SVGSVGElement>>;\n' +
23
+ 'const iconMap = <Name extends string>(icons: Record<Name, IconComponent>) =>\n icons;\n' +
24
+ 'export default iconMap({\n';
20
25
 
21
26
  indexString += filePaths
22
27
  .map(filePath => {
@@ -28,7 +33,7 @@ function defaultIndexTemplate(filePaths) {
28
33
  })
29
34
  .join('\n');
30
35
 
31
- indexString += '\n};';
36
+ indexString += '\n});';
32
37
 
33
38
  return indexString;
34
39
  }