@goodhood-web/ui 4.13.0-development.9 → 4.14.0-development.1
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/index.js +36 -36
- package/index.mjs +356 -357
- package/lib/Molecules/Card/Card.d.ts +1 -1
- package/lib/Molecules/Card/Card.types.d.ts +5 -2
- package/package.json +1 -1
- package/style.css +1 -1
- package/styles/_design-tokens-landing.scss +26 -2
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { CardProps } from './Card.types';
|
|
2
|
-
declare const Card: ({ allowedElement, ariaLabel, as: Tag, borderRadius, children, className, responsive, role, withoutPadding, }: CardProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const Card: ({ allowedElement, ariaLabel, as: Tag, borderRadius, children, className, responsive, role, shadow, withoutPadding, }: CardProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default Card;
|
|
@@ -11,11 +11,14 @@ export interface CardBaseProps {
|
|
|
11
11
|
withoutPadding?: boolean;
|
|
12
12
|
}
|
|
13
13
|
export type ResponsiveProps = {
|
|
14
|
-
borderRadius
|
|
14
|
+
borderRadius?: never;
|
|
15
15
|
responsive?: boolean;
|
|
16
|
+
shadow?: CardShadow;
|
|
16
17
|
} & CardBaseProps;
|
|
17
18
|
export type NonResponsiveProps = {
|
|
18
19
|
borderRadius?: boolean;
|
|
19
|
-
responsive?:
|
|
20
|
+
responsive?: never;
|
|
21
|
+
shadow?: never;
|
|
20
22
|
} & CardBaseProps;
|
|
21
23
|
export type CardProps = ResponsiveProps | NonResponsiveProps;
|
|
24
|
+
export type CardShadow = 'low-small' | 'middle-small';
|