groovinads-ui 1.9.81 → 1.9.82

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 (2) hide show
  1. package/index.d.ts +83 -11
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -214,16 +214,19 @@ export interface InputEmailProps {
214
214
  export const InputEmail: React.FC<InputEmailProps>;
215
215
 
216
216
  export interface InputChipProps {
217
- chips?: string[];
217
+ autoFocus?: boolean;
218
218
  className?: string;
219
+ counter?: boolean;
219
220
  disabled?: boolean;
220
- helpText?: string;
221
- label?: string;
222
- maxChips?: number;
223
- name?: string;
224
- onChipsChange?: (chips: string[]) => void;
225
- placeholder?: string;
226
- size?: 'xs' | 'md' | 'lg';
221
+ duplicateKeywordErrorText?: string;
222
+ keywordsList: string[];
223
+ maxKeywords: number;
224
+ maxKeywordLength: number;
225
+ pillColor?: 'blue' | 'danger' | 'dark' | 'green' | 'light' | 'midtone' | 'neutral' | 'red' | 'yellow';
226
+ placeholder: string;
227
+ recomendedKeywords: number;
228
+ requiredText: string;
229
+ setKeywordsList: (keywords: string[]) => void;
227
230
  }
228
231
 
229
232
  export const InputChip: React.FC<InputChipProps>;
@@ -244,6 +247,16 @@ export interface AlertProps {
244
247
 
245
248
  export const Alert: React.FC<AlertProps>;
246
249
 
250
+ export interface EditableContentProps {
251
+ as: string;
252
+ className?: string;
253
+ onChange: (value: string) => void;
254
+ onSave: (value: string) => Promise<void>;
255
+ value?: string;
256
+ }
257
+
258
+ export const EditableContent: React.FC<EditableContentProps>;
259
+
247
260
  export interface IconProps {
248
261
  className?: string;
249
262
  iconName: string;
@@ -261,10 +274,12 @@ export interface LoginSourceProps {
261
274
  export const LoginSource: React.FC<LoginSourceProps>;
262
275
 
263
276
  export interface PillComponentProps {
277
+ children?: ReactNode;
264
278
  className?: string;
265
- icon?: string;
266
- label: string;
267
- variant?: 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark';
279
+ closeButton?: boolean;
280
+ color?: 'green' | 'yellow' | 'red' | 'danger' | 'neutral' | 'blue' | 'light' | 'midtone' | 'dark';
281
+ disabled?: boolean;
282
+ onClick?: MouseEventHandler<HTMLButtonElement>;
268
283
  }
269
284
 
270
285
  export const PillComponent: React.FC<PillComponentProps>;
@@ -319,6 +334,23 @@ export interface ToastProgressProps {
319
334
 
320
335
  export const ToastProgress: React.FC<ToastProgressProps>;
321
336
 
337
+ // ============================================================================
338
+ // MODAL COMPONENTS
339
+ // ============================================================================
340
+
341
+ export interface ModalComponentProps {
342
+ children: ReactNode;
343
+ className?: string;
344
+ footer?: ReactNode;
345
+ header: string | ReactNode;
346
+ setShow: Dispatch<SetStateAction<boolean>>;
347
+ show: boolean;
348
+ size?: 'sm' | 'md' | 'lg';
349
+ type?: 'default' | 'confirmation' | 'error';
350
+ }
351
+
352
+ export const ModalComponent: React.FC<ModalComponentProps>;
353
+
322
354
  // ============================================================================
323
355
  // NAVIGATION COMPONENTS
324
356
  // ============================================================================
@@ -335,6 +367,18 @@ export interface NavbarProps {
335
367
 
336
368
  export const Navbar: React.FC<NavbarProps>;
337
369
 
370
+ export interface AsideProps {
371
+ backdrop?: boolean;
372
+ belowNavbar?: boolean;
373
+ children: ReactNode;
374
+ className?: string;
375
+ header: string | ReactNode;
376
+ onHide: () => void;
377
+ show: boolean;
378
+ }
379
+
380
+ export const Aside: React.FC<AsideProps>;
381
+
338
382
  export interface StepperProps {
339
383
  activeStep?: number;
340
384
  className?: string;
@@ -352,6 +396,22 @@ export interface TabnavProps {
352
396
 
353
397
  export const Tabnav: React.FC<TabnavProps>;
354
398
 
399
+ export interface PaginationProps {
400
+ className?: string;
401
+ currentPage: number;
402
+ onNextPage: () => void;
403
+ onPageChange: (page: number) => void;
404
+ onPageSizeChange: (size: number) => void;
405
+ onPrevPage: () => void;
406
+ pageSize: number;
407
+ pageSizeOptions?: number[];
408
+ paginationMode?: 'local' | 'remote';
409
+ showPerPageLabel?: string;
410
+ totalPages?: number;
411
+ }
412
+
413
+ export const Pagination: React.FC<PaginationProps>;
414
+
355
415
  export interface SidebarProps {
356
416
  children?: ReactNode;
357
417
  className?: string;
@@ -362,3 +422,15 @@ export interface SidebarProps {
362
422
 
363
423
  export const Sidebar: React.FC<SidebarProps>;
364
424
 
425
+ // ============================================================================
426
+ // TABLE COMPONENTS
427
+ // ============================================================================
428
+
429
+ export interface TableSkeletonProps {
430
+ className?: string;
431
+ cols: number;
432
+ rows: number;
433
+ }
434
+
435
+ export const TableSkeleton: React.FC<TableSkeletonProps>;
436
+
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "groovinads-ui",
3
3
  "description": "Groovinads UI is a React component library designed exclusively for Groovinads applications. It provides ready-to-use UI elements styled according to Groovinads design guidelines to facilitate rapid development.",
4
- "version": "1.9.081",
4
+ "version": "1.9.82",
5
5
  "type": "module",
6
6
  "keywords": [
7
7
  "css",