@purple/phoenix-components 4.33.0 → 4.35.0
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 +14 -0
- package/dist/bundle.cjs.js +1 -1
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +2 -2
- 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 +23 -7
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -454,9 +454,14 @@ declare const Dropdown: React__default.FC<DropdownProps>;
|
|
|
454
454
|
interface FileWithPreview extends File {
|
|
455
455
|
preview: string;
|
|
456
456
|
}
|
|
457
|
-
interface
|
|
458
|
-
files: FileWithPreview[];
|
|
457
|
+
interface FilePreviewCommonProps {
|
|
459
458
|
setFiles: (files: FileWithPreview[]) => void;
|
|
459
|
+
onPassword?(password: string): void;
|
|
460
|
+
passwordPromptText?: string;
|
|
461
|
+
passwordIncorrectText?: string;
|
|
462
|
+
}
|
|
463
|
+
interface FileUploadProps extends GenericComponentProps, FilePreviewCommonProps {
|
|
464
|
+
files: FileWithPreview[];
|
|
460
465
|
label?: string;
|
|
461
466
|
labelTouchDevice?: string;
|
|
462
467
|
dragInstructions?: string;
|
|
@@ -657,10 +662,16 @@ interface SpinnerProps extends MarginProps, GenericComponentProps {
|
|
|
657
662
|
}
|
|
658
663
|
declare const Spinner: React__default.FC<SpinnerProps>;
|
|
659
664
|
|
|
660
|
-
interface
|
|
665
|
+
interface TabListCommonProps {
|
|
661
666
|
animate?: boolean;
|
|
667
|
+
size?: ComponentSizeSmallMediumLarge;
|
|
668
|
+
}
|
|
669
|
+
interface TabCommonProps extends TabListCommonProps {
|
|
662
670
|
selected?: boolean;
|
|
663
671
|
disabled?: boolean;
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
interface TabProps extends Omit<React__default.AnchorHTMLAttributes<HTMLAnchorElement>, 'tabIndex'>, GenericComponentProps, TabCommonProps {
|
|
664
675
|
disabledClassName?: string;
|
|
665
676
|
selectedClassName?: string;
|
|
666
677
|
tabIndex?: string;
|
|
@@ -671,9 +682,7 @@ declare type TabFunctionProps = React__default.ForwardRefExoticComponent<TabProp
|
|
|
671
682
|
} & React__default.RefAttributes<HTMLAnchorElement>;
|
|
672
683
|
declare const Tab: TabFunctionProps;
|
|
673
684
|
|
|
674
|
-
|
|
675
|
-
animate?: boolean;
|
|
676
|
-
}
|
|
685
|
+
declare type TabListProps = GenericComponentProps & TabListCommonProps;
|
|
677
686
|
declare const TabList: React__default.FC<TabListProps> & {
|
|
678
687
|
tabsRole: 'TabList';
|
|
679
688
|
};
|
|
@@ -945,6 +954,13 @@ declare const prefixedTheme: {
|
|
|
945
954
|
large: number;
|
|
946
955
|
};
|
|
947
956
|
};
|
|
957
|
+
tabs: {
|
|
958
|
+
size: {
|
|
959
|
+
small: number;
|
|
960
|
+
medium: number;
|
|
961
|
+
large: number;
|
|
962
|
+
};
|
|
963
|
+
};
|
|
948
964
|
tag: {
|
|
949
965
|
padding: {
|
|
950
966
|
small: string;
|
|
@@ -967,4 +983,4 @@ declare const prefixedTheme: {
|
|
|
967
983
|
|
|
968
984
|
declare const GlobalStyles: styled_components.GlobalStyleComponent<{}, styled_components.DefaultTheme>;
|
|
969
985
|
|
|
970
|
-
export { Box, BoxProps, Button, 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, List, ListItem, ListItemProps, ListProps, 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 };
|
|
986
|
+
export { Box, BoxProps, Button, 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, FilePreviewCommonProps, FileUpload, FileUploadProps, FileWithPreview, Flex, GlobalStyles, Grid, Heading, HeadingProps, HeadingSizes, HorizontalDivider, HorizontalDividerProps, Icon, IconAlignment, IconProps, IconType, Label, LabelProps, Link, LinkButton, LinkButtonProps, LinkProps, List, ListItem, ListItemProps, ListProps, 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 };
|