@cleen/ui 0.1.51 → 0.1.53
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 +3 -1
- package/dist/index.js +4 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2015,6 +2015,7 @@ interface LabelsProps extends ComponentProps<'div'> {
|
|
|
2015
2015
|
newGroupPlaceholder?: string;
|
|
2016
2016
|
newItemPlaceholder?: string;
|
|
2017
2017
|
saveButtonLabel?: string;
|
|
2018
|
+
filterPlaceholder?: string;
|
|
2018
2019
|
}
|
|
2019
2020
|
interface GroupSelectorThreeDotOption<T = unknown> {
|
|
2020
2021
|
label: string;
|
|
@@ -2048,6 +2049,7 @@ interface GroupSelectorProps<G = unknown, I = unknown> {
|
|
|
2048
2049
|
isGroupSaving?: boolean;
|
|
2049
2050
|
isItemSaving?: boolean;
|
|
2050
2051
|
selectedColor?: string;
|
|
2052
|
+
hasFiltering?: boolean;
|
|
2051
2053
|
className?: string;
|
|
2052
2054
|
classNames?: {
|
|
2053
2055
|
container?: string;
|
|
@@ -2094,7 +2096,7 @@ interface GroupSelectorProps<G = unknown, I = unknown> {
|
|
|
2094
2096
|
* - Use `isLoading`, `isGroupSaving`, `isItemSaving` to show loader states during async operations.
|
|
2095
2097
|
* - Accepts `classNames` and `styles` for granular visual customisation of every element.
|
|
2096
2098
|
*/
|
|
2097
|
-
declare const GroupSelector: <G = unknown, I = unknown>({ position, labels, groups, selectedItemID, groupThreeDotMenuOptions, itemThreeDotMenuOptions, refetchData, onGroupSave, onItemSave, onGroupThreeDotMenuClick, onItemThreeDotMenuClick, onSearchChange, onItemSelect, groupIDKey, groupTitleKey, itemsKey, itemIDKey, itemGroupIDKey, itemTitleKey, itemSubtitleKey, newValueMinLength, isLoading, isGroupSaving, isItemSaving, selectedColor, className, classNames, style, styles, }: GroupSelectorProps<G, I>) => JSX.Element;
|
|
2099
|
+
declare const GroupSelector: <G = unknown, I = unknown>({ position, labels, groups, selectedItemID, groupThreeDotMenuOptions, itemThreeDotMenuOptions, refetchData, onGroupSave, onItemSave, onGroupThreeDotMenuClick, onItemThreeDotMenuClick, onSearchChange, onItemSelect, groupIDKey, groupTitleKey, itemsKey, itemIDKey, itemGroupIDKey, itemTitleKey, itemSubtitleKey, newValueMinLength, isLoading, isGroupSaving, isItemSaving, selectedColor, hasFiltering, className, classNames, style, styles, }: GroupSelectorProps<G, I>) => JSX.Element;
|
|
2098
2100
|
|
|
2099
2101
|
declare const colorList: readonly ["blue", "lighter-blue", "primary", "indigo", "green", "red", "purple", "pink", "orange", "gray"];
|
|
2100
2102
|
type Color = (typeof colorList)[number];
|