@purple/phoenix-components
Advanced tools
Comparing version 5.0.0 to 5.1.0
@@ -5,2 +5,10 @@ # Changelog | ||
## [5.1.0](https://github.com/purple-technology/phoenix-components/compare/v5.0.0...v5.1.0) (2023-03-09) | ||
### Features | ||
* **FileUpload:** custom password protected PDF modal ([dae0b51](https://github.com/purple-technology/phoenix-components/commit/dae0b516e536ec35cb3b858995ab47a865ec8368)) | ||
* **FileUpload:** usePasswordQueue hook ([b63528f](https://github.com/purple-technology/phoenix-components/commit/b63528ff265390e695c06cd590cbf38e3644a414)) | ||
## [5.0.0](https://github.com/purple-technology/phoenix-components/compare/v5.0.0-beta.4...v5.0.0) (2023-03-09) | ||
@@ -7,0 +15,0 @@ |
@@ -468,6 +468,13 @@ import React$1, { HTMLAttributes, PropsWithChildren, ReactElement, InputHTMLAttributes, FocusEventHandler, JSXElementConstructor, MouseEventHandler, TextareaHTMLAttributes } from 'react'; | ||
onPassword?(filename: string, password: string): void; | ||
} | ||
interface PasswordModalCommonProps { | ||
passwordPromptText?: string; | ||
passwordIncorrectText?: string; | ||
passwordConfirmButtonText?: string; | ||
passwordCancelButtonText?: string; | ||
passwordPlaceholderText?: string; | ||
} | ||
interface FileUploadProps extends GenericComponentProps, FilePreviewCommonProps { | ||
interface FileUploadProps extends GenericComponentProps, FilePreviewCommonProps, PasswordModalCommonProps { | ||
files: FileWithPreview[]; | ||
@@ -490,2 +497,3 @@ label?: string; | ||
} | ||
declare const FileUpload: React$1.FC<FileUploadProps>; | ||
@@ -1794,2 +1802,2 @@ | ||
export { Box, BoxProps, Button, ButtonGroup, ButtonGroupProps, ButtonProps, Card, CardProps, Checkbox, CheckboxProps, ClosableButton, ClosableButtonProps, ClosableItem, ClosableItemProps, Collapsible, CollapsibleCard, CollapsibleCardProps, CollapsibleProps, Color, ColorAndTheme, ColorTheme, DateInput, DateInputProps, DatePicker, DatePickerProps, DateRangePicker, DateRangePickerProps, DateRangeValue, DateValue, Dropdown, DropdownProps, FilePreviewCommonProps, FileUpload, FileUploadProps, FileWithPreview, Flex, GlobalStyles, Grid, Heading, HeadingElement, HeadingProps, HorizontalDivider, HorizontalDividerProps, Icon, IconAlignment, IconProps, IconType, Label, LabelProps, Link, LinkButton, LinkButtonProps, LinkProps, List, ListItem, ListItemProps, ListProps, Menu, MenuItem, MenuItemProps, MenuProps, Modal, ModalProps, MultiSelect, MultiSelectProps, 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, Sizing, SizingMdLg, SizingSmMd, SizingSmMdLg, Slider, SliderProps, SliderValue, Spacing, Spinner, SpinnerProps, Tab, TabFunctionProps, TabList, TabListProps, TabProps, Tag, TagProps, Text, TextArea, TextAreaProps, TextColor, TextInput, TextInputProps, TextProps, prefixedTheme as Theme, TimezonePicker, TimezonePickerProps, Tooltip, TooltipProps, getBoxShadow, getLineHeightUnitless, getSpacingCssValue, getTextColor, getOptions as getTimezoneOptions, getUnitlessNumber, isColorTheme, isSizing, isSpacing, isTextColor }; | ||
export { Box, BoxProps, Button, ButtonGroup, ButtonGroupProps, ButtonProps, Card, CardProps, Checkbox, CheckboxProps, ClosableButton, ClosableButtonProps, ClosableItem, ClosableItemProps, Collapsible, CollapsibleCard, CollapsibleCardProps, CollapsibleProps, Color, ColorAndTheme, ColorTheme, DateInput, DateInputProps, DatePicker, DatePickerProps, DateRangePicker, DateRangePickerProps, DateRangeValue, DateValue, Dropdown, DropdownProps, FileUpload, Flex, GlobalStyles, Grid, Heading, HeadingElement, HeadingProps, HorizontalDivider, HorizontalDividerProps, Icon, IconAlignment, IconProps, IconType, Label, LabelProps, Link, LinkButton, LinkButtonProps, LinkProps, List, ListItem, ListItemProps, ListProps, Menu, MenuItem, MenuItemProps, MenuProps, Modal, ModalProps, MultiSelect, MultiSelectProps, 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, Sizing, SizingMdLg, SizingSmMd, SizingSmMdLg, Slider, SliderProps, SliderValue, Spacing, Spinner, SpinnerProps, Tab, TabFunctionProps, TabList, TabListProps, TabProps, Tag, TagProps, Text, TextArea, TextAreaProps, TextColor, TextInput, TextInputProps, TextProps, prefixedTheme as Theme, TimezonePicker, TimezonePickerProps, Tooltip, TooltipProps, getBoxShadow, getLineHeightUnitless, getSpacingCssValue, getTextColor, getOptions as getTimezoneOptions, getUnitlessNumber, isColorTheme, isSizing, isSpacing, isTextColor }; |
{ | ||
"name": "@purple/phoenix-components", | ||
"version": "5.0.0", | ||
"version": "5.1.0", | ||
"description": "", | ||
@@ -43,3 +43,3 @@ "main": "dist/bundle.umd.js", | ||
"release:publish": "npm run build && npm publish --access public && npm run deploy-storybook", | ||
"deploy-storybook": "npm run storybook:build && cp -r .circleci storybook-static && storybook-to-ghpages -e=storybook-static", | ||
"deploy-storybook": "npm run storybook:build && cp -r .circleci storybook-static && cp -r storybook-build-v4 storybook-static/v4 && storybook-to-ghpages -e=storybook-static", | ||
"snapshot": "build-storybook -c .storybook && percy storybook ./storybook-static", | ||
@@ -46,0 +46,0 @@ "percy": "if [[ $(git rev-parse --symbolic-full-name --abbrev-ref HEAD) != \"master\" ]]; then percy storybook ./storybook-static; else echo \"ERROR: percy should not be run on master because these snapshots are auto-approved\"; fi;", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
2493329
6717