@apicurio/common-ui-components 2.0.5 → 2.0.7
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/ApplicationAuth.d.ts +0 -1
- package/dist/auth/IfAuth.d.ts +0 -1
- package/dist/common/DateTime.d.ts +0 -1
- package/dist/common/FromNow.d.ts +0 -1
- package/dist/common/If.d.ts +0 -1
- package/dist/common/IfNotEmpty.d.ts +0 -1
- package/dist/common/IfNotLoading.d.ts +0 -1
- package/dist/common/ListWithToolbar.d.ts +0 -1
- package/dist/common/ObjectDropdown.d.ts +0 -1
- package/dist/common/ObjectSelect.d.ts +0 -1
- package/dist/common/ToggleIcon.d.ts +0 -1
- package/dist/common/UrlUpload.d.ts +0 -1
- package/dist/filtering/ChipFilterCriteria.d.ts +0 -1
- package/dist/filtering/ChipFilterInput.d.ts +0 -1
- package/dist/filtering/FilterChips.d.ts +0 -1
- package/dist/main.js +623 -776
- package/dist/modals/AppAboutModal.d.ts +0 -1
- package/dist/modals/BasicAuthModal.d.ts +0 -1
- package/dist/modals/PleaseWaitModal.d.ts +0 -1
- package/dist/modals/ProgressModal.d.ts +0 -1
- package/dist/table/Pagination.d.ts +0 -1
- package/dist/table/ResponsiveTable.d.ts +0 -1
- package/dist/table/TableSkeleton.d.ts +0 -1
- package/dist/table/index.d.ts +0 -1
- package/package.json +13 -13
- package/dist/table/ChipFilter/ChipFilter.d.ts +0 -10
- package/dist/table/ChipFilter/components/FilterCheckbox.d.ts +0 -5
- package/dist/table/ChipFilter/components/FilterSearch.d.ts +0 -6
- package/dist/table/ChipFilter/components/FilterSelector.d.ts +0 -6
- package/dist/table/ChipFilter/components/index.d.ts +0 -3
- package/dist/table/ChipFilter/index.d.ts +0 -5
- package/dist/table/ChipFilter/types.d.ts +0 -20
package/dist/table/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apicurio/common-ui-components",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "2.0.
|
|
4
|
+
"version": "2.0.7",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/main.js",
|
|
7
7
|
"types": "dist/main.d.ts",
|
|
@@ -29,28 +29,28 @@
|
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@apicurio/eslint-config": "0.3.0",
|
|
31
31
|
"@patternfly/patternfly": "5.4.2",
|
|
32
|
-
"@patternfly/react-core": "5.4.
|
|
33
|
-
"@patternfly/react-icons": "5.4.
|
|
34
|
-
"@patternfly/react-table": "5.4.
|
|
32
|
+
"@patternfly/react-core": "5.4.8",
|
|
33
|
+
"@patternfly/react-icons": "5.4.2",
|
|
34
|
+
"@patternfly/react-table": "5.4.9",
|
|
35
35
|
"@types/luxon": "3.4.2",
|
|
36
|
-
"@types/node": "20.
|
|
36
|
+
"@types/node": "20.17.6",
|
|
37
37
|
"@types/react": "18.3.12",
|
|
38
38
|
"@types/react-dom": "18.3.1",
|
|
39
|
-
"@typescript-eslint/eslint-plugin": "
|
|
40
|
-
"@typescript-eslint/parser": "
|
|
39
|
+
"@typescript-eslint/eslint-plugin": "8.14.0",
|
|
40
|
+
"@typescript-eslint/parser": "8.14.0",
|
|
41
41
|
"@vitejs/plugin-react": "4.3.3",
|
|
42
42
|
"eslint": "8.57.1",
|
|
43
|
-
"eslint-plugin-react-hooks": "
|
|
44
|
-
"eslint-plugin-react-refresh": "0.4.
|
|
43
|
+
"eslint-plugin-react-hooks": "5.0.0",
|
|
44
|
+
"eslint-plugin-react-refresh": "0.4.14",
|
|
45
45
|
"luxon": "3.5.0",
|
|
46
46
|
"oidc-client-ts": "3.1.0",
|
|
47
|
-
"rimraf": "
|
|
47
|
+
"rimraf": "6.0.1",
|
|
48
48
|
"typescript": "5.6.3",
|
|
49
|
-
"vite": "5.4.
|
|
50
|
-
"vite-plugin-dts": "3.
|
|
49
|
+
"vite": "5.4.11",
|
|
50
|
+
"vite-plugin-dts": "4.3.0",
|
|
51
51
|
"react": "18.3.1",
|
|
52
52
|
"react-dom": "18.3.1",
|
|
53
|
-
"react-router-dom": "6.
|
|
53
|
+
"react-router-dom": "6.28.0",
|
|
54
54
|
"use-resize-observer": "9.1.0"
|
|
55
55
|
}
|
|
56
56
|
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ToolbarToggleGroupProps } from '@patternfly/react-core';
|
|
2
|
-
import { FilterType } from './types';
|
|
3
|
-
|
|
4
|
-
export type ChipFilterProps = {
|
|
5
|
-
filters: {
|
|
6
|
-
[label: string]: FilterType;
|
|
7
|
-
};
|
|
8
|
-
breakpoint?: ToolbarToggleGroupProps["breakpoint"];
|
|
9
|
-
};
|
|
10
|
-
export declare function ChipFilter({ filters, breakpoint }: ChipFilterProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export type SearchType = {
|
|
2
|
-
type: "search";
|
|
3
|
-
validate: (value: string) => boolean;
|
|
4
|
-
errorMessage: string;
|
|
5
|
-
chips: string[];
|
|
6
|
-
onSearch: (value: string) => void;
|
|
7
|
-
onRemoveChip: (value: string) => void;
|
|
8
|
-
onRemoveGroup: () => void;
|
|
9
|
-
};
|
|
10
|
-
export type CheckboxType<T extends string | number> = {
|
|
11
|
-
type: "checkbox";
|
|
12
|
-
chips: string[];
|
|
13
|
-
options: {
|
|
14
|
-
[key in T]: string;
|
|
15
|
-
};
|
|
16
|
-
onToggle: (value: T) => void;
|
|
17
|
-
onRemoveChip: (value: T) => void;
|
|
18
|
-
onRemoveGroup: () => void;
|
|
19
|
-
};
|
|
20
|
-
export type FilterType = SearchType | CheckboxType<any>;
|