@apolitical/component-library 5.0.4-jc.0 → 5.0.5-beta.0
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 +1 -1
- package/general/buttons/button/button.d.ts +0 -1
- package/index.js +29 -29
- package/index.mjs +1290 -1293
- package/package.json +1 -1
- package/sections/full-width-section/full-width-section.d.ts +0 -2
- package/style.css +1 -1
- package/styles/variables/colors/_colors.scss +0 -2
- package/styles/variables/colors/theme/_base.scss +1 -1
- package/styles/variables/colors/theme/_layout.scss +1 -1
package/cards/cards.types.d.ts
CHANGED
|
@@ -75,7 +75,7 @@ export interface MockCardType extends CardType {
|
|
|
75
75
|
cardType?: string;
|
|
76
76
|
}
|
|
77
77
|
export type BuildCardDataType = (card: CardType | MockCardType, isLoggedIn?: boolean) => Promise<any>;
|
|
78
|
-
export type BuildMemberDataType = (communitySlug: string, userId?: string) => Promise<unknown>;
|
|
78
|
+
export type BuildMemberDataType = (communitySlug: string, userId?: string | false) => Promise<unknown>;
|
|
79
79
|
export interface CardProps {
|
|
80
80
|
/** A unique key for the card, used as a dependency in `useEffect` */
|
|
81
81
|
id?: string;
|