@apolitical/component-library 5.3.2-ac.4 → 5.3.2
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/discussion/components/add-post/add-post.d.ts +0 -3
- package/discussion/components/form/form.type.d.ts +0 -5
- package/discussion/components/post/post.d.ts +1 -6
- package/discussion/feeds/activities-feed/activities-feed.d.ts +0 -5
- package/discussion/feeds/activities-feed/cache/hooks/list/list.hook.d.ts +2 -5
- package/discussion/feeds/activities-feed/mocks/activities-feed.mock.d.ts +0 -4
- package/discussion/sections/activity-section/activity-section.d.ts +0 -4
- package/discussion/sections/activity-section/mocks/activity-section.mock.d.ts +0 -1
- package/discussion/shared/helpers/activity.helper.d.ts +1 -3
- package/discussion/shared/interfaces/activity.interface.d.ts +0 -1
- package/discussion/shared/interfaces/discussion.interface.d.ts +0 -2
- package/discussion/shared/interfaces/index.d.ts +0 -1
- package/form/components/form/components/fields/checkbox/checkbox.d.ts +2 -2
- package/form/components/form/components/fields/input/input.d.ts +0 -5
- package/form/components/form/components/fields/multiple-options/multiple-options.d.ts +1 -1
- package/form/components/form/form.types.d.ts +0 -8
- package/helpers/intl.d.ts +0 -2
- package/index.js +60 -60
- package/index.mjs +6551 -6672
- package/navigation/filters/filters.d.ts +1 -5
- package/package.json +1 -1
- package/style.css +1 -1
- package/styles/base/_accessibility.scss +0 -1
- package/styles/base/_text.scss +1 -1
- package/styles/variables/colors/theme/_navigation.scss +4 -4
- package/discussion/shared/interfaces/community.category.interface.d.ts +0 -4
|
@@ -7,8 +7,6 @@ export interface FilterType {
|
|
|
7
7
|
interface Props {
|
|
8
8
|
/** The filter details */
|
|
9
9
|
options: FilterType[];
|
|
10
|
-
/** The default filter */
|
|
11
|
-
defaultOptions?: FilterType[];
|
|
12
10
|
/** A filter for 'all' */
|
|
13
11
|
allOption?: boolean | {
|
|
14
12
|
text?: string;
|
|
@@ -16,8 +14,6 @@ interface Props {
|
|
|
16
14
|
};
|
|
17
15
|
/** Whether the filter allows multiple selections */
|
|
18
16
|
allowMultiple?: boolean;
|
|
19
|
-
/** Whether to prevent no option being selected */
|
|
20
|
-
preventNoOptionSelected?: boolean;
|
|
21
17
|
/** The callback function for when the filter changes */
|
|
22
18
|
onChange?: (options: {
|
|
23
19
|
current: string[];
|
|
@@ -28,5 +24,5 @@ interface Props {
|
|
|
28
24
|
/** The language to use */
|
|
29
25
|
locale?: string;
|
|
30
26
|
}
|
|
31
|
-
declare const Filters: ({ options,
|
|
27
|
+
declare const Filters: ({ options, allOption, allowMultiple, onChange, className, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
32
28
|
export default Filters;
|