@apolitical/component-library 3.0.2-ac.2 → 3.0.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.
@@ -92,8 +92,6 @@ export interface CarouselTitleProps {
92
92
  size?: 'medium' | 'large';
93
93
  /** The `href` to point the 'view all' link to; it won't show unless this is defined */
94
94
  link?: string;
95
- /** Whether the title should be hidden */
96
- hidden?: boolean;
97
95
  }
98
96
  export interface BaseCarouselProps {
99
97
  /** A function to parse and build the card data - this is especially needed in carousels to hydrate the cards */
@@ -27,7 +27,7 @@ export declare const Checkbox: ({ className, disabled, element, functions: allFu
27
27
  options?: import("../../../form.types").IFieldOption[] | undefined;
28
28
  placeholder?: string | undefined;
29
29
  props?: {
30
- [key: string]: string | boolean | object | React.RefObject<any> | (() => void);
30
+ [key: string]: string | boolean | React.RefObject<any> | (() => void);
31
31
  } | undefined;
32
32
  required?: boolean | undefined;
33
33
  validation?: import("../../../form.types").IFieldValidation[] | undefined;
@@ -35,7 +35,7 @@ export declare const Input: ({ className, element, id, inputRef: ref, functions,
35
35
  } | undefined;
36
36
  options?: import("../../../form.types").IFieldOption[] | undefined;
37
37
  props?: {
38
- [key: string]: string | boolean | object | React.RefObject<any> | (() => void);
38
+ [key: string]: string | boolean | React.RefObject<any> | (() => void);
39
39
  } | undefined;
40
40
  required?: boolean | undefined;
41
41
  shownValue?: InputValues | undefined;
@@ -134,7 +134,7 @@ export interface IField {
134
134
  placeholder?: string;
135
135
  /** Additional props to be passed to the field */
136
136
  props?: {
137
- [key: string]: string | boolean | object | (() => void) | React.RefObject<any>;
137
+ [key: string]: string | boolean | (() => void) | React.RefObject<any>;
138
138
  };
139
139
  /** Whether the field is required */
140
140
  required?: boolean;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- export type MatchingRules = {
2
+ type MatchingRules = {
3
3
  isMoreThanEightCharacters: boolean;
4
4
  includesNumberAndSymbol: boolean;
5
5
  includesLowerAndUppercase: boolean;
@@ -1,5 +1,4 @@
1
1
  export * from './contact-form';
2
2
  export * from './invite-form';
3
- export * from './password-form';
4
3
  export * from './search-form';
5
4
  export * from './signup-form';
@@ -2,7 +2,6 @@ export * from './buttons';
2
2
  export * from './divider';
3
3
  export * from './image-container';
4
4
  export * from './link';
5
- export * from './progress-tracker';
6
5
  export * from './responsive-image';
7
6
  export * from './return-to-nav-button';
8
7
  export * from './tooltip';