@manamerge/mana-atomic-ui 0.0.49 → 0.0.50

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.
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.manamergeTheme = exports["default"] = void 0;
7
7
  var _breakpoints = _interopRequireDefault(require("./manamerge/breakpoints.js"));
8
8
  var _text = _interopRequireDefault(require("./manamerge/theme/text.js"));
9
+ var _link = _interopRequireDefault(require("./manamerge/theme/link.js"));
9
10
  var _heading = _interopRequireDefault(require("./manamerge/theme/heading.js"));
10
11
  var _button = _interopRequireDefault(require("./manamerge/theme/button.js"));
11
12
  var _checkbox = _interopRequireDefault(require("./manamerge/theme/checkbox.js"));
@@ -92,7 +93,7 @@ var tinyMobileUp = _breakpoints["default"].tinyMobileUp,
92
93
  superLargeDesktopUp = _breakpoints["default"].superLargeDesktopUp;
93
94
  var customEmojis = [_heart["default"], _fire["default"], _mana["default"], _smile["default"], _manapride["default"], _clap["default"], _plusone["default"]];
94
95
  var manamergeTheme = exports.manamergeTheme = {
95
- playerId: '2IRWf71ag',
96
+ link: _link["default"],
96
97
  colors: {
97
98
  light: '#212324',
98
99
  white: '#ffffff',
@@ -501,9 +502,6 @@ var manamergeTheme = exports.manamergeTheme = {
501
502
  background: {
502
503
  "default": '#f4f4f4'
503
504
  },
504
- link: {
505
- fontWeight: 'normal'
506
- },
507
505
  category: {
508
506
  textLight: '#000',
509
507
  textDark: '#000',
@@ -0,0 +1,84 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+ var Link = {
8
+ "Link light": {
9
+ fontSize: "13px",
10
+ lineHeight: "18px",
11
+ fontWeight: 300,
12
+ color: "#00f",
13
+ hover: {
14
+ color: "#f00"
15
+ },
16
+ focus: {
17
+ outline: "#red"
18
+ },
19
+ disabled: {
20
+ color: "gray"
21
+ }
22
+ },
23
+ "Link regular": {
24
+ fontSize: "15px",
25
+ lineHeight: "25px",
26
+ fontWeight: 400,
27
+ color: "#00f",
28
+ hover: {
29
+ color: "#f00"
30
+ },
31
+ focus: {
32
+ outline: "#red"
33
+ },
34
+ disabled: {
35
+ color: "gray"
36
+ }
37
+ },
38
+ "Link medium": {
39
+ fontSize: "17px",
40
+ lineHeight: "28px",
41
+ fontWeight: "500",
42
+ color: "#00f",
43
+ hover: {
44
+ color: "#f00"
45
+ },
46
+ focus: {
47
+ outline: "#red"
48
+ },
49
+ disabled: {
50
+ color: "gray"
51
+ }
52
+ },
53
+ "Link bold": {
54
+ fontSize: "17px",
55
+ lineHeight: "28px",
56
+ fontWeight: 700,
57
+ color: "#00f",
58
+ hover: {
59
+ color: "#f00"
60
+ },
61
+ focus: {
62
+ outline: "#red"
63
+ },
64
+ disabled: {
65
+ color: "gray"
66
+ }
67
+ },
68
+ "Link heavy": {
69
+ fontSize: "17px",
70
+ lineHeight: "28px",
71
+ fontWeight: 900,
72
+ color: "#00f",
73
+ hover: {
74
+ color: "#f00"
75
+ },
76
+ focus: {
77
+ outline: "#red"
78
+ },
79
+ disabled: {
80
+ color: "gray"
81
+ }
82
+ }
83
+ };
84
+ var _default = exports["default"] = Link;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { LinkTypes } from "./Link";
3
+ export declare const StyledLink: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, LinkTypes>> & string;
@@ -0,0 +1,14 @@
1
+ import React, { AnchorHTMLAttributes, ElementType } from "react";
2
+ export interface LinkTypes extends AnchorHTMLAttributes<HTMLAnchorElement> {
3
+ to?: string;
4
+ color?: string;
5
+ hoverColor?: string;
6
+ underline?: boolean;
7
+ hoverUnderline?: boolean;
8
+ fontSize?: string;
9
+ lineHeight?: string;
10
+ fontWeight?: string;
11
+ as?: ElementType;
12
+ className: string;
13
+ }
14
+ export declare const Link: React.FC<LinkTypes>;
@@ -0,0 +1,11 @@
1
+ import { Meta, StoryObj } from "@storybook/react";
2
+ import { LinkTypes } from "./Link";
3
+ declare const meta: Meta<LinkTypes>;
4
+ export default meta;
5
+ type Story = StoryObj<LinkTypes>;
6
+ export declare const Combos: Story;
7
+ export declare const Light: Story;
8
+ export declare const Regular: Story;
9
+ export declare const Medium: Story;
10
+ export declare const Bold: Story;
11
+ export declare const Heavy: Story;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@manamerge/mana-atomic-ui",
3
- "version": "0.0.49",
3
+ "version": "0.0.50",
4
4
  "description": "Mana Merge design system",
5
5
  "scripts": {
6
6
  "build": "rollup -c",
@@ -27,12 +27,11 @@
27
27
  "@storybook/react-webpack5": "^8.4.5",
28
28
  "@storybook/test": "^8.4.5",
29
29
  "@types/react": "^18.0.27",
30
- "@types/sanitize-html": "^2.13.0",
31
30
  "@types/styled-components": "^5.1.34",
32
31
  "babel-plugin-styled-components": "^2.1.4",
33
- "marked": "^15.0.2",
34
32
  "react": "^18.2.0",
35
33
  "react-dom": "^18.2.0",
34
+ "react-router-dom": "^7.0.1",
36
35
  "rollup": "^3.14.0",
37
36
  "rollup-plugin-copy": "^3.5.0",
38
37
  "rollup-plugin-dts": "^5.1.1",
@@ -54,8 +53,6 @@
54
53
  "dependencies": {
55
54
  "@storybook/addon-themes": "^8.4.5",
56
55
  "classnames": "^2.5.1",
57
- "styled-components": "^6.1.11",
58
- "sanitize-html": "^2.13.1"
59
-
56
+ "styled-components": "^6.1.11"
60
57
  }
61
58
  }