@purple/phoenix-components 5.12.0 → 5.13.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/dist/bundle.cjs.js +1 -1
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +1 -15
- 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 +28 -1
- package/package.json +7 -4
package/dist/index.d.ts
CHANGED
|
@@ -644,6 +644,33 @@ interface ParagraphProps extends CommonTextProps<HTMLParagraphElement>, PaddingP
|
|
|
644
644
|
}
|
|
645
645
|
declare const Paragraph: React$1.FC<ParagraphProps>;
|
|
646
646
|
|
|
647
|
+
declare enum PasswordStrengthEnum {
|
|
648
|
+
NONE = "none",
|
|
649
|
+
WEAK = "weak",
|
|
650
|
+
FAIR = "fair",
|
|
651
|
+
GOOD = "good",
|
|
652
|
+
EXCELLENT = "excellent"
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
interface PasswordStrengthProps extends GenericComponentProps, MarginProps, PaddingProps {
|
|
656
|
+
password?: string;
|
|
657
|
+
labelText?: string;
|
|
658
|
+
strengthText?: {
|
|
659
|
+
[PasswordStrengthEnum.NONE]?: string;
|
|
660
|
+
[PasswordStrengthEnum.WEAK]?: string;
|
|
661
|
+
[PasswordStrengthEnum.FAIR]?: string;
|
|
662
|
+
[PasswordStrengthEnum.GOOD]?: string;
|
|
663
|
+
[PasswordStrengthEnum.EXCELLENT]?: string;
|
|
664
|
+
};
|
|
665
|
+
}
|
|
666
|
+
declare const PasswordStrength: React$1.FC<PasswordStrengthProps>;
|
|
667
|
+
|
|
668
|
+
interface ProgressBarProps extends MarginProps, GenericComponentProps {
|
|
669
|
+
value?: number;
|
|
670
|
+
color?: ColorTheme | CSSColor;
|
|
671
|
+
}
|
|
672
|
+
declare const ProgressBar: React$1.FC<ProgressBarProps>;
|
|
673
|
+
|
|
647
674
|
declare type RadioProps = CheckboxRadioCommonProps;
|
|
648
675
|
declare const Radio: React$1.VoidFunctionComponent<RadioProps>;
|
|
649
676
|
|
|
@@ -1858,4 +1885,4 @@ interface BoxShadowObj {
|
|
|
1858
1885
|
}
|
|
1859
1886
|
declare const getBoxShadow: (shadow: BoxShadowObj | BoxShadowObj[]) => string;
|
|
1860
1887
|
|
|
1861
|
-
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, FileUploadProps, FileWithPreview, Flex, GlobalStyles, Grid, Heading, HeadingElement, HeadingProps, HorizontalDivider, HorizontalDividerProps, Icon, IconAlignment, IconProps, IconType, Image, 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, Toggle, Tooltip, TooltipProps, getBoxShadow, getLineHeightUnitless, getSpacingCssValue, getTextColor, getOptions as getTimezoneOptions, getUnitlessNumber, isColorTheme, isSizing, isSpacing, isTextColor };
|
|
1888
|
+
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, FileUploadProps, FileWithPreview, Flex, GlobalStyles, Grid, Heading, HeadingElement, HeadingProps, HorizontalDivider, HorizontalDividerProps, Icon, IconAlignment, IconProps, IconType, Image, ImageProps, 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, PasswordStrength, PasswordStrengthProps, PhoenixIcons, PhoenixIconsColored, PhoenixIconsColoredSrc, PhoenixIconsOutlined, PhoenixIconsOutlinedSrc, PhoenixIconsSrc, ProgressBar, ProgressBarProps, 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, Toggle, ToggleProps, Tooltip, TooltipProps, getBoxShadow, getLineHeightUnitless, getSpacingCssValue, getTextColor, getOptions as getTimezoneOptions, getUnitlessNumber, isColorTheme, isSizing, isSpacing, isTextColor };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@purple/phoenix-components",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.13.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/bundle.umd.js",
|
|
6
6
|
"module": "dist/bundle.esm.js",
|
|
@@ -47,7 +47,8 @@
|
|
|
47
47
|
"react-pdf": "~5.7.2",
|
|
48
48
|
"react-select": "^5.7.0",
|
|
49
49
|
"react-tabs": "^4.2.1",
|
|
50
|
-
"styled-system": "~5.1.5"
|
|
50
|
+
"styled-system": "~5.1.5",
|
|
51
|
+
"zxcvbn": "~4.4.2"
|
|
51
52
|
},
|
|
52
53
|
"peerDependencies": {
|
|
53
54
|
"react": ">=16.3",
|
|
@@ -83,7 +84,8 @@
|
|
|
83
84
|
"@storybook/react": "^7.0.21",
|
|
84
85
|
"@storybook/react-webpack5": "^7.0.21",
|
|
85
86
|
"@storybook/storybook-deployer": "^2.8.16",
|
|
86
|
-
"@testing-library/
|
|
87
|
+
"@testing-library/dom": "^9.3.1",
|
|
88
|
+
"@testing-library/jest-dom": "^6.1.3",
|
|
87
89
|
"@testing-library/react": "^14.0.0",
|
|
88
90
|
"@types/countries-and-timezones": "^3.2.3",
|
|
89
91
|
"@types/jest": "^27.0.2",
|
|
@@ -95,6 +97,7 @@
|
|
|
95
97
|
"@types/react-tabs": "^2.3.4",
|
|
96
98
|
"@types/styled-components": "^5.1.26",
|
|
97
99
|
"@types/styled-system": "^5.1.13",
|
|
100
|
+
"@types/zxcvbn": "^4.4.2",
|
|
98
101
|
"@typescript-eslint/eslint-plugin": "^4.8.2",
|
|
99
102
|
"@typescript-eslint/parser": "^4.8.2",
|
|
100
103
|
"babel-loader": "^8.2.5",
|
|
@@ -129,7 +132,7 @@
|
|
|
129
132
|
"styled-components": "^5.3.5",
|
|
130
133
|
"tippy.js": "^6.3.7",
|
|
131
134
|
"ts-node": "^10.9.1",
|
|
132
|
-
"tslib": "^2.2
|
|
135
|
+
"tslib": "^2.6.2",
|
|
133
136
|
"typescript": "^4.8.3"
|
|
134
137
|
},
|
|
135
138
|
"scripts": {
|