@20minutes/hela 2.17.4 → 2.17.5
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/dist/index.es.js +552 -551
- package/dist/index.umd.cjs +1 -1
- package/dist/scss/abstracts/variables/_token-variables.scss +1 -1
- package/dist/src/components/molecules/Card/Templates/CardNotification/CardNotification.d.ts +3 -2
- package/dist/src/components/molecules/Card/Templates/CardNotification/CardNotification.stories.d.ts +3 -1
- package/dist/src/components/molecules/Elections/SearchBanner/SearchBanner.d.ts +1 -0
- package/dist/src/components/molecules/Elections/SearchBanner/SearchBanner.stories.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { ButtonProps } from '../../../..';
|
|
2
|
+
import { ButtonProps, LinkProps } from '../../../..';
|
|
3
3
|
import { CardType } from '../../../../../types';
|
|
4
|
-
export interface CardNotificationProps extends CardType {
|
|
4
|
+
export interface CardNotificationProps extends Omit<CardType, 'link'> {
|
|
5
5
|
timeText?: string;
|
|
6
6
|
hasDot?: boolean;
|
|
7
7
|
closeButton?: ButtonProps;
|
|
8
|
+
linkButton?: LinkProps;
|
|
8
9
|
}
|
|
9
10
|
export declare const CardNotification: React.FC<CardNotificationProps>;
|
|
@@ -624,6 +624,7 @@ export default meta;
|
|
|
624
624
|
type Story = StoryObj<typeof meta>;
|
|
625
625
|
export declare const Mobile: Story;
|
|
626
626
|
export declare const MobileIsExpandable: Story;
|
|
627
|
+
export declare const MobileIsExpandableAndSmall: Story;
|
|
627
628
|
export declare const MobileHasTitle: Story;
|
|
628
629
|
export declare const Desktop: Story;
|
|
629
630
|
export declare const DesktopWithBreadcrumb: Story;
|