@necto-react/components 1.2.13 → 1.2.14

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/dist/index.d.cts CHANGED
@@ -83,14 +83,26 @@ interface ElseProps {
83
83
 
84
84
  declare const Else: (props: ElseProps) => ReactElement;
85
85
 
86
- type AppleButtonProps<T extends ElementType = 'button'> = PrimitiveProps<T> & {
86
+ /**
87
+ * Copyright (c) Corinvo, LLC. and affiliates.
88
+ *
89
+ * This source code is licensed under the MIT license found in the
90
+ * LICENSE file in the root directory of this source tree.
91
+ *
92
+ */
93
+
94
+ type ButtonProps<T extends ElementType = 'button'> = PrimitiveProps<T> & {
87
95
  children?: ReactNode;
88
- iconPosition?: 'left' | 'right';
96
+ icon?: ReactNode;
89
97
  showIcon?: boolean;
98
+ iconPosition?: 'left' | 'right';
90
99
  iconSize?: number;
91
100
  disabled?: boolean;
101
+ css?: Interpolation<Theme>;
92
102
  };
93
103
 
104
+ type AppleButtonProps<T extends ElementType = 'button'> = ButtonProps<T>;
105
+
94
106
  /**
95
107
  * Copyright (c) Corinvo, LLC. and affiliates.
96
108
  *
@@ -101,13 +113,7 @@ type AppleButtonProps<T extends ElementType = 'button'> = PrimitiveProps<T> & {
101
113
 
102
114
  declare const AppleButton: ForwardRefExoticComponent<Omit<AppleButtonProps, 'ref'> & RefAttributes<HTMLButtonElement>>;
103
115
 
104
- type AtlassianButtonProps<T extends ElementType = 'button'> = PrimitiveProps<T> & {
105
- children?: ReactNode;
106
- iconPosition?: 'left' | 'right';
107
- showIcon?: boolean;
108
- iconSize?: number;
109
- disabled?: boolean;
110
- };
116
+ type AtlassianButtonProps<T extends ElementType = 'button'> = ButtonProps<T>;
111
117
 
112
118
  /**
113
119
  * Copyright (c) Corinvo, LLC. and affiliates.
@@ -119,13 +125,7 @@ type AtlassianButtonProps<T extends ElementType = 'button'> = PrimitiveProps<T>
119
125
 
120
126
  declare const AtlassianButton: ForwardRefExoticComponent<Omit<AtlassianButtonProps, 'ref'> & RefAttributes<HTMLButtonElement>>;
121
127
 
122
- type BitbucketButtonProps<T extends ElementType = 'button'> = PrimitiveProps<T> & {
123
- children?: ReactNode;
124
- iconPosition?: 'left' | 'right';
125
- showIcon?: boolean;
126
- iconSize?: number;
127
- disabled?: boolean;
128
- };
128
+ type BitbucketButtonProps<T extends ElementType = 'button'> = ButtonProps<T>;
129
129
 
130
130
  /**
131
131
  * Copyright (c) Corinvo, LLC. and affiliates.
@@ -137,13 +137,7 @@ type BitbucketButtonProps<T extends ElementType = 'button'> = PrimitiveProps<T>
137
137
 
138
138
  declare const BitbucketButton: ForwardRefExoticComponent<Omit<BitbucketButtonProps, 'ref'> & RefAttributes<HTMLButtonElement>>;
139
139
 
140
- type DiscordButtonProps<T extends ElementType = 'button'> = PrimitiveProps<T> & {
141
- children?: ReactNode;
142
- iconPosition?: 'left' | 'right';
143
- showIcon?: boolean;
144
- iconSize?: number;
145
- disabled?: boolean;
146
- };
140
+ type DiscordButtonProps<T extends ElementType = 'button'> = ButtonProps<T>;
147
141
 
148
142
  /**
149
143
  * Copyright (c) Corinvo, LLC. and affiliates.
@@ -155,13 +149,7 @@ type DiscordButtonProps<T extends ElementType = 'button'> = PrimitiveProps<T> &
155
149
 
156
150
  declare const DiscordButton: ForwardRefExoticComponent<Omit<DiscordButtonProps, 'ref'> & RefAttributes<HTMLButtonElement>>;
157
151
 
158
- type DropboxButtonProps<T extends ElementType = 'button'> = PrimitiveProps<T> & {
159
- children?: ReactNode;
160
- iconPosition?: 'left' | 'right';
161
- showIcon?: boolean;
162
- iconSize?: number;
163
- disabled?: boolean;
164
- };
152
+ type DropboxButtonProps<T extends ElementType = 'button'> = ButtonProps<T>;
165
153
 
166
154
  /**
167
155
  * Copyright (c) Corinvo, LLC. and affiliates.
@@ -173,13 +161,7 @@ type DropboxButtonProps<T extends ElementType = 'button'> = PrimitiveProps<T> &
173
161
 
174
162
  declare const DropboxButton: ForwardRefExoticComponent<Omit<DropboxButtonProps, 'ref'> & RefAttributes<HTMLButtonElement>>;
175
163
 
176
- type FacebookButtonProps<T extends ElementType = 'button'> = PrimitiveProps<T> & {
177
- children?: ReactNode;
178
- iconPosition?: 'left' | 'right';
179
- showIcon?: boolean;
180
- iconSize?: number;
181
- disabled?: boolean;
182
- };
164
+ type FacebookButtonProps<T extends ElementType = 'button'> = ButtonProps<T>;
183
165
 
184
166
  /**
185
167
  * Copyright (c) Corinvo, LLC. and affiliates.
@@ -191,13 +173,7 @@ type FacebookButtonProps<T extends ElementType = 'button'> = PrimitiveProps<T> &
191
173
 
192
174
  declare const FacebookButton: ForwardRefExoticComponent<Omit<FacebookButtonProps, 'ref'> & RefAttributes<HTMLButtonElement>>;
193
175
 
194
- type GitHubButtonProps<T extends ElementType = 'button'> = PrimitiveProps<T> & {
195
- children?: ReactNode;
196
- iconPosition?: 'left' | 'right';
197
- showIcon?: boolean;
198
- iconSize?: number;
199
- disabled?: boolean;
200
- };
176
+ type GitHubButtonProps<T extends ElementType = 'button'> = ButtonProps<T>;
201
177
 
202
178
  /**
203
179
  * Copyright (c) Corinvo, LLC. and affiliates.
@@ -209,13 +185,8 @@ type GitHubButtonProps<T extends ElementType = 'button'> = PrimitiveProps<T> & {
209
185
 
210
186
  declare const GitHubButton: ForwardRefExoticComponent<Omit<GitHubButtonProps, 'ref'> & RefAttributes<HTMLButtonElement>>;
211
187
 
212
- type GitLabButtonProps<T extends ElementType = 'button'> = PrimitiveProps<T> & {
213
- children?: ReactNode;
214
- iconPosition?: 'left' | 'right';
215
- showIcon?: boolean;
216
- iconSize?: number;
188
+ type GitLabButtonProps<T extends ElementType = 'button'> = ButtonProps<T> & {
217
189
  iconColor?: string | null;
218
- disabled?: boolean;
219
190
  };
220
191
 
221
192
  /**
@@ -228,13 +199,7 @@ type GitLabButtonProps<T extends ElementType = 'button'> = PrimitiveProps<T> & {
228
199
 
229
200
  declare const GitLabButton: ForwardRefExoticComponent<Omit<GitLabButtonProps, 'ref'> & RefAttributes<HTMLButtonElement>>;
230
201
 
231
- type GoogleButtonProps<T extends ElementType = 'button'> = PrimitiveProps<T> & {
232
- children?: ReactNode;
233
- iconPosition?: 'left' | 'right';
234
- showIcon?: boolean;
235
- iconSize?: number;
236
- disabled?: boolean;
237
- };
202
+ type GoogleButtonProps<T extends ElementType = 'button'> = ButtonProps<T>;
238
203
 
239
204
  /**
240
205
  * Copyright (c) Corinvo, LLC. and affiliates.
@@ -246,4 +211,176 @@ type GoogleButtonProps<T extends ElementType = 'button'> = PrimitiveProps<T> & {
246
211
 
247
212
  declare const GoogleButton: ForwardRefExoticComponent<Omit<GoogleButtonProps, 'ref'> & RefAttributes<HTMLButtonElement>>;
248
213
 
249
- export { AppleButton, type AppleButtonProps, AtlassianButton, type AtlassianButtonProps, BitbucketButton, type BitbucketButtonProps, DiscordButton, type DiscordButtonProps, DropboxButton, type DropboxButtonProps, Else, type ElseProps, FacebookButton, type FacebookButtonProps, GitHubButton, type GitHubButtonProps, GitLabButton, type GitLabButtonProps, GoogleButton, type GoogleButtonProps, If, type IfProps, Primitive };
214
+ type HubSpotButtonProps<T extends ElementType = 'button'> = ButtonProps<T>;
215
+
216
+ /**
217
+ * Copyright (c) Corinvo, LLC. and affiliates.
218
+ *
219
+ * This source code is licensed under the MIT license found in the
220
+ * LICENSE file in the root directory of this source tree.
221
+ *
222
+ */
223
+
224
+ declare const HubSpotButton: ForwardRefExoticComponent<Omit<HubSpotButtonProps, 'ref'> & RefAttributes<HTMLButtonElement>>;
225
+
226
+ type HuggingFaceButtonProps<T extends ElementType = 'button'> = ButtonProps<T>;
227
+
228
+ /**
229
+ * Copyright (c) Corinvo, LLC. and affiliates.
230
+ *
231
+ * This source code is licensed under the MIT license found in the
232
+ * LICENSE file in the root directory of this source tree.
233
+ *
234
+ */
235
+
236
+ declare const HuggingFaceButton: ForwardRefExoticComponent<Omit<HuggingFaceButtonProps, 'ref'> & RefAttributes<HTMLButtonElement>>;
237
+
238
+ type LinkedInButtonProps<T extends ElementType = 'button'> = ButtonProps<T>;
239
+
240
+ /**
241
+ * Copyright (c) Corinvo, LLC. and affiliates.
242
+ *
243
+ * This source code is licensed under the MIT license found in the
244
+ * LICENSE file in the root directory of this source tree.
245
+ *
246
+ */
247
+
248
+ declare const LinkedInButton: ForwardRefExoticComponent<Omit<LinkedInButtonProps, 'ref'> & RefAttributes<HTMLButtonElement>>;
249
+
250
+ type MetaMaskButtonProps<T extends ElementType = 'button'> = ButtonProps<T>;
251
+
252
+ /**
253
+ * Copyright (c) Corinvo, LLC. and affiliates.
254
+ *
255
+ * This source code is licensed under the MIT license found in the
256
+ * LICENSE file in the root directory of this source tree.
257
+ *
258
+ */
259
+
260
+ declare const MetaMaskButton: ForwardRefExoticComponent<Omit<MetaMaskButtonProps, 'ref'> & RefAttributes<HTMLButtonElement>>;
261
+
262
+ type MicrosoftButtonProps<T extends ElementType = 'button'> = ButtonProps<T>;
263
+
264
+ /**
265
+ * Copyright (c) Corinvo, LLC. and affiliates.
266
+ *
267
+ * This source code is licensed under the MIT license found in the
268
+ * LICENSE file in the root directory of this source tree.
269
+ *
270
+ */
271
+
272
+ declare const MicrosoftButton: ForwardRefExoticComponent<Omit<MicrosoftButtonProps, 'ref'> & RefAttributes<HTMLButtonElement>>;
273
+
274
+ type NotionButtonProps<T extends ElementType = 'button'> = ButtonProps<T>;
275
+
276
+ /**
277
+ * Copyright (c) Corinvo, LLC. and affiliates.
278
+ *
279
+ * This source code is licensed under the MIT license found in the
280
+ * LICENSE file in the root directory of this source tree.
281
+ *
282
+ */
283
+
284
+ declare const NotionButton: ForwardRefExoticComponent<Omit<NotionButtonProps, 'ref'> & RefAttributes<HTMLButtonElement>>;
285
+
286
+ type OKXButtonProps<T extends ElementType = 'button'> = ButtonProps<T>;
287
+
288
+ /**
289
+ * Copyright (c) Corinvo, LLC. and affiliates.
290
+ *
291
+ * This source code is licensed under the MIT license found in the
292
+ * LICENSE file in the root directory of this source tree.
293
+ *
294
+ */
295
+
296
+ declare const OKXButton: ForwardRefExoticComponent<Omit<OKXButtonProps, 'ref'> & RefAttributes<HTMLButtonElement>>;
297
+
298
+ type SalesforceButtonProps<T extends ElementType = 'button'> = ButtonProps<T>;
299
+
300
+ /**
301
+ * Copyright (c) Corinvo, LLC. and affiliates.
302
+ *
303
+ * This source code is licensed under the MIT license found in the
304
+ * LICENSE file in the root directory of this source tree.
305
+ *
306
+ */
307
+
308
+ declare const SalesforceButton: ForwardRefExoticComponent<Omit<SalesforceButtonProps, 'ref'> & RefAttributes<HTMLButtonElement>>;
309
+
310
+ type SlackButtonProps<T extends ElementType = 'button'> = ButtonProps<T>;
311
+
312
+ /**
313
+ * Copyright (c) Corinvo, LLC. and affiliates.
314
+ *
315
+ * This source code is licensed under the MIT license found in the
316
+ * LICENSE file in the root directory of this source tree.
317
+ *
318
+ */
319
+
320
+ declare const SlackButton: ForwardRefExoticComponent<Omit<SlackButtonProps, 'ref'> & RefAttributes<HTMLButtonElement>>;
321
+
322
+ type SnapchatButtonProps<T extends ElementType = 'button'> = ButtonProps<T> & {
323
+ iconColor?: string | null;
324
+ };
325
+
326
+ /**
327
+ * Copyright (c) Corinvo, LLC. and affiliates.
328
+ *
329
+ * This source code is licensed under the MIT license found in the
330
+ * LICENSE file in the root directory of this source tree.
331
+ *
332
+ */
333
+
334
+ declare const SnapchatButton: ForwardRefExoticComponent<Omit<SnapchatButtonProps, 'ref'> & RefAttributes<HTMLButtonElement>>;
335
+
336
+ type SpotifyButtonProps<T extends ElementType = 'button'> = ButtonProps<T>;
337
+
338
+ /**
339
+ * Copyright (c) Corinvo, LLC. and affiliates.
340
+ *
341
+ * This source code is licensed under the MIT license found in the
342
+ * LICENSE file in the root directory of this source tree.
343
+ *
344
+ */
345
+
346
+ declare const SpotifyButton: ForwardRefExoticComponent<Omit<SpotifyButtonProps, 'ref'> & RefAttributes<HTMLButtonElement>>;
347
+
348
+ type TikTokButtonProps<T extends ElementType = 'button'> = ButtonProps<T> & {
349
+ iconColor?: string | null;
350
+ };
351
+
352
+ /**
353
+ * Copyright (c) Corinvo, LLC. and affiliates.
354
+ *
355
+ * This source code is licensed under the MIT license found in the
356
+ * LICENSE file in the root directory of this source tree.
357
+ *
358
+ */
359
+
360
+ declare const TikTokButton: ForwardRefExoticComponent<Omit<TikTokButtonProps, 'ref'> & RefAttributes<HTMLButtonElement>>;
361
+
362
+ type TwitchButtonProps<T extends ElementType = 'button'> = ButtonProps<T>;
363
+
364
+ /**
365
+ * Copyright (c) Corinvo, LLC. and affiliates.
366
+ *
367
+ * This source code is licensed under the MIT license found in the
368
+ * LICENSE file in the root directory of this source tree.
369
+ *
370
+ */
371
+
372
+ declare const TwitchButton: ForwardRefExoticComponent<Omit<TwitchButtonProps, 'ref'> & RefAttributes<HTMLButtonElement>>;
373
+
374
+ type XButtonProps<T extends ElementType = 'button'> = ButtonProps<T>;
375
+
376
+ /**
377
+ * Copyright (c) Corinvo, LLC. and affiliates.
378
+ *
379
+ * This source code is licensed under the MIT license found in the
380
+ * LICENSE file in the root directory of this source tree.
381
+ *
382
+ */
383
+
384
+ declare const XButton: ForwardRefExoticComponent<Omit<XButtonProps, 'ref'> & RefAttributes<HTMLButtonElement>>;
385
+
386
+ export { AppleButton, type AppleButtonProps, AtlassianButton, type AtlassianButtonProps, BitbucketButton, type BitbucketButtonProps, DiscordButton, type DiscordButtonProps, DropboxButton, type DropboxButtonProps, Else, type ElseProps, FacebookButton, type FacebookButtonProps, GitHubButton, type GitHubButtonProps, GitLabButton, type GitLabButtonProps, GoogleButton, type GoogleButtonProps, HubSpotButton, type HubSpotButtonProps, HuggingFaceButton, type HuggingFaceButtonProps, If, type IfProps, LinkedInButton, type LinkedInButtonProps, MetaMaskButton, type MetaMaskButtonProps, MicrosoftButton, type MicrosoftButtonProps, NotionButton, type NotionButtonProps, OKXButton, type OKXButtonProps, Primitive, SalesforceButton, type SalesforceButtonProps, SlackButton, type SlackButtonProps, SnapchatButton, type SnapchatButtonProps, SpotifyButton, type SpotifyButtonProps, TikTokButton, type TikTokButtonProps, TwitchButton, type TwitchButtonProps, XButton, type XButtonProps };
package/dist/index.d.ts CHANGED
@@ -83,14 +83,26 @@ interface ElseProps {
83
83
 
84
84
  declare const Else: (props: ElseProps) => ReactElement;
85
85
 
86
- type AppleButtonProps<T extends ElementType = 'button'> = PrimitiveProps<T> & {
86
+ /**
87
+ * Copyright (c) Corinvo, LLC. and affiliates.
88
+ *
89
+ * This source code is licensed under the MIT license found in the
90
+ * LICENSE file in the root directory of this source tree.
91
+ *
92
+ */
93
+
94
+ type ButtonProps<T extends ElementType = 'button'> = PrimitiveProps<T> & {
87
95
  children?: ReactNode;
88
- iconPosition?: 'left' | 'right';
96
+ icon?: ReactNode;
89
97
  showIcon?: boolean;
98
+ iconPosition?: 'left' | 'right';
90
99
  iconSize?: number;
91
100
  disabled?: boolean;
101
+ css?: Interpolation<Theme>;
92
102
  };
93
103
 
104
+ type AppleButtonProps<T extends ElementType = 'button'> = ButtonProps<T>;
105
+
94
106
  /**
95
107
  * Copyright (c) Corinvo, LLC. and affiliates.
96
108
  *
@@ -101,13 +113,7 @@ type AppleButtonProps<T extends ElementType = 'button'> = PrimitiveProps<T> & {
101
113
 
102
114
  declare const AppleButton: ForwardRefExoticComponent<Omit<AppleButtonProps, 'ref'> & RefAttributes<HTMLButtonElement>>;
103
115
 
104
- type AtlassianButtonProps<T extends ElementType = 'button'> = PrimitiveProps<T> & {
105
- children?: ReactNode;
106
- iconPosition?: 'left' | 'right';
107
- showIcon?: boolean;
108
- iconSize?: number;
109
- disabled?: boolean;
110
- };
116
+ type AtlassianButtonProps<T extends ElementType = 'button'> = ButtonProps<T>;
111
117
 
112
118
  /**
113
119
  * Copyright (c) Corinvo, LLC. and affiliates.
@@ -119,13 +125,7 @@ type AtlassianButtonProps<T extends ElementType = 'button'> = PrimitiveProps<T>
119
125
 
120
126
  declare const AtlassianButton: ForwardRefExoticComponent<Omit<AtlassianButtonProps, 'ref'> & RefAttributes<HTMLButtonElement>>;
121
127
 
122
- type BitbucketButtonProps<T extends ElementType = 'button'> = PrimitiveProps<T> & {
123
- children?: ReactNode;
124
- iconPosition?: 'left' | 'right';
125
- showIcon?: boolean;
126
- iconSize?: number;
127
- disabled?: boolean;
128
- };
128
+ type BitbucketButtonProps<T extends ElementType = 'button'> = ButtonProps<T>;
129
129
 
130
130
  /**
131
131
  * Copyright (c) Corinvo, LLC. and affiliates.
@@ -137,13 +137,7 @@ type BitbucketButtonProps<T extends ElementType = 'button'> = PrimitiveProps<T>
137
137
 
138
138
  declare const BitbucketButton: ForwardRefExoticComponent<Omit<BitbucketButtonProps, 'ref'> & RefAttributes<HTMLButtonElement>>;
139
139
 
140
- type DiscordButtonProps<T extends ElementType = 'button'> = PrimitiveProps<T> & {
141
- children?: ReactNode;
142
- iconPosition?: 'left' | 'right';
143
- showIcon?: boolean;
144
- iconSize?: number;
145
- disabled?: boolean;
146
- };
140
+ type DiscordButtonProps<T extends ElementType = 'button'> = ButtonProps<T>;
147
141
 
148
142
  /**
149
143
  * Copyright (c) Corinvo, LLC. and affiliates.
@@ -155,13 +149,7 @@ type DiscordButtonProps<T extends ElementType = 'button'> = PrimitiveProps<T> &
155
149
 
156
150
  declare const DiscordButton: ForwardRefExoticComponent<Omit<DiscordButtonProps, 'ref'> & RefAttributes<HTMLButtonElement>>;
157
151
 
158
- type DropboxButtonProps<T extends ElementType = 'button'> = PrimitiveProps<T> & {
159
- children?: ReactNode;
160
- iconPosition?: 'left' | 'right';
161
- showIcon?: boolean;
162
- iconSize?: number;
163
- disabled?: boolean;
164
- };
152
+ type DropboxButtonProps<T extends ElementType = 'button'> = ButtonProps<T>;
165
153
 
166
154
  /**
167
155
  * Copyright (c) Corinvo, LLC. and affiliates.
@@ -173,13 +161,7 @@ type DropboxButtonProps<T extends ElementType = 'button'> = PrimitiveProps<T> &
173
161
 
174
162
  declare const DropboxButton: ForwardRefExoticComponent<Omit<DropboxButtonProps, 'ref'> & RefAttributes<HTMLButtonElement>>;
175
163
 
176
- type FacebookButtonProps<T extends ElementType = 'button'> = PrimitiveProps<T> & {
177
- children?: ReactNode;
178
- iconPosition?: 'left' | 'right';
179
- showIcon?: boolean;
180
- iconSize?: number;
181
- disabled?: boolean;
182
- };
164
+ type FacebookButtonProps<T extends ElementType = 'button'> = ButtonProps<T>;
183
165
 
184
166
  /**
185
167
  * Copyright (c) Corinvo, LLC. and affiliates.
@@ -191,13 +173,7 @@ type FacebookButtonProps<T extends ElementType = 'button'> = PrimitiveProps<T> &
191
173
 
192
174
  declare const FacebookButton: ForwardRefExoticComponent<Omit<FacebookButtonProps, 'ref'> & RefAttributes<HTMLButtonElement>>;
193
175
 
194
- type GitHubButtonProps<T extends ElementType = 'button'> = PrimitiveProps<T> & {
195
- children?: ReactNode;
196
- iconPosition?: 'left' | 'right';
197
- showIcon?: boolean;
198
- iconSize?: number;
199
- disabled?: boolean;
200
- };
176
+ type GitHubButtonProps<T extends ElementType = 'button'> = ButtonProps<T>;
201
177
 
202
178
  /**
203
179
  * Copyright (c) Corinvo, LLC. and affiliates.
@@ -209,13 +185,8 @@ type GitHubButtonProps<T extends ElementType = 'button'> = PrimitiveProps<T> & {
209
185
 
210
186
  declare const GitHubButton: ForwardRefExoticComponent<Omit<GitHubButtonProps, 'ref'> & RefAttributes<HTMLButtonElement>>;
211
187
 
212
- type GitLabButtonProps<T extends ElementType = 'button'> = PrimitiveProps<T> & {
213
- children?: ReactNode;
214
- iconPosition?: 'left' | 'right';
215
- showIcon?: boolean;
216
- iconSize?: number;
188
+ type GitLabButtonProps<T extends ElementType = 'button'> = ButtonProps<T> & {
217
189
  iconColor?: string | null;
218
- disabled?: boolean;
219
190
  };
220
191
 
221
192
  /**
@@ -228,13 +199,7 @@ type GitLabButtonProps<T extends ElementType = 'button'> = PrimitiveProps<T> & {
228
199
 
229
200
  declare const GitLabButton: ForwardRefExoticComponent<Omit<GitLabButtonProps, 'ref'> & RefAttributes<HTMLButtonElement>>;
230
201
 
231
- type GoogleButtonProps<T extends ElementType = 'button'> = PrimitiveProps<T> & {
232
- children?: ReactNode;
233
- iconPosition?: 'left' | 'right';
234
- showIcon?: boolean;
235
- iconSize?: number;
236
- disabled?: boolean;
237
- };
202
+ type GoogleButtonProps<T extends ElementType = 'button'> = ButtonProps<T>;
238
203
 
239
204
  /**
240
205
  * Copyright (c) Corinvo, LLC. and affiliates.
@@ -246,4 +211,176 @@ type GoogleButtonProps<T extends ElementType = 'button'> = PrimitiveProps<T> & {
246
211
 
247
212
  declare const GoogleButton: ForwardRefExoticComponent<Omit<GoogleButtonProps, 'ref'> & RefAttributes<HTMLButtonElement>>;
248
213
 
249
- export { AppleButton, type AppleButtonProps, AtlassianButton, type AtlassianButtonProps, BitbucketButton, type BitbucketButtonProps, DiscordButton, type DiscordButtonProps, DropboxButton, type DropboxButtonProps, Else, type ElseProps, FacebookButton, type FacebookButtonProps, GitHubButton, type GitHubButtonProps, GitLabButton, type GitLabButtonProps, GoogleButton, type GoogleButtonProps, If, type IfProps, Primitive };
214
+ type HubSpotButtonProps<T extends ElementType = 'button'> = ButtonProps<T>;
215
+
216
+ /**
217
+ * Copyright (c) Corinvo, LLC. and affiliates.
218
+ *
219
+ * This source code is licensed under the MIT license found in the
220
+ * LICENSE file in the root directory of this source tree.
221
+ *
222
+ */
223
+
224
+ declare const HubSpotButton: ForwardRefExoticComponent<Omit<HubSpotButtonProps, 'ref'> & RefAttributes<HTMLButtonElement>>;
225
+
226
+ type HuggingFaceButtonProps<T extends ElementType = 'button'> = ButtonProps<T>;
227
+
228
+ /**
229
+ * Copyright (c) Corinvo, LLC. and affiliates.
230
+ *
231
+ * This source code is licensed under the MIT license found in the
232
+ * LICENSE file in the root directory of this source tree.
233
+ *
234
+ */
235
+
236
+ declare const HuggingFaceButton: ForwardRefExoticComponent<Omit<HuggingFaceButtonProps, 'ref'> & RefAttributes<HTMLButtonElement>>;
237
+
238
+ type LinkedInButtonProps<T extends ElementType = 'button'> = ButtonProps<T>;
239
+
240
+ /**
241
+ * Copyright (c) Corinvo, LLC. and affiliates.
242
+ *
243
+ * This source code is licensed under the MIT license found in the
244
+ * LICENSE file in the root directory of this source tree.
245
+ *
246
+ */
247
+
248
+ declare const LinkedInButton: ForwardRefExoticComponent<Omit<LinkedInButtonProps, 'ref'> & RefAttributes<HTMLButtonElement>>;
249
+
250
+ type MetaMaskButtonProps<T extends ElementType = 'button'> = ButtonProps<T>;
251
+
252
+ /**
253
+ * Copyright (c) Corinvo, LLC. and affiliates.
254
+ *
255
+ * This source code is licensed under the MIT license found in the
256
+ * LICENSE file in the root directory of this source tree.
257
+ *
258
+ */
259
+
260
+ declare const MetaMaskButton: ForwardRefExoticComponent<Omit<MetaMaskButtonProps, 'ref'> & RefAttributes<HTMLButtonElement>>;
261
+
262
+ type MicrosoftButtonProps<T extends ElementType = 'button'> = ButtonProps<T>;
263
+
264
+ /**
265
+ * Copyright (c) Corinvo, LLC. and affiliates.
266
+ *
267
+ * This source code is licensed under the MIT license found in the
268
+ * LICENSE file in the root directory of this source tree.
269
+ *
270
+ */
271
+
272
+ declare const MicrosoftButton: ForwardRefExoticComponent<Omit<MicrosoftButtonProps, 'ref'> & RefAttributes<HTMLButtonElement>>;
273
+
274
+ type NotionButtonProps<T extends ElementType = 'button'> = ButtonProps<T>;
275
+
276
+ /**
277
+ * Copyright (c) Corinvo, LLC. and affiliates.
278
+ *
279
+ * This source code is licensed under the MIT license found in the
280
+ * LICENSE file in the root directory of this source tree.
281
+ *
282
+ */
283
+
284
+ declare const NotionButton: ForwardRefExoticComponent<Omit<NotionButtonProps, 'ref'> & RefAttributes<HTMLButtonElement>>;
285
+
286
+ type OKXButtonProps<T extends ElementType = 'button'> = ButtonProps<T>;
287
+
288
+ /**
289
+ * Copyright (c) Corinvo, LLC. and affiliates.
290
+ *
291
+ * This source code is licensed under the MIT license found in the
292
+ * LICENSE file in the root directory of this source tree.
293
+ *
294
+ */
295
+
296
+ declare const OKXButton: ForwardRefExoticComponent<Omit<OKXButtonProps, 'ref'> & RefAttributes<HTMLButtonElement>>;
297
+
298
+ type SalesforceButtonProps<T extends ElementType = 'button'> = ButtonProps<T>;
299
+
300
+ /**
301
+ * Copyright (c) Corinvo, LLC. and affiliates.
302
+ *
303
+ * This source code is licensed under the MIT license found in the
304
+ * LICENSE file in the root directory of this source tree.
305
+ *
306
+ */
307
+
308
+ declare const SalesforceButton: ForwardRefExoticComponent<Omit<SalesforceButtonProps, 'ref'> & RefAttributes<HTMLButtonElement>>;
309
+
310
+ type SlackButtonProps<T extends ElementType = 'button'> = ButtonProps<T>;
311
+
312
+ /**
313
+ * Copyright (c) Corinvo, LLC. and affiliates.
314
+ *
315
+ * This source code is licensed under the MIT license found in the
316
+ * LICENSE file in the root directory of this source tree.
317
+ *
318
+ */
319
+
320
+ declare const SlackButton: ForwardRefExoticComponent<Omit<SlackButtonProps, 'ref'> & RefAttributes<HTMLButtonElement>>;
321
+
322
+ type SnapchatButtonProps<T extends ElementType = 'button'> = ButtonProps<T> & {
323
+ iconColor?: string | null;
324
+ };
325
+
326
+ /**
327
+ * Copyright (c) Corinvo, LLC. and affiliates.
328
+ *
329
+ * This source code is licensed under the MIT license found in the
330
+ * LICENSE file in the root directory of this source tree.
331
+ *
332
+ */
333
+
334
+ declare const SnapchatButton: ForwardRefExoticComponent<Omit<SnapchatButtonProps, 'ref'> & RefAttributes<HTMLButtonElement>>;
335
+
336
+ type SpotifyButtonProps<T extends ElementType = 'button'> = ButtonProps<T>;
337
+
338
+ /**
339
+ * Copyright (c) Corinvo, LLC. and affiliates.
340
+ *
341
+ * This source code is licensed under the MIT license found in the
342
+ * LICENSE file in the root directory of this source tree.
343
+ *
344
+ */
345
+
346
+ declare const SpotifyButton: ForwardRefExoticComponent<Omit<SpotifyButtonProps, 'ref'> & RefAttributes<HTMLButtonElement>>;
347
+
348
+ type TikTokButtonProps<T extends ElementType = 'button'> = ButtonProps<T> & {
349
+ iconColor?: string | null;
350
+ };
351
+
352
+ /**
353
+ * Copyright (c) Corinvo, LLC. and affiliates.
354
+ *
355
+ * This source code is licensed under the MIT license found in the
356
+ * LICENSE file in the root directory of this source tree.
357
+ *
358
+ */
359
+
360
+ declare const TikTokButton: ForwardRefExoticComponent<Omit<TikTokButtonProps, 'ref'> & RefAttributes<HTMLButtonElement>>;
361
+
362
+ type TwitchButtonProps<T extends ElementType = 'button'> = ButtonProps<T>;
363
+
364
+ /**
365
+ * Copyright (c) Corinvo, LLC. and affiliates.
366
+ *
367
+ * This source code is licensed under the MIT license found in the
368
+ * LICENSE file in the root directory of this source tree.
369
+ *
370
+ */
371
+
372
+ declare const TwitchButton: ForwardRefExoticComponent<Omit<TwitchButtonProps, 'ref'> & RefAttributes<HTMLButtonElement>>;
373
+
374
+ type XButtonProps<T extends ElementType = 'button'> = ButtonProps<T>;
375
+
376
+ /**
377
+ * Copyright (c) Corinvo, LLC. and affiliates.
378
+ *
379
+ * This source code is licensed under the MIT license found in the
380
+ * LICENSE file in the root directory of this source tree.
381
+ *
382
+ */
383
+
384
+ declare const XButton: ForwardRefExoticComponent<Omit<XButtonProps, 'ref'> & RefAttributes<HTMLButtonElement>>;
385
+
386
+ export { AppleButton, type AppleButtonProps, AtlassianButton, type AtlassianButtonProps, BitbucketButton, type BitbucketButtonProps, DiscordButton, type DiscordButtonProps, DropboxButton, type DropboxButtonProps, Else, type ElseProps, FacebookButton, type FacebookButtonProps, GitHubButton, type GitHubButtonProps, GitLabButton, type GitLabButtonProps, GoogleButton, type GoogleButtonProps, HubSpotButton, type HubSpotButtonProps, HuggingFaceButton, type HuggingFaceButtonProps, If, type IfProps, LinkedInButton, type LinkedInButtonProps, MetaMaskButton, type MetaMaskButtonProps, MicrosoftButton, type MicrosoftButtonProps, NotionButton, type NotionButtonProps, OKXButton, type OKXButtonProps, Primitive, SalesforceButton, type SalesforceButtonProps, SlackButton, type SlackButtonProps, SnapchatButton, type SnapchatButtonProps, SpotifyButton, type SpotifyButtonProps, TikTokButton, type TikTokButtonProps, TwitchButton, type TwitchButtonProps, XButton, type XButtonProps };