@mirantes-micro/foundation-design-system 1.0.52 → 1.0.54
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.ts +6 -2
- package/dist/index.js +138 -61
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
|
-
import React__default, { ReactNode, ChangeEvent, MouseEventHandler, CSSProperties } from 'react';
|
|
2
|
+
import React__default, { ReactNode, ChangeEvent, KeyboardEvent, MouseEventHandler, CSSProperties } from 'react';
|
|
3
3
|
import { QueryClient } from '@tanstack/react-query';
|
|
4
4
|
import { AxiosInstance } from 'axios';
|
|
5
5
|
|
|
@@ -257,6 +257,7 @@ type BaseInputProps = {
|
|
|
257
257
|
placeholder: string;
|
|
258
258
|
value: string;
|
|
259
259
|
onChange: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
260
|
+
onKeyDown?: (e: KeyboardEvent<HTMLInputElement>) => void;
|
|
260
261
|
rightIcon?: React__default.ReactNode;
|
|
261
262
|
leftIcon?: React__default.ReactNode;
|
|
262
263
|
label?: string;
|
|
@@ -449,6 +450,7 @@ declare const useApiGetPage: (slug?: string) => {
|
|
|
449
450
|
|
|
450
451
|
declare function useSetChatVisibility(): {
|
|
451
452
|
isChatVisible: boolean;
|
|
453
|
+
isToSendMessageToPage: boolean;
|
|
452
454
|
};
|
|
453
455
|
|
|
454
456
|
declare function ChatView(): React__default.JSX.Element;
|
|
@@ -618,4 +620,6 @@ declare const designSystemPreset: {
|
|
|
618
620
|
};
|
|
619
621
|
};
|
|
620
622
|
|
|
621
|
-
|
|
623
|
+
declare function ChatViewPage(): React__default.JSX.Element;
|
|
624
|
+
|
|
625
|
+
export { AddressAutocompleteInput, BaseInput, Button, ChatView, ChatViewPage, CheckBoxInput, ContactsModal, CountryDisplay, CountryInput, CustomDateInput, CustomDrawer, CustomDropdown, CustomSelectInput, DateInput, GradientModal, Header, MirantesButton, MirantesFoundationProvider, RadioButtonInput, SalaryInput, Calendar as ScheduleCalendar, Spinner, WorkspacePanel, clearSettingsCookie, closeLogoutChannel, designSystemPreset, getInitials, getSettingsFromCookie, joinUrlWithPathAndQuery, onLogout, stringToObj, useApiGetPage, useLoadSettings, useMirantesFoundation, useSetChatVisibility };
|