@purple/phoenix-components 4.22.0 → 4.22.1
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/CHANGELOG.md +7 -0
- package/dist/bundle.cjs.js +1 -1
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +1 -1
- package/dist/bundle.esm.js.map +1 -1
- package/dist/bundle.umd.js +1 -1
- package/dist/bundle.umd.js.map +1 -1
- package/dist/index.d.ts +17 -9
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -491,14 +491,6 @@ interface NoticeProps extends GenericComponentProps, MarginProps, PaddingProps {
|
|
|
491
491
|
}
|
|
492
492
|
declare const Notice: React__default.FC<NoticeProps>;
|
|
493
493
|
|
|
494
|
-
interface ParagraphProps extends CommonTextProps<HTMLParagraphElement>, PaddingProps, MarginProps {
|
|
495
|
-
size?: ComponentSizeSmallMediumLarge | string | number;
|
|
496
|
-
}
|
|
497
|
-
declare const Paragraph: React__default.FC<ParagraphProps>;
|
|
498
|
-
|
|
499
|
-
declare type RadioProps = CheckboxRadioCommonProps;
|
|
500
|
-
declare const Radio: React__default.VoidFunctionComponent<RadioProps>;
|
|
501
|
-
|
|
502
494
|
interface FormControlProps extends GenericComponentProps {
|
|
503
495
|
label?: string;
|
|
504
496
|
success?: boolean;
|
|
@@ -513,6 +505,22 @@ interface FormControlProps extends GenericComponentProps {
|
|
|
513
505
|
minimal?: boolean;
|
|
514
506
|
}
|
|
515
507
|
|
|
508
|
+
interface NumberInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'type' | 'value' | 'onChange'>, FormControlProps {
|
|
509
|
+
value: number | null;
|
|
510
|
+
onChange: (value: number | null) => void;
|
|
511
|
+
numberFormatErrorMessage: string;
|
|
512
|
+
maxDecimalCount: number;
|
|
513
|
+
}
|
|
514
|
+
declare const NumberInput: React__default.FC<NumberInputProps>;
|
|
515
|
+
|
|
516
|
+
interface ParagraphProps extends CommonTextProps<HTMLParagraphElement>, PaddingProps, MarginProps {
|
|
517
|
+
size?: ComponentSizeSmallMediumLarge | string | number;
|
|
518
|
+
}
|
|
519
|
+
declare const Paragraph: React__default.FC<ParagraphProps>;
|
|
520
|
+
|
|
521
|
+
declare type RadioProps = CheckboxRadioCommonProps;
|
|
522
|
+
declare const Radio: React__default.VoidFunctionComponent<RadioProps>;
|
|
523
|
+
|
|
516
524
|
interface CommonSelectProps extends FormControlProps {
|
|
517
525
|
name?: string;
|
|
518
526
|
options?: SelectOption[];
|
|
@@ -888,4 +896,4 @@ declare const prefixedTheme: {
|
|
|
888
896
|
|
|
889
897
|
declare const GlobalStyles: styled_components.GlobalStyleComponent<{}, styled_components.DefaultTheme>;
|
|
890
898
|
|
|
891
|
-
export { Box, BoxProps, Button, ButtonColorTheme, ButtonGroup, ButtonGroupProps, ButtonProps, Card, CardProps, Checkbox, CheckboxProps, ClosableButton, ClosableButtonProps, ClosableItem, ClosableItemProps, Collapsible, CollapsibleCard, CollapsibleCardProps, CollapsibleProps, ColorTheme, ComponentSize, ComponentSizeMediumLarge, ComponentSizeSmallMedium, ComponentSizeSmallMediumLarge, DateInput, DateInputProps, DatePicker, DatePickerProps, DateRangePicker, DateRangePickerProps, DateRangeValue, DateValue, Dropdown, DropdownProps, FileUpload, FileUploadProps, FileWithPreview, Flex, GlobalStyles, Grid, Heading, HeadingProps, HeadingSizes, HorizontalDivider, HorizontalDividerProps, Icon, IconAlignment, IconProps, IconType, Label, LabelProps, Link, LinkButton, LinkButtonProps, LinkProps, Menu, MenuDivider, MenuItem, MenuItemProps, MenuProps, Modal, ModalProps, MultiSlider, MultiSliderProps, MultiSliderValue, Notice, NoticeProps, Paragraph, ParagraphProps, PhoenixIcons, PhoenixIconsColored, PhoenixIconsColoredSrc, PhoenixIconsOutlined, PhoenixIconsOutlinedSrc, PhoenixIconsSrc, Radio, RadioProps, Select, SelectNative, SelectNativeProps, SelectOption, SelectPicker, SelectPickerOption, SelectPickerProps, SelectProps, Slider, SliderProps, SliderValue, Spacer, SpacerProps, Spacing, Spinner, SpinnerProps, Tab, TabFunctionProps, TabList, TabListProps, TabProps, Tag, TagProps, Text, TextArea, TextAreaProps, TextColor, TextInput, TextInputProps, TextProps, prefixedTheme as Theme, TimezonePicker, TimezonePickerProps, Tooltip, TooltipProps, getOptions as getTimezoneOptions };
|
|
899
|
+
export { Box, BoxProps, Button, ButtonColorTheme, ButtonGroup, ButtonGroupProps, ButtonProps, Card, CardProps, Checkbox, CheckboxProps, ClosableButton, ClosableButtonProps, ClosableItem, ClosableItemProps, Collapsible, CollapsibleCard, CollapsibleCardProps, CollapsibleProps, ColorTheme, ComponentSize, ComponentSizeMediumLarge, ComponentSizeSmallMedium, ComponentSizeSmallMediumLarge, DateInput, DateInputProps, DatePicker, DatePickerProps, DateRangePicker, DateRangePickerProps, DateRangeValue, DateValue, Dropdown, DropdownProps, FileUpload, FileUploadProps, FileWithPreview, Flex, GlobalStyles, Grid, Heading, HeadingProps, HeadingSizes, HorizontalDivider, HorizontalDividerProps, Icon, IconAlignment, IconProps, IconType, Label, LabelProps, Link, LinkButton, LinkButtonProps, LinkProps, Menu, MenuDivider, MenuItem, MenuItemProps, MenuProps, Modal, ModalProps, MultiSlider, MultiSliderProps, MultiSliderValue, Notice, NoticeProps, NumberInput, NumberInputProps, Paragraph, ParagraphProps, PhoenixIcons, PhoenixIconsColored, PhoenixIconsColoredSrc, PhoenixIconsOutlined, PhoenixIconsOutlinedSrc, PhoenixIconsSrc, Radio, RadioProps, Select, SelectNative, SelectNativeProps, SelectOption, SelectPicker, SelectPickerOption, SelectPickerProps, SelectProps, Slider, SliderProps, SliderValue, Spacer, SpacerProps, Spacing, Spinner, SpinnerProps, Tab, TabFunctionProps, TabList, TabListProps, TabProps, Tag, TagProps, Text, TextArea, TextAreaProps, TextColor, TextInput, TextInputProps, TextProps, prefixedTheme as Theme, TimezonePicker, TimezonePickerProps, Tooltip, TooltipProps, getOptions as getTimezoneOptions };
|