freemium-ui 2.0.0-beta.40 → 2.0.0-beta.42
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.cjs.js → index.cjs.js} +527 -519
- package/{dist/index.d.ts → index.d.ts} +25 -4
- package/{dist/index.js → index.js} +528 -520
- package/package.json +7 -65
- package/LICENSE +0 -21
- package/dist/README.md +0 -86
- package/dist/package.json +0 -75
- package/freemium-ui-2.0.0-beta.34.tgz +0 -0
|
@@ -793,13 +793,12 @@ interface MultiSelectDropdownProps<T extends DefaultMultiSelectDropdownItem = De
|
|
|
793
793
|
deleteText: string;
|
|
794
794
|
};
|
|
795
795
|
hideChips?: boolean;
|
|
796
|
-
hideSelectedItem?: boolean;
|
|
797
796
|
}
|
|
798
797
|
|
|
799
798
|
/**
|
|
800
799
|
* MultiSelectDropdown displays a list or drop-down box that enables selection of an option or multiple options from an available list of values.
|
|
801
800
|
*/
|
|
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,
|
|
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;
|
|
803
802
|
|
|
804
803
|
type DefaultProps = {
|
|
805
804
|
/**
|
|
@@ -1341,6 +1340,19 @@ interface ZIndex {
|
|
|
1341
1340
|
snackbar: number;
|
|
1342
1341
|
tooltip: number;
|
|
1343
1342
|
}
|
|
1343
|
+
interface FreemiumUiButtonTheme {
|
|
1344
|
+
backgroundFrom: string;
|
|
1345
|
+
backgroundTo: string;
|
|
1346
|
+
color: string;
|
|
1347
|
+
disabledColor: string;
|
|
1348
|
+
activeBackgroundColor: string;
|
|
1349
|
+
hoverColor: string;
|
|
1350
|
+
borderColor: string;
|
|
1351
|
+
activeBorderColor: string;
|
|
1352
|
+
disabledBorderColor: string;
|
|
1353
|
+
disabledBackgroundFrom: string;
|
|
1354
|
+
disabledBackgroundTo: string;
|
|
1355
|
+
}
|
|
1344
1356
|
interface FreemiumUiTheme {
|
|
1345
1357
|
mode: 'light' | 'dark';
|
|
1346
1358
|
breakpoints: Breakpoints;
|
|
@@ -1349,7 +1361,14 @@ interface FreemiumUiTheme {
|
|
|
1349
1361
|
shadows?: string[] | null;
|
|
1350
1362
|
transitions: Transitions;
|
|
1351
1363
|
zIndex: ZIndex;
|
|
1352
|
-
components:
|
|
1364
|
+
components: {
|
|
1365
|
+
button: {
|
|
1366
|
+
primary: FreemiumUiButtonTheme;
|
|
1367
|
+
secondary: FreemiumUiButtonTheme;
|
|
1368
|
+
danger: FreemiumUiButtonTheme;
|
|
1369
|
+
link: FreemiumUiButtonTheme;
|
|
1370
|
+
};
|
|
1371
|
+
};
|
|
1353
1372
|
}
|
|
1354
1373
|
|
|
1355
1374
|
type ThemeProviderType<Theme> = React.ComponentType<{
|
|
@@ -1652,13 +1671,15 @@ declare const slideRightAndFade: () => styled_components.RuleSet<object>;
|
|
|
1652
1671
|
declare const slideDownAndFade: () => styled_components.RuleSet<object>;
|
|
1653
1672
|
declare const slideLeftAndFade: () => styled_components.RuleSet<object>;
|
|
1654
1673
|
|
|
1674
|
+
declare const hextoRGB: (hex: string, alpha?: number) => string;
|
|
1655
1675
|
declare const light: FreemiumUiTheme;
|
|
1656
1676
|
declare const dark: FreemiumUiTheme;
|
|
1657
1677
|
|
|
1658
1678
|
declare const index_d_dark: typeof dark;
|
|
1679
|
+
declare const index_d_hextoRGB: typeof hextoRGB;
|
|
1659
1680
|
declare const index_d_light: typeof light;
|
|
1660
1681
|
declare namespace index_d {
|
|
1661
|
-
export { index_d_dark as dark, index_d_light as light };
|
|
1682
|
+
export { index_d_dark as dark, index_d_hextoRGB as hextoRGB, index_d_light as light };
|
|
1662
1683
|
}
|
|
1663
1684
|
|
|
1664
1685
|
export { Alert, type AlertProps, type BaseProps, 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, 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, Fade, type FadeProps, type FreemiumUiTheme, FreshLink, type FreshworksPalette, type FuiContextType, IconButton, 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, Radio, RadioGroup, type RadioGroupProps, type RadioItemProps, type RadioProps, Reorder, type ReorderItemType, type ReorderProps, RequiredIndicator, type RowData, Slide, SlideFade, type SlideFadeProps, type SlidePlacement, type SlideProps, 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, Transition, type TransitionProps, type TransitionStyleState, type TransitionStyles, TriggerButtonWrapper, Typography, type TypographyProps, type TypographyVariantType, type TypographyWeightType, type UpdateToastsFunction, Warning, basicHide, basicShow, contentHide, contentShow, slideDownAndFade, slideLeftAndFade, slideRightAndFade, slideUpAndFade, useToasts };
|