@ndla/primitives 0.0.21 → 0.0.22
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/panda.buildinfo.json +1 -1
- package/dist/styles.css +3 -3
- package/es/FramedContent.js +1 -0
- package/es/Hero.js +1 -1
- package/lib/FramedContent.js +1 -0
- package/lib/Hero.js +1 -1
- package/package.json +2 -2
|
@@ -327,7 +327,7 @@
|
|
|
327
327
|
"backgroundColor]___[value:surface.brand.2.subtle",
|
|
328
328
|
"height]___[value:350px",
|
|
329
329
|
"zIndex]___[value:hide",
|
|
330
|
-
"clipPath]___[value:polygon(0 0, 100% 0, 100%
|
|
330
|
+
"clipPath]___[value:polygon(0 0, 100% 0, 100% calc(100% - 5vw), 0 100%)",
|
|
331
331
|
"position]___[value:absolute",
|
|
332
332
|
"background]___[value:primary",
|
|
333
333
|
"background]___[value:blue.800",
|
package/dist/styles.css
CHANGED
|
@@ -552,9 +552,9 @@
|
|
|
552
552
|
z-index: var(--z-index-hide);
|
|
553
553
|
}
|
|
554
554
|
|
|
555
|
-
.cp-path_polygon\(0_0\,_100\%_0\,_100\%
|
|
556
|
-
clip-path: polygon(0 0, 100% 0, 100%
|
|
557
|
-
-webkit-clip-path: polygon(0 0, 100% 0, 100%
|
|
555
|
+
.cp-path_polygon\(0_0\,_100\%_0\,_100\%_calc\(100\%_-_5vw\)\,_0_100\%\) {
|
|
556
|
+
clip-path: polygon(0 0, 100% 0, 100% calc(100% - 5vw), 0 100%);
|
|
557
|
+
-webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - 5vw), 0 100%);
|
|
558
558
|
}
|
|
559
559
|
|
|
560
560
|
.pos_absolute {
|
package/es/FramedContent.js
CHANGED
package/es/Hero.js
CHANGED
package/lib/FramedContent.js
CHANGED
|
@@ -53,6 +53,7 @@ const FramedContent = exports.FramedContent = /*#__PURE__*/(0, _react.forwardRef
|
|
|
53
53
|
...props
|
|
54
54
|
} = _ref;
|
|
55
55
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(StyledFramedContent, {
|
|
56
|
+
"data-embed-type": "framed-content",
|
|
56
57
|
css: _css.css.raw(framedContentRecipe.raw({
|
|
57
58
|
colorTheme
|
|
58
59
|
}), cssProp),
|
package/lib/Hero.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ndla/primitives",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.22",
|
|
4
4
|
"description": "Primitive components for NDLA.",
|
|
5
5
|
"license": "GPL-3.0",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"publishConfig": {
|
|
44
44
|
"access": "public"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "cbe8d6b48a44da4dd99d66bd5cda517622da2859"
|
|
47
47
|
}
|