@entur/typography 2.0.4 → 2.1.1
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/beta/cjs/components/Blockquote.cjs +1 -1
- package/dist/beta/cjs/components/Heading.cjs +1 -1
- package/dist/beta/cjs/components/Link.cjs +1 -1
- package/dist/beta/cjs/components/ListItem.cjs +1 -1
- package/dist/beta/cjs/components/NumberedList.cjs +1 -1
- package/dist/beta/cjs/components/Text.cjs +1 -1
- package/dist/beta/cjs/components/UnorderedList.cjs +1 -1
- package/dist/beta/cjs/index.cjs +1 -0
- package/dist/beta/cjs/index.cjs.map +1 -1
- package/dist/beta/esm/components/Blockquote.mjs +1 -1
- package/dist/beta/esm/components/Heading.mjs +1 -1
- package/dist/beta/esm/components/Link.mjs +1 -1
- package/dist/beta/esm/components/ListItem.mjs +1 -1
- package/dist/beta/esm/components/NumberedList.mjs +1 -1
- package/dist/beta/esm/components/Text.mjs +1 -1
- package/dist/beta/esm/components/UnorderedList.mjs +1 -1
- package/dist/beta/esm/index.mjs +1 -0
- package/dist/beta/esm/index.mjs.map +1 -1
- package/dist/beta/styles/index.css +1055 -0
- package/dist/styles.css +181 -198
- package/package.json +7 -6
- package/dist/beta/styles/components/heading.css +0 -595
- package/dist/beta/styles/components/text.css +0 -1267
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
|
|
3
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
4
4
|
const classNames = require("classnames");
|
|
5
5
|
;/* empty css */
|
|
6
6
|
const Blockquote = ({ className, ...rest }) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
|
|
3
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
4
4
|
const classNames = require("classnames");
|
|
5
5
|
const utils = require("../utils/utils.cjs");
|
|
6
6
|
;/* empty css */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
|
|
3
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
4
4
|
const classNames = require("classnames");
|
|
5
5
|
const icons = require("@entur/icons");
|
|
6
6
|
const utils = require("../utils/utils.cjs");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
|
|
3
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
4
4
|
const classNames = require("classnames");
|
|
5
5
|
const utils = require("../utils/utils.cjs");
|
|
6
6
|
;/* empty css */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
|
|
3
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
4
4
|
const classNames = require("classnames");
|
|
5
5
|
const utils = require("../utils/utils.cjs");
|
|
6
6
|
;/* empty css */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
|
|
3
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
4
4
|
const classNames = require("classnames");
|
|
5
5
|
const utils = require("../utils/utils.cjs");
|
|
6
6
|
;/* empty css */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
|
|
3
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
4
4
|
const classNames = require("classnames");
|
|
5
5
|
const utils = require("../utils/utils.cjs");
|
|
6
6
|
;/* empty css */
|
package/dist/beta/cjs/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import classNames from "classnames";
|
|
3
3
|
import { getHeadingVariantFromSemanticType, getSpacingClasses } from "../utils/utils.mjs";
|
|
4
|
-
|
|
4
|
+
/* empty css */
|
|
5
5
|
const Heading = ({
|
|
6
6
|
children,
|
|
7
7
|
as,
|
|
@@ -2,7 +2,7 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import classNames from "classnames";
|
|
3
3
|
import { ExternalIcon } from "@entur/icons";
|
|
4
4
|
import { getSpacingClasses } from "../utils/utils.mjs";
|
|
5
|
-
|
|
5
|
+
/* empty css */
|
|
6
6
|
const Link = ({
|
|
7
7
|
external = false,
|
|
8
8
|
ariaLabelExternalIcon = "(ekstern lenke)",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import classNames from "classnames";
|
|
3
3
|
import { getSpacingClasses } from "../utils/utils.mjs";
|
|
4
|
-
|
|
4
|
+
/* empty css */
|
|
5
5
|
const ListItem = ({
|
|
6
6
|
children,
|
|
7
7
|
className,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import classNames from "classnames";
|
|
3
3
|
import { getSpacingClasses } from "../utils/utils.mjs";
|
|
4
|
-
|
|
4
|
+
/* empty css */
|
|
5
5
|
const NumberedList = ({
|
|
6
6
|
className,
|
|
7
7
|
type = "1",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import classNames from "classnames";
|
|
3
3
|
import { getSemanticTypeFromTextVariant, getSpacingClasses } from "../utils/utils.mjs";
|
|
4
|
-
|
|
4
|
+
/* empty css */
|
|
5
5
|
const TypographyText = ({
|
|
6
6
|
children,
|
|
7
7
|
as,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import classNames from "classnames";
|
|
3
3
|
import { getSpacingClasses } from "../utils/utils.mjs";
|
|
4
|
-
|
|
4
|
+
/* empty css */
|
|
5
5
|
const UnorderedList = ({
|
|
6
6
|
className,
|
|
7
7
|
spacing,
|
package/dist/beta/esm/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|