@royaloperahouse/harmonic 0.13.1-b → 0.13.1-d
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/molecules/SkipToMain/SkipToMain.style.d.ts +1 -1
- package/dist/harmonic.cjs.development.css +6 -7
- package/dist/harmonic.cjs.development.js +23 -10
- package/dist/harmonic.cjs.development.js.map +1 -1
- package/dist/harmonic.cjs.production.min.js +1 -1
- package/dist/harmonic.cjs.production.min.js.map +1 -1
- package/dist/harmonic.esm.js +26 -13
- package/dist/harmonic.esm.js.map +1 -1
- package/dist/types/types.d.ts +4 -0
- package/package.json +1 -1
|
@@ -2,6 +2,6 @@ interface FocusableTabProps {
|
|
|
2
2
|
$hide?: boolean;
|
|
3
3
|
}
|
|
4
4
|
export declare const SkiptoMainContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
|
-
export declare const FocusableTab: import("styled-components").StyledComponent<({ title, titleLink, onClick, onFocus, onReset, selected, iconName, iconDirection, withIcon, withTextInMobile, trimText, className, role, ariaLabel, tabLinkId, color,
|
|
5
|
+
export declare const FocusableTab: import("styled-components").StyledComponent<({ title, titleLink, onClick, onFocus, onReset, selected, iconName, iconDirection, withIcon, withTextInMobile, trimText, className, role, ariaLabel, tabLinkId, color, }: import("../../../types/types").ITabProps) => import("react").JSX.Element, any, FocusableTabProps, never>;
|
|
6
6
|
export declare const HiddenBlock: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
7
7
|
export {};
|
|
@@ -152,7 +152,6 @@
|
|
|
152
152
|
color: var(--color-primary);
|
|
153
153
|
}
|
|
154
154
|
|
|
155
|
-
|
|
156
155
|
.typography-module_display--black__8hmsx,
|
|
157
156
|
.typography-module_header--black__M3I14,
|
|
158
157
|
.typography-module_subtitle--black__IQRSo,
|
|
@@ -301,6 +300,7 @@
|
|
|
301
300
|
letter-spacing: 0.3px;
|
|
302
301
|
}
|
|
303
302
|
}
|
|
303
|
+
|
|
304
304
|
@font-face {
|
|
305
305
|
font-family: 'GreyLLTT';
|
|
306
306
|
src: url('https://static.roh.org.uk/fonts/harmonic/GreyLLTT-Regular.woff2') format('woff2');
|
|
@@ -327,8 +327,7 @@
|
|
|
327
327
|
|
|
328
328
|
@font-face {
|
|
329
329
|
font-family: 'VictorSerif';
|
|
330
|
-
src: url('https://static.roh.org.uk/fonts/harmonic/VictorSerif-Medium.woff2')
|
|
331
|
-
format('woff2');
|
|
330
|
+
src: url('https://static.roh.org.uk/fonts/harmonic/VictorSerif-Medium.woff2') format('woff2');
|
|
332
331
|
font-weight: 500;
|
|
333
332
|
font-style: normal;
|
|
334
333
|
font-display: swap;
|
|
@@ -336,8 +335,7 @@
|
|
|
336
335
|
|
|
337
336
|
@font-face {
|
|
338
337
|
font-family: 'VictorSerif';
|
|
339
|
-
src: url('https://static.roh.org.uk/fonts/harmonic/VictorSerif-MediumItalic.woff2')
|
|
340
|
-
format('woff2');
|
|
338
|
+
src: url('https://static.roh.org.uk/fonts/harmonic/VictorSerif-MediumItalic.woff2') format('woff2');
|
|
341
339
|
font-weight: 500;
|
|
342
340
|
font-style: italic;
|
|
343
341
|
font-display: swap;
|
|
@@ -1219,9 +1217,10 @@
|
|
|
1219
1217
|
--information-panel-button-hover-color: var(--color-rbo-red-hovered);
|
|
1220
1218
|
--information-panel-button-pressed-color: var(--color-rbo-red-pressed);
|
|
1221
1219
|
|
|
1222
|
-
--heading-promo-bg-color: var(--color-base-white);
|
|
1220
|
+
--heading-promo-bg-color: var(--color-base-white);
|
|
1223
1221
|
--page-header-bg-color: var(--color-primary-black);
|
|
1224
|
-
}
|
|
1222
|
+
}
|
|
1223
|
+
|
|
1225
1224
|
.schools-theme-module_schoolsTheme__CWHba {
|
|
1226
1225
|
/* Schools theme overrides */
|
|
1227
1226
|
--base-color-primary: #c8102e;
|
|
@@ -11776,22 +11776,35 @@ var BodyContent = function BodyContent(_ref) {
|
|
|
11776
11776
|
columnStartDevice = _ref$columnStartDevic === void 0 ? 2 : _ref$columnStartDevic,
|
|
11777
11777
|
_ref$columnSpanDevice = _ref.columnSpanDevice,
|
|
11778
11778
|
columnSpanDevice = _ref$columnSpanDevice === void 0 ? 12 : _ref$columnSpanDevice,
|
|
11779
|
-
className = _ref.className
|
|
11780
|
-
|
|
11781
|
-
|
|
11782
|
-
|
|
11783
|
-
|
|
11784
|
-
|
|
11785
|
-
|
|
11786
|
-
columnSpanDevice: columnSpanDevice
|
|
11787
|
-
}, /*#__PURE__*/React__default.createElement(TextContainer$2, {
|
|
11779
|
+
className = _ref.className,
|
|
11780
|
+
_ref$renderGrid = _ref.renderGrid,
|
|
11781
|
+
renderGrid = _ref$renderGrid === void 0 ? true : _ref$renderGrid,
|
|
11782
|
+
_ref$renderGridItem = _ref.renderGridItem,
|
|
11783
|
+
renderGridItem = _ref$renderGridItem === void 0 ? true : _ref$renderGridItem;
|
|
11784
|
+
var textContainerClassName = !renderGrid && !renderGridItem ? className : undefined;
|
|
11785
|
+
var content = /*#__PURE__*/React__default.createElement(TextContainer$2, {
|
|
11788
11786
|
tag: "div",
|
|
11789
11787
|
size: "large",
|
|
11790
11788
|
"data-testid": "text-container",
|
|
11789
|
+
className: textContainerClassName,
|
|
11791
11790
|
dangerouslySetInnerHTML: {
|
|
11792
11791
|
__html: addTypographyClasses(text)
|
|
11793
11792
|
}
|
|
11794
|
-
})
|
|
11793
|
+
});
|
|
11794
|
+
var gridItemOrContent = renderGridItem ? (/*#__PURE__*/React__default.createElement(GridItem, {
|
|
11795
|
+
columnStartDesktop: columnStartDesktop,
|
|
11796
|
+
columnSpanDesktop: columnSpanDesktop,
|
|
11797
|
+
columnStartDevice: columnStartDevice,
|
|
11798
|
+
columnSpanDevice: columnSpanDevice,
|
|
11799
|
+
className: !renderGrid ? className : undefined
|
|
11800
|
+
}, content)) : content;
|
|
11801
|
+
if (!renderGrid) {
|
|
11802
|
+
if (renderGridItem) return gridItemOrContent;
|
|
11803
|
+
return content;
|
|
11804
|
+
}
|
|
11805
|
+
return /*#__PURE__*/React__default.createElement(Grid, {
|
|
11806
|
+
className: className
|
|
11807
|
+
}, gridItemOrContent);
|
|
11795
11808
|
};
|
|
11796
11809
|
|
|
11797
11810
|
var _templateObject$1j;
|