freemium-ui 2.0.0-beta.42 → 2.0.0-beta.44
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/index.cjs.js +4308 -4302
- package/index.d.ts +15 -14
- package/index.js +4244 -4238
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -100,7 +100,7 @@ interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
|
100
100
|
/**
|
|
101
101
|
* Button displays a button on the user interface and enables performing specific actions based on the button type. The button’s label can be a text, icon, or both.
|
|
102
102
|
*/
|
|
103
|
-
declare const Button:
|
|
103
|
+
declare const Button: react__default.ForwardRefExoticComponent<ButtonProps & react__default.RefAttributes<HTMLButtonElement>>;
|
|
104
104
|
|
|
105
105
|
interface ButtonDropdownItemProps {
|
|
106
106
|
id: string;
|
|
@@ -353,8 +353,8 @@ type DefaultDropdownItem = {
|
|
|
353
353
|
};
|
|
354
354
|
type StyledListItemType = {
|
|
355
355
|
readOnly?: boolean;
|
|
356
|
-
isSelected?: boolean;
|
|
357
|
-
isHilighted?: boolean;
|
|
356
|
+
$isSelected?: boolean;
|
|
357
|
+
$isHilighted?: boolean;
|
|
358
358
|
};
|
|
359
359
|
type DropdownInputItemProps = React.LiHTMLAttributes<HTMLLIElement> & StyledListItemType & {
|
|
360
360
|
key: string;
|
|
@@ -491,17 +491,17 @@ declare const Item: react__default.ForwardRefExoticComponent<Select.SelectItemPr
|
|
|
491
491
|
showTick: boolean;
|
|
492
492
|
} & react__default.RefAttributes<HTMLDivElement>>;
|
|
493
493
|
|
|
494
|
-
declare const ChevronUp:
|
|
494
|
+
declare const ChevronUp: react__default.ForwardRefExoticComponent<Omit<react__default.SVGProps<SVGSVGElement>, "ref"> & react__default.RefAttributes<SVGSVGElement>>;
|
|
495
495
|
|
|
496
|
-
declare const Cross:
|
|
496
|
+
declare const Cross: react__default.ForwardRefExoticComponent<Omit<react__default.SVGProps<SVGSVGElement>, "ref"> & react__default.RefAttributes<SVGSVGElement>>;
|
|
497
497
|
|
|
498
|
-
declare const TickIcon:
|
|
498
|
+
declare const TickIcon: react__default.ForwardRefExoticComponent<Omit<react__default.SVGProps<SVGSVGElement>, "ref"> & react__default.RefAttributes<SVGSVGElement>>;
|
|
499
499
|
|
|
500
|
-
declare const Warning:
|
|
500
|
+
declare const Warning: react__default.ForwardRefExoticComponent<Omit<react__default.SVGProps<SVGSVGElement>, "ref"> & react__default.RefAttributes<SVGSVGElement>>;
|
|
501
501
|
|
|
502
|
-
declare const Minus:
|
|
502
|
+
declare const Minus: react__default.ForwardRefExoticComponent<Omit<react__default.SVGProps<SVGSVGElement>, "ref"> & react__default.RefAttributes<SVGSVGElement>>;
|
|
503
503
|
|
|
504
|
-
declare const MoreVertical:
|
|
504
|
+
declare const MoreVertical: react__default.ForwardRefExoticComponent<Omit<react__default.SVGProps<SVGSVGElement>, "ref"> & react__default.RefAttributes<SVGSVGElement>>;
|
|
505
505
|
|
|
506
506
|
interface CommonProps {
|
|
507
507
|
/**
|
|
@@ -643,7 +643,7 @@ declare const Menu: <T extends DefaultMenuItemProps>(props: MenuProps<T>) => rea
|
|
|
643
643
|
declare const DropdownMenuItem: styled_components.IStyledComponent<"web", styled_components_dist_types.Substitute<Omit<DropdownMenu.DropdownMenuItemProps & react.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
644
644
|
ref?: ((instance: HTMLDivElement | null) => void) | react.RefObject<HTMLDivElement> | null | undefined;
|
|
645
645
|
}, {
|
|
646
|
-
isSelected?: boolean | undefined;
|
|
646
|
+
$isSelected?: boolean | undefined;
|
|
647
647
|
disabled?: boolean | undefined;
|
|
648
648
|
}>> & Omit<react.ForwardRefExoticComponent<DropdownMenu.DropdownMenuItemProps & react.RefAttributes<HTMLDivElement>>, keyof react.Component<any, {}, any>>;
|
|
649
649
|
|
|
@@ -793,12 +793,13 @@ interface MultiSelectDropdownProps<T extends DefaultMultiSelectDropdownItem = De
|
|
|
793
793
|
deleteText: string;
|
|
794
794
|
};
|
|
795
795
|
hideChips?: boolean;
|
|
796
|
+
hideSelectedItem?: boolean;
|
|
796
797
|
}
|
|
797
798
|
|
|
798
799
|
/**
|
|
799
800
|
* MultiSelectDropdown displays a list or drop-down box that enables selection of an option or multiple options from an available list of values.
|
|
800
801
|
*/
|
|
801
|
-
declare const MultiSelectDropdown: <T extends DefaultMultiSelectDropdownItem>({ itemIdentifier, label, id, items, onChange, placeholder, readOnly, disabled, isRequired, itemToString, name, filterKey, width, useComboboxProps, useMultipleSelectionProps, emptyItemsText, getCustomMessage, onCustomValueAdd, customValues, inputValue: iV, hideClear, removeSelectedItem: rSelectedItem, defaultSelectedItems, handleInputChange, isErrored, isMenuLoading, errorText, InputProps, itemComponent, isDynamicMenu, locale, maxAllowedLength, minAllowedLength, hideChips, onBackSpace, }: MultiSelectDropdownProps<T>) => react__default.JSX.Element;
|
|
802
|
+
declare const MultiSelectDropdown: <T extends DefaultMultiSelectDropdownItem>({ itemIdentifier, label, id, items, onChange, placeholder, readOnly, disabled, isRequired, itemToString, name, filterKey, width, useComboboxProps, useMultipleSelectionProps, emptyItemsText, getCustomMessage, onCustomValueAdd, customValues, inputValue: iV, hideClear, removeSelectedItem: rSelectedItem, defaultSelectedItems, handleInputChange, isErrored, isMenuLoading, errorText, InputProps, itemComponent, isDynamicMenu, locale, maxAllowedLength, minAllowedLength, hideChips, hideSelectedItem, onBackSpace, }: MultiSelectDropdownProps<T>) => react__default.JSX.Element;
|
|
802
803
|
|
|
803
804
|
type DefaultProps = {
|
|
804
805
|
/**
|
|
@@ -1180,7 +1181,7 @@ type TabsProps<T extends TabsItemProps = TabsItemProps> = {
|
|
|
1180
1181
|
*/
|
|
1181
1182
|
declare const Tabs: ({ options, idAccessor, nameAccessor, onChange, defaultValue, renderTabsContent, value, }: TabsProps) => react__default.JSX.Element;
|
|
1182
1183
|
|
|
1183
|
-
interface TagProps {
|
|
1184
|
+
interface TagProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
1184
1185
|
/**
|
|
1185
1186
|
* State of the tag
|
|
1186
1187
|
*/
|
|
@@ -1219,7 +1220,7 @@ interface TagProps {
|
|
|
1219
1220
|
/**
|
|
1220
1221
|
* Tag component is used to show a tag to the user. It is used to show a label or a category
|
|
1221
1222
|
*/
|
|
1222
|
-
declare const Tag:
|
|
1223
|
+
declare const Tag: react__default.ForwardRefExoticComponent<TagProps & react__default.RefAttributes<HTMLSpanElement>>;
|
|
1223
1224
|
|
|
1224
1225
|
type TypographyWeightType = 'regular' | 'bold' | 'semi-bold';
|
|
1225
1226
|
type TypographyVariantType = 'primary' | 'secondary' | 'heading' | 'heading1' | 'heading2' | 'heading3' | 'heading4' | 'caption';
|
|
@@ -1551,7 +1552,7 @@ declare const Transition: (props: TransitionProps) => react__default.JSX.Element
|
|
|
1551
1552
|
/**
|
|
1552
1553
|
* Typography component is used to show text to the user. It can be used to show a heading, a paragraph, or any other text.
|
|
1553
1554
|
*/
|
|
1554
|
-
declare const Typography:
|
|
1555
|
+
declare const Typography: react__default.ForwardRefExoticComponent<TypographyProps & react__default.RefAttributes<HTMLSpanElement>>;
|
|
1555
1556
|
|
|
1556
1557
|
type FreshworksPalette = {
|
|
1557
1558
|
primary: {
|