@apia/components 0.3.3 → 0.3.5

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/LICENSE.md CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) [year] [fullname]
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1
+ MIT License
2
+
3
+ Copyright (c) [year] [fullname]
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
21
  SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,3 @@
1
- # Components
2
-
1
+ # Components
2
+
3
3
  Este paquete es un compilado de componentes comunes.
package/cleanDist.json ADDED
@@ -0,0 +1,3 @@
1
+ {
2
+ "cleanDist": 0.7360778446735086
3
+ }
package/dist/index.d.ts CHANGED
@@ -1,172 +1,13 @@
1
+ import { ThemeUIStyleObject, IconButtonProps, ButtonProps, ThemeUICSSObject, InputProps, BoxProps } from '@apia/theme';
2
+ import { TModify, TId, TApiaFilter, TApiaFilterValue, IOnFocusConfiguration, TFocusRetriever, EventEmitter } from '@apia/util';
1
3
  import * as React$1 from 'react';
2
- import React__default, { ReactNode, FC, Ref, ChangeEventHandler, MouseEvent, KeyboardEvent, FunctionComponent, ForwardedRef, ComponentType, RefObject } from 'react';
3
- import { TId, TApiaFilter, TApiaFilterValue, TModify, IOnFocusConfiguration, TFocusRetriever, EventEmitter } from '@apia/util';
4
- import { TIconName, TIconType } from '@apia/icons';
5
- import { ThemeUIStyleObject, IconButtonProps, ButtonProps, InputProps, ThemeUICSSObject, BoxProps } from '@apia/theme';
4
+ import React__default, { ChangeEventHandler, MouseEvent, KeyboardEvent, ReactNode, FC, Ref, FunctionComponent, ForwardedRef, ComponentType, RefObject } from 'react';
5
+ import { TIconType, TIconName } from '@apia/icons';
6
6
  import { Args } from 'react-cool-portal';
7
7
 
8
- interface IAccordionItemButton {
9
- ariaLabel: string;
10
- /**
11
- * Si checked !== undefined => se mostrará un checkbox.
12
- */
13
- checked?: boolean;
14
- /**
15
- * Solamente se utiliza en conjunto con el checkbox y permite evitar que el
16
- * usuario pueda marcar o desmarcar el checkbox.
17
- */
18
- disableSelection?: boolean;
19
- label: string;
20
- /**
21
- * Evento que se dispara cuando el usuario hace click en el checkbox o
22
- * presiona espacio sobre el botón del acordeón.
23
- */
24
- onChange?: (checked: boolean) => unknown;
25
- rightIcons?: TIconName[] | TIconName;
26
- tabIndex?: number;
27
- /**
28
- * Si no se pasa title se usará ariaLabel.
29
- */
30
- title?: string;
31
- }
32
- declare const DefaultAccordionItemButton: (props: IAccordionItemButton) => React$1.JSX.Element;
33
-
34
- interface IAccordionProps {
35
- /**
36
- * Tiempo en ms que dura la animación. Por defecto se usa 150.
37
- */
38
- animationDuration?: number;
39
- children?: ReactNode;
40
- className?: string;
41
- getHandler?: (handler: AccordionHandler) => unknown;
42
- /**
43
- * Por defecto usa la variante layout.common.components.accordion.primary
44
- */
45
- variant?: string;
46
- }
47
- declare const Accordion: FC<IAccordionProps>;
48
-
49
- type TItemState$1 = {
50
- isChecked: boolean;
51
- isExpanded: boolean;
52
- };
53
- type TItemStateListener = (state: TItemState$1) => unknown;
54
- type TPropsListener = (props: IAccordionProps) => unknown;
55
-
56
- type TSelectionComparator<T> = (prev: T, next: T) => boolean;
57
- type TItemUpdater = Partial<TItemState$1> | ((currentProps: TItemState$1) => Partial<TItemState$1>);
58
- declare class AccordionHandler {
59
- id: string;
60
- props: IAccordionProps;
61
- itemsState: Record<TId, TItemState$1>;
62
- itemsStateListeners: Record<TId, TItemStateListener[]>;
63
- propsListeners: TPropsListener[];
64
- constructor(id: string, props: IAccordionProps);
65
- registerItem(itemId: TId, initialState: TItemState$1): void;
66
- toggleItem(itemId: TId, isExpanded: boolean): void;
67
- unregisterItem(itemId: TId): void;
68
- /**
69
- * Permite actualizar parcialmente el estado de un item
70
- */
71
- udpateItem(itemId: TId, updater: TItemUpdater): void;
72
- updateProps(props: IAccordionProps): void;
73
- hooks: {
74
- useAccordionContextProvider: () => ({ children }: {
75
- children: ReactNode;
76
- }) => React$1.JSX.Element;
77
- useItemContextProvider: (itemId: TId) => ({ children }: {
78
- children: ReactNode;
79
- }) => React$1.JSX.Element;
80
- useItemId: () => TId;
81
- useItemStateSelector: <T>(selector: (props: TItemState$1) => T, comparator?: TSelectionComparator<T>) => T;
82
- useItemStateUpdate: (cb: TItemStateListener) => void;
83
- usePropsSelector: <T_1>(selector: (props: IAccordionProps) => T_1, comparator?: TSelectionComparator<T_1>) => T_1;
84
- usePropsUpdate: (cb: TPropsListener) => void;
85
- };
86
- }
87
-
88
- interface IAccordionItemProps {
89
- /**
90
- * Cada elemento del acordeón tiene dos formas de renderizar el botón. O bien
91
- * se pasa un elemento AccordionItemButton como hijo o bien se pasan
92
- * buttonProps. En caso contrario, el elemento no tendrá botón.
93
- */
94
- buttonProps?: IAccordionItemButton;
95
- children?: ReactNode;
96
- id: TId;
97
- }
98
- declare const AccordionItem: ({ children, id, ...props }: IAccordionItemProps) => React$1.JSX.Element;
99
-
100
- type TAccordionItemButton = {
101
- children?: ReactNode;
102
- };
103
- declare const AccordionItemButton: ({ children }: TAccordionItemButton) => React$1.JSX.Element;
104
-
105
- declare const AccordionItemContent: ({ children, buttonProps, }: IAccordionItemProps) => React$1.JSX.Element;
106
-
107
- declare const AccordionContext: React$1.Context<AccordionHandler | null>;
108
- declare const AccordionItemContext: React$1.Context<TId | null>;
109
- declare const useAccordionContext: () => AccordionHandler;
110
-
111
- type TAccordionHandler = AccordionHandler;
112
-
113
- interface IApiaFilter {
114
- filter: TApiaFilter;
115
- onBlur?: (ev: TApiaFilterValue) => void;
116
- onChange?: (ev: TApiaFilterValue) => void | boolean | string | Promise<boolean | string>;
117
- onPressEnter?: (ev: TApiaFilterValue) => void;
118
- }
119
- declare const ApiaFilter: React$1.MemoExoticComponent<React$1.ForwardRefExoticComponent<IApiaFilter & React$1.RefAttributes<HTMLInputElement | HTMLSelectElement>>>;
120
-
121
- interface ICollapsiblePanel {
122
- children: React.ReactNode;
123
- className?: string;
124
- closedIcon?: TIconType | TIconName;
125
- collapsed?: boolean;
126
- defaultCollapsed?: boolean;
127
- disableChildrenFocus?: boolean;
128
- iconSize?: string | number;
129
- id?: string;
130
- minHeight?: number;
131
- onClose?: () => unknown;
132
- onOpen?: (ev?: React.MouseEvent) => void | Promise<boolean>;
133
- openIcon?: TIconType | TIconName;
134
- label: React.ReactNode;
135
- titleButtons?: React.ReactNode;
136
- }
137
-
138
- declare const CollapsiblePanel: React__default.ForwardRefExoticComponent<ICollapsiblePanel & React__default.RefAttributes<HTMLDivElement>>;
139
-
140
- interface IAlert {
141
- children: React.ReactNode;
142
- onClose: () => void;
143
- title?: string;
144
- }
145
- declare const AlertModal: ({ children, onClose, title }: IAlert) => React$1.JSX.Element;
146
-
147
8
  type TModalSize = 'editGrid' | 'sm' | 'md' | 'md-fixed' | 'lg' | 'lg-fixed' | 'xl' | 'xl-fixed' | 'xxl' | 'xxxl' | 'xxxl-fixed' | 'flex' | 'cal' | 'finder';
148
9
  type TApiaButtonType = 'primary' | 'primary-sm' | 'secondary' | 'light-secondary' | 'secondary-sm' | 'danger' | 'danger-sm' | 'outline' | 'outline-sm' | 'warning' | 'warning-sm' | 'link';
149
10
 
150
- interface IConfirm {
151
- additionalButtons?: ReactNode;
152
- additionalButtonsOnRight?: ReactNode;
153
- cancelButtonText?: string;
154
- children: ReactNode;
155
- className?: string;
156
- confirmButtonText?: string;
157
- confirmButtonVariant?: TApiaButtonType;
158
- contentRef?: Ref<HTMLDivElement>;
159
- disabled?: boolean;
160
- hideCancelButton?: boolean;
161
- hideConfirmButton?: boolean;
162
- isLoading?: boolean;
163
- onConfirm?: () => unknown;
164
- onCancel?: () => unknown;
165
- title?: string;
166
- variant?: string;
167
- }
168
- declare const ConfirmModal: ({ onConfirm, onCancel, title, ...props }: IConfirm) => JSX.Element;
169
-
170
11
  interface IBaseButton {
171
12
  text?: string;
172
13
  children?: string;
@@ -217,6 +58,7 @@ type TIconButton = Omit<IconButtonProps, 'sx'> & React$1.AriaAttributes & {
217
58
  declare const IconButton: React$1.ForwardRefExoticComponent<Omit<TIconButton, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
218
59
 
219
60
  interface ISimpleButton extends ButtonProps {
61
+ buttonSx?: ThemeUICSSObject;
220
62
  icon?: TIconType;
221
63
  iconColor?: string;
222
64
  iconPosition?: 'left' | 'right';
@@ -420,6 +262,170 @@ declare const FieldLabel: React$1.ForwardRefExoticComponent<{
420
262
  requiredMarkPosition?: "after" | "before" | undefined;
421
263
  } & BoxProps & React$1.RefAttributes<HTMLDivElement>>;
422
264
 
265
+ interface IAccordionItemButton {
266
+ ariaLabel: string;
267
+ /**
268
+ * Si checked !== undefined => se mostrará un checkbox.
269
+ */
270
+ checked?: boolean;
271
+ /**
272
+ * Solamente se utiliza en conjunto con el checkbox y permite evitar que el
273
+ * usuario pueda marcar o desmarcar el checkbox.
274
+ */
275
+ className?: string;
276
+ disableSelection?: boolean;
277
+ domButtonProps?: ISimpleButton;
278
+ label: string;
279
+ /**
280
+ * Evento que se dispara cuando el usuario hace click en el checkbox o
281
+ * presiona espacio sobre el botón del acordeón.
282
+ */
283
+ onChange?: (checked: boolean) => unknown;
284
+ onClick?: (ev: MouseEvent) => unknown;
285
+ onUserPressEnter?: (ev: KeyboardEvent) => unknown;
286
+ rightButtons?: ReactNode;
287
+ rightIcons?: TIconName[] | TIconName;
288
+ tabIndex?: number;
289
+ /**
290
+ * Si no se pasa title se usará ariaLabel.
291
+ */
292
+ title?: string;
293
+ }
294
+ declare const DefaultAccordionItemButton: (props: IAccordionItemButton) => React$1.JSX.Element;
295
+
296
+ interface IAccordionProps {
297
+ /**
298
+ * Tiempo en ms que dura la animación. Por defecto se usa 150.
299
+ */
300
+ animationDuration?: number;
301
+ children?: ReactNode;
302
+ className?: string;
303
+ getHandler?: (handler: AccordionHandler) => unknown;
304
+ /**
305
+ * Por defecto usa la variante layout.common.components.accordion.primary
306
+ */
307
+ variant?: string;
308
+ }
309
+ declare const Accordion: FC<IAccordionProps>;
310
+
311
+ type TItemState$1 = {
312
+ isChecked: boolean;
313
+ isExpanded: boolean;
314
+ };
315
+ type TItemStateListener = (state: TItemState$1) => unknown;
316
+ type TPropsListener = (props: IAccordionProps) => unknown;
317
+
318
+ type TSelectionComparator<T> = (prev: T, next: T) => boolean;
319
+ type TItemUpdater = Partial<TItemState$1> | ((currentProps: TItemState$1) => Partial<TItemState$1>);
320
+ declare class AccordionHandler {
321
+ id: string;
322
+ props: IAccordionProps;
323
+ itemsState: Record<TId, TItemState$1>;
324
+ itemsStateListeners: Record<TId, TItemStateListener[]>;
325
+ propsListeners: TPropsListener[];
326
+ constructor(id: string, props: IAccordionProps);
327
+ registerItem(itemId: TId, initialState: TItemState$1): void;
328
+ toggleItem(itemId: TId, isExpanded: boolean): void;
329
+ unregisterItem(itemId: TId): void;
330
+ /**
331
+ * Permite actualizar parcialmente el estado de un item
332
+ */
333
+ udpateItem(itemId: TId, updater: TItemUpdater): void;
334
+ updateProps(props: IAccordionProps): void;
335
+ hooks: {
336
+ useAccordionContextProvider: () => ({ children }: {
337
+ children: ReactNode;
338
+ }) => React$1.JSX.Element;
339
+ useItemContextProvider: (itemId: TId) => ({ children }: {
340
+ children: ReactNode;
341
+ }) => React$1.JSX.Element;
342
+ useItemId: () => TId;
343
+ useItemStateSelector: <T>(selector: (props: TItemState$1) => T, comparator?: TSelectionComparator<T>) => T;
344
+ useItemStateUpdate: (cb: TItemStateListener) => void;
345
+ usePropsSelector: <T_1>(selector: (props: IAccordionProps) => T_1, comparator?: TSelectionComparator<T_1>) => T_1;
346
+ usePropsUpdate: (cb: TPropsListener) => void;
347
+ };
348
+ }
349
+
350
+ interface IAccordionItemProps {
351
+ /**
352
+ * Cada elemento del acordeón tiene dos formas de renderizar el botón. O bien
353
+ * se pasa un elemento AccordionItemButton como hijo o bien se pasan
354
+ * buttonProps. En caso contrario, el elemento no tendrá botón.
355
+ */
356
+ buttonProps?: IAccordionItemButton;
357
+ children?: ReactNode;
358
+ id: TId;
359
+ }
360
+ declare const AccordionItem: ({ children, id, ...props }: IAccordionItemProps) => React$1.JSX.Element;
361
+
362
+ type TAccordionItemButton = {
363
+ children?: ReactNode;
364
+ };
365
+ declare const AccordionItemButton: ({ children }: TAccordionItemButton) => React$1.JSX.Element;
366
+
367
+ declare const AccordionItemContent: ({ children, buttonProps, }: IAccordionItemProps) => React$1.JSX.Element;
368
+
369
+ declare const AccordionContext: React$1.Context<AccordionHandler | null>;
370
+ declare const AccordionItemContext: React$1.Context<TId | null>;
371
+ declare const useAccordionContext: () => AccordionHandler;
372
+
373
+ type TAccordionHandler = AccordionHandler;
374
+
375
+ interface IApiaFilter {
376
+ filter: TApiaFilter;
377
+ onBlur?: (ev: TApiaFilterValue) => void;
378
+ onChange?: (ev: TApiaFilterValue) => void | boolean | string | Promise<boolean | string>;
379
+ onPressEnter?: (ev: TApiaFilterValue) => void;
380
+ }
381
+ declare const ApiaFilter: React$1.MemoExoticComponent<React$1.ForwardRefExoticComponent<IApiaFilter & React$1.RefAttributes<HTMLInputElement | HTMLSelectElement>>>;
382
+
383
+ interface ICollapsiblePanel {
384
+ children: React.ReactNode;
385
+ className?: string;
386
+ closedIcon?: TIconType | TIconName;
387
+ collapsed?: boolean;
388
+ defaultCollapsed?: boolean;
389
+ disableChildrenFocus?: boolean;
390
+ iconSize?: string | number;
391
+ id?: string;
392
+ minHeight?: number;
393
+ onClose?: () => unknown;
394
+ onOpen?: (ev?: React.MouseEvent) => void | Promise<boolean>;
395
+ openIcon?: TIconType | TIconName;
396
+ label: React.ReactNode;
397
+ titleButtons?: React.ReactNode;
398
+ }
399
+
400
+ declare const CollapsiblePanel: React__default.ForwardRefExoticComponent<ICollapsiblePanel & React__default.RefAttributes<HTMLDivElement>>;
401
+
402
+ interface IAlert {
403
+ children: React.ReactNode;
404
+ onClose: () => void;
405
+ title?: string;
406
+ }
407
+ declare const AlertModal: ({ children, onClose, title }: IAlert) => React$1.JSX.Element;
408
+
409
+ interface IConfirm {
410
+ additionalButtons?: ReactNode;
411
+ additionalButtonsOnRight?: ReactNode;
412
+ cancelButtonText?: string;
413
+ children: ReactNode;
414
+ className?: string;
415
+ confirmButtonText?: string;
416
+ confirmButtonVariant?: TApiaButtonType;
417
+ contentRef?: Ref<HTMLDivElement>;
418
+ disabled?: boolean;
419
+ hideCancelButton?: boolean;
420
+ hideConfirmButton?: boolean;
421
+ isLoading?: boolean;
422
+ onConfirm?: () => unknown;
423
+ onCancel?: () => unknown;
424
+ title?: string;
425
+ variant?: string;
426
+ }
427
+ declare const ConfirmModal: ({ onConfirm, onCancel, title, ...props }: IConfirm) => JSX.Element;
428
+
423
429
  type TListboxItem = {
424
430
  children?: ReactNode;
425
431
  rowIndex?: number;
@@ -534,6 +540,13 @@ declare const LoaderSpinner: ((props: {
534
540
  displayName: string;
535
541
  };
536
542
 
543
+ type TModalContext = {
544
+ changeTitle: (newTitle: string) => void;
545
+ close: () => unknown;
546
+ descriptionId: string;
547
+ };
548
+ declare function useModalContext(): TModalContext;
549
+
537
550
  interface IDialogHeader {
538
551
  className?: string;
539
552
  close: () => void;
@@ -548,13 +561,6 @@ declare global {
548
561
  }
549
562
  }
550
563
 
551
- type TModalContext = {
552
- /**
553
- * Se debe usar para dotar de una descripción al cuadro de diálogo
554
- */
555
- descriptionId: string;
556
- };
557
- declare const ModalContext: React__default.Context<TModalContext>;
558
564
  type TModal = {
559
565
  animationDuration?: number;
560
566
  children?: React__default.ReactNode;
@@ -929,7 +935,8 @@ type TIcon<P = Record<string, unknown>> = {
929
935
  */
930
936
  className?: string;
931
937
  id: TId;
932
- imageUrl: string;
938
+ icon?: TIconName | TIconType;
939
+ imageUrl?: string;
933
940
  /**
934
941
  * Es el texto que se mostrará debajo de la imagen.
935
942
  */
@@ -944,7 +951,7 @@ type TIconsList<P = Record<string, unknown>> = {
944
951
  * Listado de íconos
945
952
  */
946
953
  icons: TIcon<P>[];
947
- iconRenderer?: TIconRenderer;
954
+ iconRenderer?: TIconRenderer<P>;
948
955
  /**
949
956
  * Por defecto se usa iconWidth=100.
950
957
  *
@@ -1004,6 +1011,8 @@ type TIconsList<P = Record<string, unknown>> = {
1004
1011
  */
1005
1012
  type TIconRenderer<P = Record<string, unknown>> = FunctionComponent<TIcon<P>>;
1006
1013
 
1014
+ declare const DefaultIconRenderer: React$1.NamedExoticComponent<TIcon<Record<string, unknown>>>;
1015
+
1007
1016
  declare const IconsList: {
1008
1017
  <P extends Record<string, unknown>>(props: TIconsList<P>, ref: ForwardedRef<HTMLDivElement>): React$1.JSX.Element;
1009
1018
  displayName: string;
@@ -1192,4 +1201,6 @@ declare function useTooltip(tooltip?: TTooltip): {
1192
1201
  toggle: (otherProps?: Partial<TTooltip>) => void;
1193
1202
  };
1194
1203
 
1195
- export { Accordion, AccordionContext, AccordionItem, AccordionItemButton, AccordionItemContent, AccordionItemContext, AlertModal, ApiaFilter, AutoEllipsis, BaseButton, CalendarModal, Captcha, Checkbox, CollapsiblePanel, Confirm, ConfirmModal, DateInput, DefaultAccordionItemButton, DialogButtonBar, FieldErrorMessage, FieldLabel, IAccordionItemProps, IAccordionProps, IAlert, IApiaFilter, ICalendarModal, IConfirm, IDialogButtonBar, IDialogHeader, IField, IFieldErrorMessage, IIconInput, IOverlay, IRequiredMark, IResponsiveComponent, ISimpleButton, IconButton, IconInput, IconsList, LinearLoader, Listbox, ListboxItem, LoaderSpinner, Modal, ModalContext, NumberInput, Overlay, ProgressBar, RequiredMark, ScreenLock, SimpleButton, TAccordionHandler, TAccordionItemButton, TApiaButtonType, TApiaIconButton, TCheckbox, TDateProps, TFieldLabel, TIcon, TIconButton, TIconRenderer, TIconSize, TIconsList, TListbox, TModal, TModalContext, TModalSize, TNumberInput, TNumberInputChangeEvent, TOnClickNode, TOnConfirmSelection, TOnSelectionChange, TTool, TTooltip, TTooltipEvents, TUseModalConfiguration, Toolbar, ToolbarController, ToolbarItem, TooltipsProvider, WaiTypeAhead, getFieldErrorStyles, getFieldTouchedStyles, importComponent, makeResponsiveComponent, parseNumberInputValueToNumber, parseNumberValueToNumberInput, tooltipsHandler, useAccordionContext, useModal, useOtherTagButton, useTooltip };
1204
+ declare const Tooltip: ({ anchorPoint, attachToElement, attachToElementAnchorPoint, children, className, closeOnClick, closeOnClickOut, closeOnEscape, closeOnMouseLeaveTooltip, closeOnMouseLeaveAttachedElement, closeOnScrollOut, minSize, onClose, preferredOrientationX, preferredOrientationY, preferredSize, variant, }: TTooltip) => React$1.JSX.Element;
1205
+
1206
+ export { Accordion, AccordionContext, AccordionItem, AccordionItemButton, AccordionItemContent, AccordionItemContext, AlertModal, ApiaFilter, AutoEllipsis, BaseButton, CalendarModal, Captcha, Checkbox, CollapsiblePanel, Confirm, ConfirmModal, DateInput, DefaultAccordionItemButton, DefaultIconRenderer, DialogButtonBar, FieldErrorMessage, FieldLabel, IAccordionItemButton, IAccordionItemProps, IAccordionProps, IAlert, IApiaFilter, ICalendarModal, IConfirm, IDialogButtonBar, IDialogHeader, IField, IFieldErrorMessage, IIconInput, IOverlay, IRequiredMark, IResponsiveComponent, ISimpleButton, IconButton, IconInput, IconsList, LinearLoader, Listbox, ListboxItem, LoaderSpinner, Modal, NumberInput, Overlay, ProgressBar, RequiredMark, ScreenLock, SimpleButton, TAccordionHandler, TAccordionItemButton, TApiaButtonType, TApiaIconButton, TCheckbox, TDateProps, TFieldLabel, TIcon, TIconButton, TIconRenderer, TIconSize, TIconsList, TListbox, TModal, TModalSize, TNumberInput, TNumberInputChangeEvent, TOnClickNode, TOnConfirmSelection, TOnSelectionChange, TTool, TTooltip, TTooltipEvents, TUseModalConfiguration, Toolbar, ToolbarController, ToolbarItem, Tooltip, TooltipsProvider, WaiTypeAhead, getFieldErrorStyles, getFieldTouchedStyles, importComponent, makeResponsiveComponent, parseNumberInputValueToNumber, parseNumberValueToNumberInput, tooltipsHandler, useAccordionContext, useModal, useModalContext, useOtherTagButton, useTooltip };