@royaloperahouse/harmonic 0.13.1-e → 0.13.1-f
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/PromoWithTags/PromoWithTags.style.d.ts +1 -271
- package/dist/components/molecules/PromoWithTitle/PromoWithTitle.style.d.ts +1 -271
- package/dist/components/molecules/SkipToMain/SkipToMain.d.ts +0 -19
- package/dist/components/molecules/SkipToMain/SkipToMain.style.d.ts +1 -1
- package/dist/components/organisms/Carousels/Carousel/Carousel.style.d.ts +1 -271
- package/dist/harmonic.cjs.development.js +3 -21
- 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 +3 -21
- package/dist/harmonic.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/harmonic.esm.js
CHANGED
|
@@ -11146,7 +11146,7 @@ var AnchorBar = function AnchorBar(_ref) {
|
|
|
11146
11146
|
};
|
|
11147
11147
|
|
|
11148
11148
|
var _templateObject2$Z, _templateObject3$N;
|
|
11149
|
-
var FocusableTab = /*#__PURE__*/styled(Tab)(_templateObject2$Z || (_templateObject2$Z = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n
|
|
11149
|
+
var FocusableTab = /*#__PURE__*/styled(Tab)(_templateObject2$Z || (_templateObject2$Z = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n ", "\n &:not(:active):not(:focus) {\n position: absolute;\n width: 1px;\n height: 1px;\n margin: 0;\n padding: 0;\n overflow: hidden;\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n border: 0;\n white-space: nowrap;\n user-select: none;\n }\n\n @media ", " {\n position: absolute;\n width: 1px;\n height: 1px;\n margin: 0;\n padding: 0;\n overflow: hidden;\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n border: 0;\n white-space: nowrap;\n user-select: none;\n }\n"])), function (_ref) {
|
|
11150
11150
|
var $hide = _ref.$hide;
|
|
11151
11151
|
return $hide && "\n display: none;\n ";
|
|
11152
11152
|
}, devices.mobileAndTablet);
|
|
@@ -11197,28 +11197,10 @@ var SkipToMain = function SkipToMain(_ref) {
|
|
|
11197
11197
|
withIcon: "none",
|
|
11198
11198
|
title: "Skip to main content",
|
|
11199
11199
|
onClick: clickHandler,
|
|
11200
|
-
"$hide": !targetElement
|
|
11200
|
+
"$hide": !targetElement,
|
|
11201
|
+
ariaLabel: "Skip to main content, in-page link"
|
|
11201
11202
|
}));
|
|
11202
11203
|
};
|
|
11203
|
-
/** TODO:
|
|
11204
|
-
* - make robust with SSR - might be solved with moving logic to FE. ✅
|
|
11205
|
-
* - hiding thing when element not found - might be solved with copying Tab element. ✅
|
|
11206
|
-
* - fix columns ✅
|
|
11207
|
-
* - fix top-bottom margin ✅
|
|
11208
|
-
* - remove !important ✅
|
|
11209
|
-
* - add types file ✅
|
|
11210
|
-
* - mobile solution ✅
|
|
11211
|
-
* - implement in Nav ✅
|
|
11212
|
-
* - consider: Make other Tab props available? ✅
|
|
11213
|
-
* - is Classname needed as a prop after all? ✅
|
|
11214
|
-
* - J's comment about id vs element ✅
|
|
11215
|
-
* - documentation ✅
|
|
11216
|
-
* - SkiptoMain storybook ✅
|
|
11217
|
-
* - Navigation storybook ✅
|
|
11218
|
-
* - Fix desktop margin
|
|
11219
|
-
* - Check if mobile works
|
|
11220
|
-
* - Tests
|
|
11221
|
-
*/
|
|
11222
11204
|
|
|
11223
11205
|
var dataRoh = 'imgLogo';
|
|
11224
11206
|
var title = 'Royal Ballet and Opera';
|