@purple/phoenix-components 5.13.1 → 5.14.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/dist/index.d.ts CHANGED
@@ -7,7 +7,8 @@ import { Props } from 'react-select';
7
7
  import { DayPickerSingleProps, DayPickerProps, DayPickerRangeProps } from 'react-day-picker';
8
8
  import { TippyProps } from '@tippyjs/react';
9
9
  import { Accept } from 'react-dropzone';
10
- export { TabPanel, Tabs } from 'react-tabs';
10
+ import { TabsProps as TabsProps$1 } from 'react-tabs';
11
+ export { TabPanel } from 'react-tabs';
11
12
 
12
13
  declare type GenericComponentProps = {
13
14
  testId?: string;
@@ -89,6 +90,7 @@ declare type IconAlignment = typeof IconAlignment[number];
89
90
 
90
91
  declare const PhoenixIconsOutlinedSrc: {
91
92
  readonly actions: string;
93
+ readonly add: string;
92
94
  readonly 'add-circle': string;
93
95
  readonly android: string;
94
96
  readonly 'angled-arrow-left': string;
@@ -97,14 +99,17 @@ declare const PhoenixIconsOutlinedSrc: {
97
99
  readonly 'arrow-down': string;
98
100
  readonly 'arrow-left': string;
99
101
  readonly 'arrow-right': string;
102
+ readonly 'arrow-switch': string;
100
103
  readonly 'arrow-up': string;
101
104
  readonly asterisk: string;
102
105
  readonly bell: string;
103
106
  readonly browser: string;
104
107
  readonly 'bullet-point': string;
105
108
  readonly burger: string;
109
+ readonly calculator: string;
106
110
  readonly calendar: string;
107
111
  readonly camera: string;
112
+ readonly 'chart-bar-increase': string;
108
113
  readonly chat: string;
109
114
  readonly check: string;
110
115
  readonly 'check-circle': string;
@@ -128,6 +133,7 @@ declare const PhoenixIconsOutlinedSrc: {
128
133
  readonly exit: string;
129
134
  readonly external: string;
130
135
  readonly eye: string;
136
+ readonly 'eye-hidden': string;
131
137
  readonly filter: string;
132
138
  readonly 'forward-arrow': string;
133
139
  readonly gift: string;
@@ -142,6 +148,7 @@ declare const PhoenixIconsOutlinedSrc: {
142
148
  readonly lock: string;
143
149
  readonly paper: string;
144
150
  readonly passport: string;
151
+ readonly pencil: string;
145
152
  readonly 'photo-user': string;
146
153
  readonly pin: string;
147
154
  readonly 'play-circle': string;
@@ -152,8 +159,11 @@ declare const PhoenixIconsOutlinedSrc: {
152
159
  readonly revert: string;
153
160
  readonly scales: string;
154
161
  readonly search: string;
155
- readonly star: string;
162
+ readonly 'search-plus': string;
163
+ readonly 'share-social': string;
164
+ readonly sliders: string;
156
165
  readonly smartphone: string;
166
+ readonly star: string;
157
167
  readonly 'star-circle': string;
158
168
  readonly stopwatch: string;
159
169
  readonly 'subtract-circle': string;
@@ -211,6 +221,7 @@ declare const PhoenixIconsSrc: {
211
221
  readonly 'star-warning': string;
212
222
  readonly 'trash-error': string;
213
223
  readonly actions: string;
224
+ readonly add: string;
214
225
  readonly 'add-circle': string;
215
226
  readonly android: string;
216
227
  readonly 'angled-arrow-left': string;
@@ -219,14 +230,17 @@ declare const PhoenixIconsSrc: {
219
230
  readonly 'arrow-down': string;
220
231
  readonly 'arrow-left': string;
221
232
  readonly 'arrow-right': string;
233
+ readonly 'arrow-switch': string;
222
234
  readonly 'arrow-up': string;
223
235
  readonly asterisk: string;
224
236
  readonly bell: string;
225
237
  readonly browser: string;
226
238
  readonly 'bullet-point': string;
227
239
  readonly burger: string;
240
+ readonly calculator: string;
228
241
  readonly calendar: string;
229
242
  readonly camera: string;
243
+ readonly 'chart-bar-increase': string;
230
244
  readonly chat: string;
231
245
  readonly check: string;
232
246
  readonly 'check-circle': string;
@@ -250,6 +264,7 @@ declare const PhoenixIconsSrc: {
250
264
  readonly exit: string;
251
265
  readonly external: string;
252
266
  readonly eye: string;
267
+ readonly 'eye-hidden': string;
253
268
  readonly filter: string;
254
269
  readonly 'forward-arrow': string;
255
270
  readonly gift: string;
@@ -264,6 +279,7 @@ declare const PhoenixIconsSrc: {
264
279
  readonly lock: string;
265
280
  readonly paper: string;
266
281
  readonly passport: string;
282
+ readonly pencil: string;
267
283
  readonly 'photo-user': string;
268
284
  readonly pin: string;
269
285
  readonly 'play-circle': string;
@@ -274,8 +290,11 @@ declare const PhoenixIconsSrc: {
274
290
  readonly revert: string;
275
291
  readonly scales: string;
276
292
  readonly search: string;
277
- readonly star: string;
293
+ readonly 'search-plus': string;
294
+ readonly 'share-social': string;
295
+ readonly sliders: string;
278
296
  readonly smartphone: string;
297
+ readonly star: string;
279
298
  readonly 'star-circle': string;
280
299
  readonly stopwatch: string;
281
300
  readonly 'subtract-circle': string;
@@ -287,11 +306,11 @@ declare const PhoenixIconsSrc: {
287
306
  readonly withdrawal: string;
288
307
  readonly wrench: string;
289
308
  };
290
- declare const PhoenixIconsOutlined: ("filter" | "revert" | "document" | "list" | "search" | "email" | "download" | "actions" | "add-circle" | "android" | "angled-arrow-left" | "angled-arrow-right" | "apple" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-up" | "asterisk" | "bell" | "browser" | "bullet-point" | "burger" | "calendar" | "camera" | "chat" | "check" | "check-circle" | "clock" | "cog" | "copy" | "cross" | "deposit" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "dots-handle-reorder" | "driving-licence" | "edit" | "ellipsis" | "exclamation" | "exit" | "external" | "eye" | "forward-arrow" | "gift" | "history" | "house" | "id-card" | "info-circle" | "language" | "later" | "lightning" | "lock" | "paper" | "passport" | "photo-user" | "pin" | "play-circle" | "profile" | "question-circle" | "refresh" | "refund" | "scales" | "star" | "smartphone" | "star-circle" | "stopwatch" | "subtract-circle" | "times-circle" | "transfer" | "trash" | "upload" | "windows" | "withdrawal" | "wrench")[];
309
+ declare const PhoenixIconsOutlined: ("filter" | "revert" | "document" | "list" | "search" | "email" | "download" | "actions" | "add" | "add-circle" | "android" | "angled-arrow-left" | "angled-arrow-right" | "apple" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-switch" | "arrow-up" | "asterisk" | "bell" | "browser" | "bullet-point" | "burger" | "calculator" | "calendar" | "camera" | "chart-bar-increase" | "chat" | "check" | "check-circle" | "clock" | "cog" | "copy" | "cross" | "deposit" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "dots-handle-reorder" | "driving-licence" | "edit" | "ellipsis" | "exclamation" | "exit" | "external" | "eye" | "eye-hidden" | "forward-arrow" | "gift" | "history" | "house" | "id-card" | "info-circle" | "language" | "later" | "lightning" | "lock" | "paper" | "passport" | "pencil" | "photo-user" | "pin" | "play-circle" | "profile" | "question-circle" | "refresh" | "refund" | "scales" | "search-plus" | "share-social" | "sliders" | "smartphone" | "star" | "star-circle" | "stopwatch" | "subtract-circle" | "times-circle" | "transfer" | "trash" | "upload" | "windows" | "withdrawal" | "wrench")[];
291
310
  declare type PhoenixIconsOutlined = keyof typeof PhoenixIconsOutlinedSrc;
292
311
  declare const PhoenixIconsColored: ("browser-brand" | "calendar-brand" | "camera-brand" | "driving-licence-brand" | "email-brand" | "exclamation-error" | "exclamation-warning" | "house-brand" | "id-card-brand" | "language-brand" | "lock-brand" | "lock-success" | "paper-brand" | "passport-brand" | "photo-user-brand" | "pin-brand" | "question-circle-brand" | "smartphone-brand" | "star-brand" | "star-warning" | "trash-error")[];
293
312
  declare type PhoenixIconsColored = keyof typeof PhoenixIconsColoredSrc;
294
- declare const PhoenixIcons: ("filter" | "revert" | "document" | "list" | "search" | "email" | "download" | "actions" | "add-circle" | "android" | "angled-arrow-left" | "angled-arrow-right" | "apple" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-up" | "asterisk" | "bell" | "browser" | "bullet-point" | "burger" | "calendar" | "camera" | "chat" | "check" | "check-circle" | "clock" | "cog" | "copy" | "cross" | "deposit" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "dots-handle-reorder" | "driving-licence" | "edit" | "ellipsis" | "exclamation" | "exit" | "external" | "eye" | "forward-arrow" | "gift" | "history" | "house" | "id-card" | "info-circle" | "language" | "later" | "lightning" | "lock" | "paper" | "passport" | "photo-user" | "pin" | "play-circle" | "profile" | "question-circle" | "refresh" | "refund" | "scales" | "star" | "smartphone" | "star-circle" | "stopwatch" | "subtract-circle" | "times-circle" | "transfer" | "trash" | "upload" | "windows" | "withdrawal" | "wrench" | "browser-brand" | "calendar-brand" | "camera-brand" | "driving-licence-brand" | "email-brand" | "exclamation-error" | "exclamation-warning" | "house-brand" | "id-card-brand" | "language-brand" | "lock-brand" | "lock-success" | "paper-brand" | "passport-brand" | "photo-user-brand" | "pin-brand" | "question-circle-brand" | "smartphone-brand" | "star-brand" | "star-warning" | "trash-error")[];
313
+ declare const PhoenixIcons: ("filter" | "revert" | "document" | "list" | "search" | "email" | "download" | "actions" | "add" | "add-circle" | "android" | "angled-arrow-left" | "angled-arrow-right" | "apple" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-switch" | "arrow-up" | "asterisk" | "bell" | "browser" | "bullet-point" | "burger" | "calculator" | "calendar" | "camera" | "chart-bar-increase" | "chat" | "check" | "check-circle" | "clock" | "cog" | "copy" | "cross" | "deposit" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "dots-handle-reorder" | "driving-licence" | "edit" | "ellipsis" | "exclamation" | "exit" | "external" | "eye" | "eye-hidden" | "forward-arrow" | "gift" | "history" | "house" | "id-card" | "info-circle" | "language" | "later" | "lightning" | "lock" | "paper" | "passport" | "pencil" | "photo-user" | "pin" | "play-circle" | "profile" | "question-circle" | "refresh" | "refund" | "scales" | "search-plus" | "share-social" | "sliders" | "smartphone" | "star" | "star-circle" | "stopwatch" | "subtract-circle" | "times-circle" | "transfer" | "trash" | "upload" | "windows" | "withdrawal" | "wrench" | "browser-brand" | "calendar-brand" | "camera-brand" | "driving-licence-brand" | "email-brand" | "exclamation-error" | "exclamation-warning" | "house-brand" | "id-card-brand" | "language-brand" | "lock-brand" | "lock-success" | "paper-brand" | "passport-brand" | "photo-user-brand" | "pin-brand" | "question-circle-brand" | "smartphone-brand" | "star-brand" | "star-warning" | "trash-error")[];
295
314
  declare type PhoenixIcons = keyof typeof PhoenixIconsSrc;
296
315
 
297
316
  declare type IconType = PhoenixIconsOutlined | React.ReactElement | string;
@@ -644,6 +663,13 @@ interface ParagraphProps extends CommonTextProps<HTMLParagraphElement>, PaddingP
644
663
  }
645
664
  declare const Paragraph: React$1.FC<ParagraphProps>;
646
665
 
666
+ interface TextInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size'>, FormControlProps {
667
+ }
668
+ declare const TextInput: React$1.ForwardRefExoticComponent<React$1.PropsWithoutRef<TextInputProps> & React$1.RefAttributes<HTMLInputElement>>;
669
+
670
+ declare type PasswordInputProps = Omit<TextInputProps, 'type' | 'contentRight'>;
671
+ declare const PasswordInput: React$1.ForwardRefExoticComponent<React$1.PropsWithoutRef<PasswordInputProps> & React$1.RefAttributes<HTMLInputElement>>;
672
+
647
673
  declare enum PasswordStrengthEnum {
648
674
  NONE = "none",
649
675
  WEAK = "weak",
@@ -722,6 +748,9 @@ interface SpinnerProps extends MarginProps, GenericComponentProps {
722
748
  }
723
749
  declare const Spinner: React$1.FC<SpinnerProps>;
724
750
 
751
+ declare type TabsProps = TabsProps$1 & GenericComponentProps;
752
+ declare const Tabs: React$1.FC<TabsProps>;
753
+
725
754
  interface TabListCommonProps {
726
755
  animate?: boolean;
727
756
  size?: Sizing;
@@ -766,10 +795,6 @@ interface TextAreaProps extends TextareaHTMLAttributes<HTMLTextAreaElement>, For
766
795
  }
767
796
  declare const TextArea: React$1.FC<TextAreaProps>;
768
797
 
769
- interface TextInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size'>, FormControlProps {
770
- }
771
- declare const TextInput: React$1.ForwardRefExoticComponent<React$1.PropsWithoutRef<TextInputProps> & React$1.RefAttributes<HTMLInputElement>>;
772
-
773
798
  declare type TimezonePickerProps = Omit<SelectProps, 'options'> & GenericComponentProps;
774
799
  declare const TimezonePicker: React$1.FC<TimezonePickerProps>;
775
800
 
@@ -1885,4 +1910,4 @@ interface BoxShadowObj {
1885
1910
  }
1886
1911
  declare const getBoxShadow: (shadow: BoxShadowObj | BoxShadowObj[]) => string;
1887
1912
 
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 };
1913
+ 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, PasswordInput, 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, Tabs, TabsProps, 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.13.1",
3
+ "version": "5.14.0",
4
4
  "description": "",
5
5
  "main": "dist/bundle.umd.js",
6
6
  "module": "dist/bundle.esm.js",