@royaloperahouse/chord 1.7.0-d-chord-development → 1.7.1-a-chord-development
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/CHANGELOG.md +5 -2
- package/dist/components/molecules/ContentSummary/ContentSummary.d.ts +3 -0
- package/dist/components/molecules/ContentSummary/ContentSummary.style.d.ts +1 -0
- package/dist/components/molecules/ContentSummary/index.d.ts +2 -0
- package/dist/components/organisms/ContentSummarySection/ContentSummarySection.d.ts +3 -0
- package/dist/components/organisms/ContentSummarySection/ContentSummarySection.style.d.ts +3 -0
- package/dist/components/organisms/ContentSummarySection/index.d.ts +2 -0
- package/dist/types/editorial.d.ts +31 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
# CHANGELOG
|
|
2
2
|
|
|
3
|
+
## [1.7.1]
|
|
4
|
+
- Add imageAltText to Card component
|
|
5
|
+
|
|
3
6
|
## [1.7.0-b] DEVELOPMENT
|
|
4
7
|
- SearchBar: Disable input and fix overflow
|
|
5
8
|
|
|
6
|
-
## [1.
|
|
7
|
-
- Add
|
|
9
|
+
## [1.7.0]
|
|
10
|
+
- Add Content Summary Section and individual Content Summaries
|
|
8
11
|
|
|
9
12
|
## [1.6.3]
|
|
10
13
|
- Add exports for zIndexes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ContentSummaryWrapper: import("styled-components").StyledComponent<"article", any, {}, never>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export declare const ContentSummarySectionGrid: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const ContentSummarySectionGridItem: import("styled-components").StyledComponent<"div", any, import("../../../types/types").IGridItemProps, never>;
|
|
3
|
+
export declare const ContentSummarySectionWrapper: import("styled-components").StyledComponent<"section", any, {}, never>;
|
|
@@ -233,3 +233,34 @@ export interface IHighlightsHeaderProps {
|
|
|
233
233
|
*/
|
|
234
234
|
images?: Array<ImgHTMLAttributes<HTMLImageElement>>;
|
|
235
235
|
}
|
|
236
|
+
declare type IContentItemLink = Omit<EditorialLink, 'buttonType' | 'bgColor' | 'iconName' | 'iconDirection'>;
|
|
237
|
+
export interface IContentItem {
|
|
238
|
+
/**
|
|
239
|
+
* Title for content summary
|
|
240
|
+
*/
|
|
241
|
+
headline?: string;
|
|
242
|
+
/**
|
|
243
|
+
* Date field sits between headline and bodyText
|
|
244
|
+
*/
|
|
245
|
+
date?: string;
|
|
246
|
+
/**
|
|
247
|
+
* Main text area for content summary item
|
|
248
|
+
*/
|
|
249
|
+
bodyText?: string;
|
|
250
|
+
/**
|
|
251
|
+
* link object with text for cta, can also have <a> tag attributes href, target etc...
|
|
252
|
+
*/
|
|
253
|
+
link?: IContentItemLink;
|
|
254
|
+
}
|
|
255
|
+
export declare type IContentSummaryProps = IContentItem;
|
|
256
|
+
export interface IContentSummarySectionProps {
|
|
257
|
+
/**
|
|
258
|
+
* Title for the content summary section
|
|
259
|
+
*/
|
|
260
|
+
contentSummarySectionTitle?: string;
|
|
261
|
+
/**
|
|
262
|
+
* Array of content summary items that sit beneath the title
|
|
263
|
+
*/
|
|
264
|
+
contentSummarySectionItems?: Array<IContentItem>;
|
|
265
|
+
}
|
|
266
|
+
export {};
|