@apolitical/component-library 3.0.2-ac.1 → 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.
- package/cards/cards.types.d.ts +0 -2
- package/form/components/form/components/fields/checkbox/checkbox.d.ts +1 -1
- package/form/components/form/components/fields/input/input.d.ts +1 -1
- package/form/components/form/form.types.d.ts +1 -1
- package/form/components/password-rules/password-rules.d.ts +1 -1
- package/form/types/index.d.ts +0 -1
- package/general/index.d.ts +0 -1
- package/index.js +18 -18
- package/index.mjs +1959 -2084
- package/layout/page-layout/page-layout.d.ts +0 -2
- package/package.json +1 -1
- package/style.css +1 -1
- package/styles/base/_lists.scss +5 -0
- package/styles/base/_titles.scss +14 -0
- package/styles/variables/colors/theme/_base.scss +2 -0
- package/styles/variables/colors/theme/_general.scss +0 -5
- package/form/types/password-form/helper.d.ts +0 -1
- package/form/types/password-form/index.d.ts +0 -2
- package/form/types/password-form/password-form.d.ts +0 -21
- package/general/navigation-dots/index.d.ts +0 -1
- package/general/navigation-dots/navigation-dots.d.ts +0 -9
package/cards/cards.types.d.ts
CHANGED
|
@@ -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 |
|
|
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 |
|
|
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 |
|
|
137
|
+
[key: string]: string | boolean | (() => void) | React.RefObject<any>;
|
|
138
138
|
};
|
|
139
139
|
/** Whether the field is required */
|
|
140
140
|
required?: boolean;
|
package/form/types/index.d.ts
CHANGED
package/general/index.d.ts
CHANGED