@mirantes-micro/foundation-design-system 1.1.3 → 1.1.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/dist/index.d.ts +14 -10
- package/dist/index.js +69 -68
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -240,19 +240,23 @@ declare namespace CountryDisplay {
|
|
|
240
240
|
var displayName: string;
|
|
241
241
|
}
|
|
242
242
|
|
|
243
|
-
interface
|
|
244
|
-
value?: string;
|
|
245
|
-
currency?: string;
|
|
246
|
-
onChange?: (value: string, currency: string) => void;
|
|
243
|
+
interface SalaryInputWithButtonProps {
|
|
247
244
|
label?: string;
|
|
245
|
+
value?: {
|
|
246
|
+
amount: string;
|
|
247
|
+
currency: string;
|
|
248
|
+
};
|
|
249
|
+
onChange?: (val: {
|
|
250
|
+
amount: string;
|
|
251
|
+
currency: string;
|
|
252
|
+
}) => void;
|
|
253
|
+
onGenerate?: () => void;
|
|
248
254
|
placeholder?: string;
|
|
249
|
-
className?: string;
|
|
250
255
|
disabled?: boolean;
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
floatable?: boolean;
|
|
256
|
+
className?: string;
|
|
257
|
+
buttonLabel?: string;
|
|
254
258
|
}
|
|
255
|
-
declare function
|
|
259
|
+
declare function SalaryInputWithButton({ label, value, onChange, onGenerate, placeholder, disabled, className, buttonLabel, }: SalaryInputWithButtonProps): React__default.JSX.Element;
|
|
256
260
|
|
|
257
261
|
interface CalendarProps {
|
|
258
262
|
locale?: "pt" | "fr" | "en";
|
|
@@ -709,4 +713,4 @@ declare function AnimatedModal({ isOpen, onClose, children, variant, className,
|
|
|
709
713
|
offsetTop?: number;
|
|
710
714
|
}): React__default.JSX.Element | null;
|
|
711
715
|
|
|
712
|
-
export { AddressAutocompleteInput, AnimatedModal, BaseInput, Button, ChatView, ChatViewDesktopPage, CheckBoxInput, ContactsModal, CountryDisplay, CountryInput, CustomDateInput, CustomDrawer, CustomDropdown, CustomSelectInput, DateInput, GradientModal, Header, MessageButton, MirantesButton, MirantesFoundationProvider, RadioButtonInput,
|
|
716
|
+
export { AddressAutocompleteInput, AnimatedModal, BaseInput, Button, ChatView, ChatViewDesktopPage, CheckBoxInput, ContactsModal, CountryDisplay, CountryInput, CustomDateInput, CustomDrawer, CustomDropdown, CustomSelectInput, DateInput, GradientModal, Header, MessageButton, MirantesButton, MirantesFoundationProvider, RadioButtonInput, SalaryInputWithButton, Calendar as ScheduleCalendar, Spinner, WorkspacePanel, clearSettingsCookie, closeLogoutChannel, designSystemPreset, getInitials, getSettingsFromCookie, joinUrlWithPathAndQuery, onLogout, stringToObj, useApiGetPage, useCandidaciesTriggerStore, useCommunityTriggerStore, useJobTriggerStore, useLoadSettings, useMirantesFoundation, useSetChatVisibility };
|