@ludo.ninja/components 2.3.89 → 2.3.90

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.
@@ -0,0 +1,6 @@
1
+ import { FC } from 'react';
2
+ type Props = {
3
+ className?: string;
4
+ };
5
+ declare const EducatorBadge: FC<Props>;
6
+ export default EducatorBadge;
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const jsx_runtime_1 = require("react/jsx-runtime");
7
+ const index_1 = require("../../../system/index");
8
+ const ScreenWidth_1 = require("../../../styles/ScreenWidth");
9
+ const _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
10
+ const styled_components_1 = __importDefault(require("styled-components"));
11
+ const Wrapper = styled_components_1.default.div `
12
+ display: flex;
13
+ padding: 3px 11px;
14
+ justify-content: center;
15
+ align-items: center;
16
+
17
+ border-radius: 16px;
18
+ border: 2px solid transparent;
19
+ color: #5748bc;
20
+ background: linear-gradient(to right, #f3f4f9, #f3f4f9),
21
+ linear-gradient(160deg, #e84eff 0%, #8946ff 100%);
22
+ background-clip: padding-box, border-box;
23
+ background-origin: padding-box, border-box;
24
+
25
+ ${ScreenWidth_1.mediaQuery.minWidthFourK} {
26
+ padding: ${(0, _4k_1.adaptiveValueCalc)(3)} ${(0, _4k_1.adaptiveValueCalc)(11)};
27
+ border-radius: ${(0, _4k_1.adaptiveValueCalc)(16)};
28
+ border: ${(0, _4k_1.adaptiveValueCalc)(2)} solid transparent;
29
+ }
30
+ `;
31
+ const EducatorBadge = ({ className }) => {
32
+ return ((0, jsx_runtime_1.jsx)(Wrapper, { className: className, children: (0, jsx_runtime_1.jsx)(index_1.H6, { children: "Educator" }) }));
33
+ };
34
+ exports.default = EducatorBadge;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ludo.ninja/components",
3
- "version": "2.3.89",
3
+ "version": "2.3.90",
4
4
  "private": false,
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",