@apicurio/common-ui-components 2.0.4 → 2.0.5
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/auth/AuthConfigContext.d.ts +0 -1
- package/dist/common/ObjectDropdown.d.ts +1 -1
- package/dist/filtering/ChipFilterCriteria.d.ts +6 -0
- package/dist/filtering/ChipFilterInput.d.ts +12 -0
- package/dist/filtering/ChipFilterType.d.ts +5 -0
- package/dist/filtering/FilterChips.d.ts +13 -0
- package/dist/filtering/index.d.ts +4 -0
- package/dist/main.d.ts +1 -0
- package/dist/main.js +1219 -919
- package/dist/modals/BasicAuthModal.d.ts +1 -1
- package/dist/table/ChipFilter/ChipFilter.d.ts +1 -1
- package/dist/table/ChipFilter/components/FilterSearch.d.ts +1 -1
- package/dist/table/ResponsiveTable.d.ts +5 -5
- package/package.json +23 -23
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FunctionComponent } from 'react';
|
|
2
|
+
import { ChipFilterType } from './ChipFilterType';
|
|
3
|
+
import { ChipFilterCriteria } from './ChipFilterCriteria';
|
|
4
|
+
|
|
5
|
+
export type ChipFilterInputProps = {
|
|
6
|
+
filterTypes: ChipFilterType[];
|
|
7
|
+
onAddCriteria: (criteria: ChipFilterCriteria) => void;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* Models a filter control with chips.
|
|
11
|
+
*/
|
|
12
|
+
export declare const ChipFilterInput: FunctionComponent<ChipFilterInputProps>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FunctionComponent } from 'react';
|
|
2
|
+
import { ChipFilterCriteria } from './ChipFilterCriteria';
|
|
3
|
+
|
|
4
|
+
export type FilterChipsProps = {
|
|
5
|
+
categoryName?: string;
|
|
6
|
+
criteria: ChipFilterCriteria[];
|
|
7
|
+
onClearAllCriteria: () => void;
|
|
8
|
+
onRemoveCriteria: (criteria: ChipFilterCriteria) => void;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Models a collection of chips representing the current filter state (multiple filter criteria).
|
|
12
|
+
*/
|
|
13
|
+
export declare const FilterChips: FunctionComponent<FilterChipsProps>;
|