@20minutes/hela 0.1.56 → 0.1.58
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/components/atoms/Divider/Divider.d.ts +4 -3
- package/dist/components/molecules/Card/CardSmall/CardSmall.d.ts +2 -0
- package/dist/components/molecules/PartnerCards/PartnerCards.d.ts +1 -1
- package/dist/components/molecules/RubricCards/RubricCards.d.ts +2 -1
- package/dist/index.es.js +1300 -1289
- package/dist/index.umd.js +48 -48
- package/dist/scss/abstracts/variables/_token-variables.scss +1 -1
- package/dist/scss/abstracts/variables/_variables.scss +1 -1
- package/dist/style.css +1 -1
- package/package.json +5 -5
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import { FlexProps } from '../../../components';
|
|
3
|
-
export interface
|
|
2
|
+
export interface DividerOptions {
|
|
4
3
|
text?: string;
|
|
4
|
+
thickness?: 'thin' | 'thick';
|
|
5
5
|
}
|
|
6
|
-
export
|
|
6
|
+
export type DividerProps = DividerOptions & FlexProps;
|
|
7
|
+
export declare const Divider: import("../../..").ComponentWithAs<"div", DividerProps>;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { HeadingProps } from '../../../../components';
|
|
2
3
|
import { CardType, SpacingSystemProps } from '../../../../types';
|
|
3
4
|
export interface CardSmallProps extends CardType, SpacingSystemProps {
|
|
5
|
+
headingProps?: Pick<HeadingProps, 'color' | 'weight'>;
|
|
4
6
|
}
|
|
5
7
|
export declare const CardSmall: React.FC<CardSmallProps>;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { CardSmallProps } from '../../../components';
|
|
3
|
-
import { LayoutType } from '../../../types';
|
|
3
|
+
import { LayoutType, RubricColorType } from '../../../types';
|
|
4
4
|
export interface RubricCardsProps {
|
|
5
5
|
articles: CardSmallProps[];
|
|
6
6
|
label: string;
|
|
7
|
+
rubricColor?: RubricColorType;
|
|
7
8
|
layout?: LayoutType;
|
|
8
9
|
}
|
|
9
10
|
export declare const RubricCards: React.FC<RubricCardsProps>;
|