@mmb-digital/design-system-web 0.1.55 → 0.1.57
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.cjs.js +33 -33
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +8 -4
- package/dist/index.esm.js +6 -6
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -289,7 +289,6 @@ interface ModalProps {
|
|
|
289
289
|
readonly isOpen: boolean;
|
|
290
290
|
readonly modalRootElementId?: string | undefined;
|
|
291
291
|
readonly onClose: ModalOnClose;
|
|
292
|
-
readonly smallerWidth?: boolean | undefined;
|
|
293
292
|
readonly title?: ReactElement | string | undefined;
|
|
294
293
|
readonly widthType?: ModalWidthType | undefined;
|
|
295
294
|
}
|
|
@@ -567,6 +566,7 @@ interface FieldWrapperProps extends FieldWrapperValues, PropsWithChildren {
|
|
|
567
566
|
declare const FieldWrapper: FC<FieldWrapperProps>;
|
|
568
567
|
|
|
569
568
|
interface RadioGeneralProps extends RefAttributes<HTMLInputElement> {
|
|
569
|
+
readonly checked?: boolean;
|
|
570
570
|
readonly disabled?: boolean;
|
|
571
571
|
readonly id?: string | undefined;
|
|
572
572
|
readonly isError?: boolean | undefined;
|
|
@@ -627,13 +627,15 @@ interface RadioButtonsHorizontalProps {
|
|
|
627
627
|
name: string;
|
|
628
628
|
onBlur?: ((event: React__default.FocusEvent<HTMLInputElement>) => Promise<boolean | void>) | undefined;
|
|
629
629
|
onChange?: ((event: React__default.ChangeEvent<HTMLInputElement>) => Promise<boolean | void>) | undefined;
|
|
630
|
+
value?: string;
|
|
630
631
|
}
|
|
631
632
|
|
|
632
633
|
declare const RadioButtonsHorizontal: React__default.FC<RadioButtonsHorizontalProps>;
|
|
633
634
|
|
|
634
635
|
interface InputBaseProps extends RefAttributes<HTMLInputElement> {
|
|
635
636
|
button?: ReactNode;
|
|
636
|
-
colorInput?:
|
|
637
|
+
colorInput?: Property.Color | undefined;
|
|
638
|
+
colorScheme?: ColorScheme;
|
|
637
639
|
disabled?: boolean;
|
|
638
640
|
halfWidth?: boolean;
|
|
639
641
|
hasError?: boolean;
|
|
@@ -644,7 +646,8 @@ interface InputBaseProps extends RefAttributes<HTMLInputElement> {
|
|
|
644
646
|
onBlur?: ((event: React__default.FocusEvent<HTMLInputElement>) => void) | undefined;
|
|
645
647
|
onChange?: ((event: React__default.ChangeEvent<HTMLInputElement>) => void) | undefined;
|
|
646
648
|
placeholder?: string;
|
|
647
|
-
prefix?: ReactNode
|
|
649
|
+
prefix?: ReactNode;
|
|
650
|
+
prefixColor?: Property.Color;
|
|
648
651
|
size: InputSize;
|
|
649
652
|
suffix?: ReactNode | string;
|
|
650
653
|
textAlign?: InputTextAlign;
|
|
@@ -712,6 +715,7 @@ declare const PhoneInput: FC<PhoneInputProps>;
|
|
|
712
715
|
|
|
713
716
|
interface PhoneInputNextProps extends FieldWrapperValues, Omit<MaskedInputBaseProps, 'maskOptions'> {
|
|
714
717
|
maskOptions?: FactoryOpts;
|
|
718
|
+
prefixColor?: Property.Color;
|
|
715
719
|
}
|
|
716
720
|
declare const PhoneInputNext: React__default.ForwardRefExoticComponent<Omit<PhoneInputNextProps, "ref"> & React__default.RefAttributes<HTMLInputElement>>;
|
|
717
721
|
|
|
@@ -1444,4 +1448,4 @@ declare const theme: {
|
|
|
1444
1448
|
};
|
|
1445
1449
|
};
|
|
1446
1450
|
|
|
1447
|
-
export { Accordion, AccordionContent, AccordionItem, type AccordionItemProps, AccordionKeyValue, type AccordionProps, AsyncSelect, Button, type ButtonProps, ButtonSize, ButtonStyle, ButtonType, CalculatorResult, CalculatorResultBox, type CalculatorResultBoxModal, type CalculatorResultBoxProps, type CalculatorResultProps, Checkbox, type CheckboxLabel, CheckboxPosition, type CheckboxProps, type ChooseColor, ColorScheme, type ColorSchemeObject, DatePicker, type DatePickerProps, EmailInput, type EmailInputProps, ErrorBox, type ErrorBoxItem, type ErrorBoxProps, FieldWrapper, FieldWrapperLayout, type FieldWrapperValues, _default as FormattedAmount, FormattedHtmlMessage, type FormattedHtmlMessageProps, FormattedMessage, type FormattedMessageProps, type FormattedMessageTypes, _default$1 as FormattedPercentage, GapSize, type GetColor, IconProduct, IconProductSize, IconProductType, IconSystem, IconSystemSize, IconSystemType, TooltipInfoConditional as InfoConditional, Infobox, type InfoboxProps, InfoboxSize, InfoboxVariant, InputBase, type InputBaseProps, InputLabel, type InputLabelProps, InputSize, InputTextAlign, Loader, LoaderOverlayBox, type LoaderOverlayBoxProps, type LoaderProps, LoaderSize, MaskedInput, MaskedInputBase, type MaskedInputBaseProps, MaskedInputField, type MaskedInputProps, MediaType, Modal, type ModalOnClose, type ModalProps, NumberInput, NumberInputField, type NumberInputProps, PhoneInput, PhoneInputField, PhoneInputNext, type PhoneInputNextProps, type PhoneInputProps, Radio, type RadioBaseWithLabelProps, RadioButton, type RadioButtonLabel, RadioButtonLayout, type RadioButtonProps, RadioButtonsHorizontal, type RadioButtonsHorizontalItem, type RadioButtonsHorizontalLabel, type RadioButtonsHorizontalProps, type RadioLabel, RadioPosition, ReasonForClosing, RoundingType, SearchInput, type SearchInputProps, Select, SelectBase, SelectField, type SelectOption, type SelectProps, type SingleValue, Slider, type SliderBreakpoint, SliderInput, type SliderInputLabel, type SliderInputMinMax, type SliderInputProps, type SliderProps, SliderStepType, type SliderSteps, Stack, StackDirection, type StackProps, type TabItemType, Table, TableBody, TableData, TableHead, TableHeadData, TableRow, TableVariant, Tabs, TabsItem, type TabsProps, type TabsType, TabsVariant, TextArea, type TextAreaProps, TextInput, type TextInputProps, Toggle, type ToggleProps, type TooltipFloatingElement, TooltipGeneral, type TooltipGeneralProps, TooltipInfo, type TooltipInfoConditionalProps, TooltipInfoDisplayMethod, TooltipInfoDisplayableCheck, type TooltipInfoDisplayableCheckProps, type TooltipInfoProps, type TooltipParentElement, type TooltipParentElementProps, TooltipPlacement, TrailingTextInput, type TrailingTextInputProps, Typography, type TypographyProps, TypographyTextAlign, TypographyVariant, TypographyWeight, getColor, theme, useColorScheme, useCreateTooltipFloatingElement, useFormatAmount, useFormattedPercentage, useIsMessageDisplayable, withMaskedInputField };
|
|
1451
|
+
export { Accordion, AccordionContent, AccordionItem, type AccordionItemProps, AccordionKeyValue, type AccordionProps, AsyncSelect, Button, type ButtonProps, ButtonSize, ButtonStyle, ButtonType, CalculatorResult, CalculatorResultBox, type CalculatorResultBoxModal, type CalculatorResultBoxProps, type CalculatorResultProps, Checkbox, type CheckboxLabel, CheckboxPosition, type CheckboxProps, type ChooseColor, ColorScheme, type ColorSchemeObject, DatePicker, type DatePickerProps, EmailInput, type EmailInputProps, ErrorBox, type ErrorBoxItem, type ErrorBoxProps, FieldWrapper, FieldWrapperLayout, type FieldWrapperValues, _default as FormattedAmount, FormattedHtmlMessage, type FormattedHtmlMessageProps, FormattedMessage, type FormattedMessageProps, type FormattedMessageTypes, _default$1 as FormattedPercentage, GapSize, type GetColor, IconProduct, IconProductSize, IconProductType, IconSystem, IconSystemSize, IconSystemType, TooltipInfoConditional as InfoConditional, Infobox, type InfoboxProps, InfoboxSize, InfoboxVariant, InputBase, type InputBaseProps, InputLabel, type InputLabelProps, InputSize, InputTextAlign, Loader, LoaderOverlayBox, type LoaderOverlayBoxProps, type LoaderProps, LoaderSize, MaskedInput, MaskedInputBase, type MaskedInputBaseProps, MaskedInputField, type MaskedInputProps, MediaType, Modal, type ModalOnClose, type ModalProps, ModalWidthType, NumberInput, NumberInputField, type NumberInputProps, PhoneInput, PhoneInputField, PhoneInputNext, type PhoneInputNextProps, type PhoneInputProps, Radio, type RadioBaseWithLabelProps, RadioButton, type RadioButtonLabel, RadioButtonLayout, type RadioButtonProps, RadioButtonsHorizontal, type RadioButtonsHorizontalItem, type RadioButtonsHorizontalLabel, type RadioButtonsHorizontalProps, type RadioLabel, RadioPosition, ReasonForClosing, RoundingType, SearchInput, type SearchInputProps, Select, SelectBase, SelectField, type SelectOption, type SelectProps, type SingleValue, Slider, type SliderBreakpoint, SliderInput, type SliderInputLabel, type SliderInputMinMax, type SliderInputProps, type SliderProps, SliderStepType, type SliderSteps, Stack, StackDirection, type StackProps, type TabItemType, Table, TableBody, TableData, TableHead, TableHeadData, TableRow, TableVariant, Tabs, TabsItem, type TabsProps, type TabsType, TabsVariant, TextArea, type TextAreaProps, TextInput, type TextInputProps, Toggle, type ToggleProps, type TooltipFloatingElement, TooltipGeneral, type TooltipGeneralProps, TooltipInfo, type TooltipInfoConditionalProps, TooltipInfoDisplayMethod, TooltipInfoDisplayableCheck, type TooltipInfoDisplayableCheckProps, type TooltipInfoProps, type TooltipParentElement, type TooltipParentElementProps, TooltipPlacement, TrailingTextInput, type TrailingTextInputProps, Typography, type TypographyProps, TypographyTextAlign, TypographyVariant, TypographyWeight, getColor, theme, useColorScheme, useCreateTooltipFloatingElement, useFormatAmount, useFormattedPercentage, useIsMessageDisplayable, withMaskedInputField };
|