freemium-ui 2.0.19 → 2.0.21
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/freemium-ui-2.0.20.tgz +0 -0
- package/lib/index.cjs.js +6953 -6856
- package/lib/index.d.ts +19 -11
- package/lib/index.js +8568 -8469
- package/lib/package.json +1 -1
- package/package.json +11 -11
- package/dist/README.md +0 -86
- package/dist/index.cjs.js +0 -16653
- package/dist/index.d.ts +0 -1748
- package/dist/index.js +0 -16478
- package/dist/package.json +0 -74
package/lib/index.d.ts
CHANGED
|
@@ -125,12 +125,17 @@ interface AlertProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
125
125
|
* Alignment of the content in the alert
|
|
126
126
|
*/
|
|
127
127
|
alignContent?: 'flex-start' | 'center' | 'flex-end';
|
|
128
|
+
/**
|
|
129
|
+
* Icon alignment in the alert
|
|
130
|
+
* @default 'center'
|
|
131
|
+
* */
|
|
132
|
+
iconAlignment?: 'flex-start' | 'center' | 'flex-end';
|
|
128
133
|
}
|
|
129
134
|
|
|
130
135
|
/**
|
|
131
136
|
* Alert displays an alert on the user interface and enables displaying additional information to the context of the page.
|
|
132
137
|
*/
|
|
133
|
-
declare const Alert: ({ onClose, children, level, onDisappear, data, icon, overideClassName, timeout, canDismiss, alignContent, ...props }: AlertProps) => react__default.JSX.Element | null;
|
|
138
|
+
declare const Alert: ({ onClose, children, level, onDisappear, data, icon, overideClassName, timeout, canDismiss, alignContent, iconAlignment, ...props }: AlertProps) => react__default.JSX.Element | null;
|
|
134
139
|
|
|
135
140
|
type ButtonSizeKey = 'mini' | 'normal' | 'large';
|
|
136
141
|
type ButtonVariant = 'primary' | 'secondary' | 'danger' | 'link';
|
|
@@ -1222,7 +1227,7 @@ interface TableProps<T extends RowData> {
|
|
|
1222
1227
|
/**
|
|
1223
1228
|
* Table component is used to display data in a tabular format. It is used to show data in a structured manner. It can be used to show data in a grid format.
|
|
1224
1229
|
*/
|
|
1225
|
-
declare const Table: <T extends
|
|
1230
|
+
declare const Table: <T extends unknown>(props: TableProps<T>) => react__default.JSX.Element;
|
|
1226
1231
|
|
|
1227
1232
|
declare const TabsRoot: styled_components.IStyledComponent<"web", styled_components_dist_types.FastOmit<Omit<Tabs$1.TabsProps & react.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
1228
1233
|
ref?: ((instance: HTMLDivElement | null) => void) | react.RefObject<HTMLDivElement> | null | undefined;
|
|
@@ -1465,6 +1470,7 @@ interface FreemiumUiButtonTheme {
|
|
|
1465
1470
|
}
|
|
1466
1471
|
interface FreemiumUiTheme {
|
|
1467
1472
|
mode: 'light' | 'dark';
|
|
1473
|
+
direction: 'ltr' | 'rtl';
|
|
1468
1474
|
breakpoints: Breakpoints;
|
|
1469
1475
|
colors: Colors;
|
|
1470
1476
|
typography: FuiTypography;
|
|
@@ -1707,6 +1713,14 @@ type FreshworksPalette = {
|
|
|
1707
1713
|
common: {
|
|
1708
1714
|
black: string;
|
|
1709
1715
|
white: string;
|
|
1716
|
+
neutral: {
|
|
1717
|
+
light_mild: string;
|
|
1718
|
+
light_normal: string;
|
|
1719
|
+
light_bold: string;
|
|
1720
|
+
dark_mild: string;
|
|
1721
|
+
dark_normal: string;
|
|
1722
|
+
dark_bold: string;
|
|
1723
|
+
};
|
|
1710
1724
|
};
|
|
1711
1725
|
};
|
|
1712
1726
|
type FuiContextType = {
|
|
@@ -1740,14 +1754,8 @@ declare const CardText: styled_components.IStyledComponent<"web", styled_compone
|
|
|
1740
1754
|
declare const TriggerButtonWrapper: styled_components.IStyledComponent<"web", styled_components_dist_types.FastOmit<styled_components_dist_types.FastOmit<styled_components_dist_types.Substitute<react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, Omit<react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
1741
1755
|
ref?: ((instance: HTMLButtonElement | null) => void) | react.RefObject<HTMLButtonElement> | null | undefined;
|
|
1742
1756
|
}>, never>, never>>;
|
|
1743
|
-
declare const
|
|
1744
|
-
declare const
|
|
1745
|
-
declare const contentHide: () => styled_components.RuleSet<object>;
|
|
1746
|
-
declare const contentShow: () => styled_components.RuleSet<object>;
|
|
1747
|
-
declare const slideUpAndFade: () => styled_components.RuleSet<object>;
|
|
1748
|
-
declare const slideRightAndFade: () => styled_components.RuleSet<object>;
|
|
1749
|
-
declare const slideDownAndFade: () => styled_components.RuleSet<object>;
|
|
1750
|
-
declare const slideLeftAndFade: () => styled_components.RuleSet<object>;
|
|
1757
|
+
declare const dialogOverlayMixin: styled_components.RuleSet<object>;
|
|
1758
|
+
declare const dialogContentMixin: styled_components.RuleSet<object>;
|
|
1751
1759
|
|
|
1752
1760
|
declare const _default: react.NamedExoticComponent<styled_components.ExecutionProps & object>;
|
|
1753
1761
|
|
|
@@ -1764,4 +1772,4 @@ declare namespace index_d {
|
|
|
1764
1772
|
export { index_d_Z_INDEX as Z_INDEX, index_d_dark as dark, index_d_hextoRGB as hextoRGB, index_d_light as light };
|
|
1765
1773
|
}
|
|
1766
1774
|
|
|
1767
|
-
export { Accordion, type AccordionItemProps, type AccordionProps, Alert, type AlertProps, BoxedRadio, type BoxedRadioItemProps, type BoxedRadioProps, Button, ButtonDropdown, type ButtonDropdownItemProps, type ButtonDropdownProps, type ButtonProps, type ButtonSizeKey, type ButtonVariant, CardActions, CardContent, CardDescription, CardText, CardTitle, Checkbox, type CheckboxProps, Checkmark, ChevronUp, Confirmation, type ConfirmationProps, Cross as CrossIcon, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, DateTimePicker, type DateTimePickerProps, DateTimeRangePicker, type DateTimeRangePickerProps, type DefaultDropdownItem, type DefaultMultiSelectDropdownItem, type DefaultProps, Drawer, type DrawerPlacement, type DrawerProps, type DrawerSizeType, Dropdown, type DropdownButtonProps, ListItem as DropdownInputItem, type DropdownInputItemProps, type DropdownInputProps, Item as DropdownItem, type DropdownItemProps, DropdownMenuItem, type DropdownProps, type DropdownTypes, ErrorIcon, _default as FreemiumUIGlobalStyles, type FreemiumUiTheme, FreshLink, type FreshworksPalette, type FuiContextType, IconButton, InfoIcon, Input, InputLabel, type InputProps, type LevelType, Loader, type LoaderPropTypes, type LoaderSizes, type LoaderSpeeds, Menu, type MenuItemProps, type MenuProps, Minus, Modal, type ModalAlignType, type ModalCssType, type ModalPositionType, type ModalProps, type ModalSizeType, MoreVertical, MultiSelectDropdown, type MultiSelectDropdownProps, type Origin, Popover, PopoverClose, type PopoverProps, PopoverTrigger, Radio, RadioGroup, type RadioGroupProps, type RadioItemProps, type RadioProps, Reorder, type ReorderItemType, type ReorderProps, RequiredIndicator, type RowData, StyledLabel, type StyledListItemType, Table, type TableProps, Tabs, TabsContent, type TabsItemProps, TabsList, type TabsProps, TabsRoot, TabsTrigger, Tag, type TagProps, TextArea, type TextAreaProps, ThemeProvider, type ThemeProviderType, index_d as Themes, TickIcon, TimePicker, type TimePickerProps, type ToastContextType, type ToastItemProps, ToastProvider, type ToastType, type ToastTypes, type ToastWithID, Toggle, type ToggleProps, type ToggleSizes, Tooltip, type TooltipAlign, type TooltipPosition, type TooltipProps, type TooltipSide, TriggerButtonWrapper, Typography, type TypographyProps, type TypographyVariantType, type TypographyWeightType, type UpdateToastsFunction, Warning,
|
|
1775
|
+
export { Accordion, type AccordionItemProps, type AccordionProps, Alert, type AlertProps, BoxedRadio, type BoxedRadioItemProps, type BoxedRadioProps, Button, ButtonDropdown, type ButtonDropdownItemProps, type ButtonDropdownProps, type ButtonProps, type ButtonSizeKey, type ButtonVariant, CardActions, CardContent, CardDescription, CardText, CardTitle, Checkbox, type CheckboxProps, Checkmark, ChevronUp, Confirmation, type ConfirmationProps, Cross as CrossIcon, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, DateTimePicker, type DateTimePickerProps, DateTimeRangePicker, type DateTimeRangePickerProps, type DefaultDropdownItem, type DefaultMultiSelectDropdownItem, type DefaultProps, Drawer, type DrawerPlacement, type DrawerProps, type DrawerSizeType, Dropdown, type DropdownButtonProps, ListItem as DropdownInputItem, type DropdownInputItemProps, type DropdownInputProps, Item as DropdownItem, type DropdownItemProps, DropdownMenuItem, type DropdownProps, type DropdownTypes, ErrorIcon, _default as FreemiumUIGlobalStyles, type FreemiumUiTheme, FreshLink, type FreshworksPalette, type FuiContextType, IconButton, InfoIcon, Input, InputLabel, type InputProps, type LevelType, Loader, type LoaderPropTypes, type LoaderSizes, type LoaderSpeeds, Menu, type MenuItemProps, type MenuProps, Minus, Modal, type ModalAlignType, type ModalCssType, type ModalPositionType, type ModalProps, type ModalSizeType, MoreVertical, MultiSelectDropdown, type MultiSelectDropdownProps, type Origin, Popover, PopoverClose, type PopoverProps, PopoverTrigger, Radio, RadioGroup, type RadioGroupProps, type RadioItemProps, type RadioProps, Reorder, type ReorderItemType, type ReorderProps, RequiredIndicator, type RowData, StyledLabel, type StyledListItemType, Table, type TableProps, Tabs, TabsContent, type TabsItemProps, TabsList, type TabsProps, TabsRoot, TabsTrigger, Tag, type TagProps, TextArea, type TextAreaProps, ThemeProvider, type ThemeProviderType, index_d as Themes, TickIcon, TimePicker, type TimePickerProps, type ToastContextType, type ToastItemProps, ToastProvider, type ToastType, type ToastTypes, type ToastWithID, Toggle, type ToggleProps, type ToggleSizes, Tooltip, type TooltipAlign, type TooltipPosition, type TooltipProps, type TooltipSide, TriggerButtonWrapper, Typography, type TypographyProps, type TypographyVariantType, type TypographyWeightType, type UpdateToastsFunction, Warning, dialogContentMixin, dialogOverlayMixin, useToasts };
|